[Xorp-cvs] XORP cvs commit: xorp/fea xorp/fea/data_plane/io xorp/xrl/interfaces
Bruce Simpson
bms at icir.org
Wed Apr 23 08:22:41 PDT 2008
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: bms at chum.icir.org 2008-04-23 15:22:41 UTC
XORP CVS repository
Modified files:
fea io_tcpudp.hh io_tcpudp_manager.cc
io_tcpudp_manager.hh xrl_fea_target.cc
xrl_fea_target.hh
fea/data_plane/io io_ip_socket.cc io_tcpudp_dummy.cc
io_tcpudp_dummy.hh io_tcpudp_socket.cc
io_tcpudp_socket.hh
xrl/interfaces socket4.xif socket4_xif.cc socket4_xif.hh
socket6.xif socket6_xif.hh
Log message:
Import the FEA support code for UDP/IPv4 broadcast sockets, as they
are required for operational deployment of OLSRv1 and RIPv1.
The following XRLs are added to socket4/0.1:
* udp_open_bind_broadcast
Create a UDP broadcast socket, performing any platform-specific
initialization required.
NOTE: There is currently no backend regression test for this XRL.
* udp_enable_recv
Enable reception on a UDP socket if not already enabled.
* set_socket_option_txt
Set a socket option which has a textual value. Currently the
only option accepted by this XRL is the "bindtodevice" option.
It is Linux specific and MUST NOT be used by user routing processes.
The following XRLs are changed in socket4/0.1:
* set_socket_option now accepts the following additional options:
"onesbcast" Change broadcasts to all-ones. BSD.
"receive_broadcast" Windows specific.
"reuseport" Enable SO_REUSEPORT.
"send_broadcast" Enable SO_BROADCAST.
"tos" Set the IPv4 type-of-service.
"ttl" Set the Ipv4 unicast TTL.
The addition of "tos" resolves bug 716.
* Certain FEA internal functions have been refactored to use the libcomm
APIs added to support these XRLs.
* The OLSRv1 code has been refactored to use udp_open_bind_broadcast, it
will come in a later merge.
Bugzilla URL: http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=716
Obtained from: XORP/OLSR
Sponsored by: CenGen, Inc.
Revision Changes Path
1.20 +25 -50; commitid: 11264480f542a41a7; xorp/fea/data_plane/io/io_ip_socket.cc
1.6 +43 -1; commitid: 11264480f542a41a7; xorp/fea/data_plane/io/io_tcpudp_dummy.cc
1.7 +41 -4; commitid: 11264480f542a41a7; xorp/fea/data_plane/io/io_tcpudp_dummy.hh
1.24 +324 -5; commitid: 11264480f542a41a7; xorp/fea/data_plane/io/io_tcpudp_socket.cc
1.11 +54 -3; commitid: 11264480f542a41a7; xorp/fea/data_plane/io/io_tcpudp_socket.hh
1.9 +50 -2; commitid: 11264480f542a41a7; xorp/fea/io_tcpudp.hh
1.9 +182 -1; commitid: 11264480f542a41a7; xorp/fea/io_tcpudp_manager.cc
1.10 +116 -5; commitid: 11264480f542a41a7; xorp/fea/io_tcpudp_manager.hh
1.40 +76 -1; commitid: 11264480f542a41a7; xorp/fea/xrl_fea_target.cc
1.27 +88 -3; commitid: 11264480f542a41a7; xorp/fea/xrl_fea_target.hh
1.14 +85 -4; commitid: 11264480f542a41a7; xorp/xrl/interfaces/socket4.xif
1.23 +123 -1; commitid: 11264480f542a41a7; xorp/xrl/interfaces/socket4_xif.cc
1.22 +116 -5; commitid: 11264480f542a41a7; xorp/xrl/interfaces/socket4_xif.hh
1.14 +3 -2; commitid: 11264480f542a41a7; xorp/xrl/interfaces/socket6.xif
1.22 +3 -3; commitid: 11264480f542a41a7; xorp/xrl/interfaces/socket6_xif.hh
More information about the Xorp-cvs
mailing list