[Xorp-cvs] XORP cvs commit: xorp/libxorp
Pavlin Radoslavov
pavlin at icir.org
Fri Aug 4 15:50:27 PDT 2006
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2006-08-04 22:50:27 UTC
XORP CVS repository
Modified files:
libxorp ipv4.cc ipv4.hh ipvx.cc ipvx.hh test_ipv4.cc
test_ipvx.cc
Log message:
* Add new IPv4-specific methods to test whether an IPv4 address
belongs to Class A, Class B or Class C.
* Add related methods and constants to calculate the Class A, B, C
base address and prefix length.
* Add/extend the relevant test cases to test_ipv4.cc and test_ipvx.cc
* Modify the IPv4::is_unicast() implementation to return true
for all addresses inside 0.0.0.0/8 (except 0.0.0.0).
According to RFC 3330 "Special-Use IPv4 Addresses", Section 2, those
addresses "may be used to refer to specified hosts on this network",
hence they are unicast addresses.
Revision Changes Path
1.24 +29 -2; commitid: ee8344d3ccc47ea6; xorp/libxorp/ipv4.cc
1.30 +101 -9; commitid: ee8344d3ccc47ea6; xorp/libxorp/ipv4.hh
1.23 +61 -1; commitid: ee8344d3ccc47ea6; xorp/libxorp/ipvx.cc
1.24 +128 -2; commitid: ee8344d3ccc47ea6; xorp/libxorp/ipvx.hh
1.23 +276 -49; commitid: ee8344d3ccc47ea6; xorp/libxorp/test_ipv4.cc
1.23 +311 -37; commitid: ee8344d3ccc47ea6; xorp/libxorp/test_ipvx.cc
More information about the Xorp-cvs
mailing list