[Xorp-cvs] XORP cvs commit: xorp/fea xorp/fea/data_plane/io xorp/fea/data_plane/managers xorp/rip xorp/rip/tools xorp/xrl/interfaces xorp/xrl/targets

Pavlin Radoslavov pavlin at icir.org
Wed Aug 8 17:47:10 PDT 2007


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2007-08-09 00:47:10 UTC

XORP CVS repository


Modified files:
	fea           Jamfile Makefile.am Makefile.in 
	              fea_data_plane_manager.cc fea_data_plane_manager.hh 
	              fea_node.cc fea_node.hh ifconfig.cc ifconfig.hh 
	              ifconfig_transaction.hh io_ip_manager.cc 
	              io_ip_manager.hh io_link_manager.cc 
	              io_link_manager.hh test_xrl_sockets4_tcp.cc 
	              test_xrl_sockets4_tcp.sh test_xrl_sockets4_udp.cc 
	              test_xrl_sockets4_udp.sh xrl_fea_node.cc 
	              xrl_fea_node.hh xrl_fea_target.cc xrl_fea_target.hh 
	              xrl_io_ip_manager.cc xrl_io_ip_manager.hh 
	              xrl_io_link_manager.cc xrl_io_link_manager.hh 
	              xrl_shell_funcs.sh 
	fea/data_plane/io Jamfile Makefile.am Makefile.in 
	fea/data_plane/managers fea_data_plane_manager_bsd.cc 
	                        fea_data_plane_manager_bsd.hh 
	                        fea_data_plane_manager_click.cc 
	                        fea_data_plane_manager_click.hh 
	                        fea_data_plane_manager_dummy.cc 
	                        fea_data_plane_manager_dummy.hh 
	                        fea_data_plane_manager_linux.cc 
	                        fea_data_plane_manager_linux.hh 
	                        fea_data_plane_manager_windows.cc 
	                        fea_data_plane_manager_windows.hh 
	rip           Jamfile Makefile.am Makefile.in xrl_port_io.cc 
	              xrl_port_io.hh xrl_target_common.hh 
	              xrl_target_rip.cc xrl_target_rip.hh 
	              xrl_target_ripng.cc xrl_target_ripng.hh 
	rip/tools     xrl_rip_shell_funcs.sh xrl_ripng_shell_funcs.sh 
	xrl/interfaces Jamfile Makefile.am Makefile.in fea_ifmgr.xif 
	               fea_ifmgr_xif.cc fea_ifmgr_xif.hh socket4.xif 
	               socket4_user.xif socket4_user_xif.cc 
	               socket4_user_xif.hh socket4_xif.cc socket4_xif.hh 
	               socket6.xif socket6_user.xif socket6_user_xif.cc 
	               socket6_user_xif.hh socket6_xif.cc socket6_xif.hh 
	xrl/targets   Jamfile Makefile.am Makefile.in fea.tgt fea.xrls 
	              fea_base.cc fea_base.hh rip.xrls rip_base.cc 
	              rip_base.hh ripng.xrls ripng_base.cc ripng_base.hh 
	              test_socket4.xrls test_socket4_base.cc 
	              test_socket4_base.hh test_socket6.xrls 
	              test_socket6_base.cc test_socket6_base.hh 

Added files:
	fea           io_tcpudp.cc io_tcpudp.hh io_tcpudp_manager.cc 
	              io_tcpudp_manager.hh xrl_io_tcpudp_manager.cc 
	              xrl_io_tcpudp_manager.hh 
	fea/data_plane/io io_tcpudp_dummy.cc io_tcpudp_dummy.hh 
	                  io_tcpudp_socket.cc io_tcpudp_socket.hh 

Removed files:
	fea           addr_table.cc addr_table.hh ifconfig_addr_table.cc 
	              ifconfig_addr_table.hh xrl_socket_cmds.cc 
	              xrl_socket_cmds.hh xrl_socket_server.cc 
	              xrl_socket_server.hh 
	xrl/interfaces socket4_locator.xif socket4_locator_xif.cc 
	               socket4_locator_xif.hh socket6_locator.xif 
	               socket6_locator_xif.cc socket6_locator_xif.hh 
	xrl/targets   socket_server.tgt socket_server.xrls 
	              socket_server_base.cc socket_server_base.hh 

Log message:
	Reimplement the I/O TCP/UDP mechanism so now it is plugin-based.
	For the time being there are only UNIX-socket plugin and a dummy
	plugin (the latter being just a blackhole).
	
	Some changes worth mentioning:
	
	* The original XrlSocketServer is gone, because it didn't fit in
	  the plugin architecture: it was mixing XRL stuff with
	  system-specific socket stuff (actually mostly libcomm stuff).
	
	* Added new ifmgr/0.1/configure_all_interfaces_from_system XRL which
	  explicitly configures (inside XORP) the interface information
	  by using the system information about all interfaces found on the
	  system. For the time being this XRL is needed/used only by the
	  test_xrl_sockets4_{tcp,udp}.sh test scripts.
	
	* Removed socket4/0.1/get_socket_option and socket6/0.1/get_socket_option
	  XRLs, because they are note used and for the time being they are
	  not really needed.
	
	* Renamed socket4_user/0.1/close_event and socket6_user/0.1/close_event
	  XRLs to disconnect_event.
	  The new "disconnect_event" XRL applies only to TCP sockets, and is
	  called when the peer has closed the connection.
	  Previously, the "close_event" could be called for any reason
	  (including deleting a local IP address) which made it difficult
	  for the receiver to take the appropriate action.
	
	  Note that after receiving a "disconnect_event", the socket itself
	  is not closed, and it is up to the receiving side to explicitly
	  close the socket (by calling the socket{4,6}/0.1/close XRL).
	
	  Note that deleting a local IP address that might affect the operation
	  of a process is a problem that needs to be dealt in a generic way.
	  It affects not only the TCP/UDP communications, but protocols
	  that use raw IP as well (OSPF, PIM-SM, IGMP/MLD).
	
	* The socket4_locator.xif and socket6_locator.xif XRL interfaces are
	  removed, because they are not needed anymore.
	
	* Minor cleanup in the I/O Link I/O IP Raw mechanisms.
	
	* Minor cleanup inside fea/ifconfig_transaction.hh:
	  removed methods path_valid() which are unused.
	
	* BGP is not modified, so it still does its own TCP.

Revision  Changes                                   Path
1.20      +7 -19;  commitid: 179b946ba5c217ea6;     xorp/fea/Jamfile
1.101     +10 -20;  commitid: 179b946ba5c217ea6;    xorp/fea/Makefile.am
1.120     +44 -64;  commitid: 179b946ba5c217ea6;    xorp/fea/Makefile.in
1.7       +0 -68                                    xorp/fea/addr_table.cc (dead)
1.7       +0 -108                                   xorp/fea/addr_table.hh (dead)
1.4       +6 -2;  commitid: 179b946ba5c217ea6;      xorp/fea/data_plane/io/Jamfile
1.4       +10 -6;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/io/Makefile.am
1.5       +10 -5;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/io/Makefile.in
1.1       +329 -0                                   xorp/fea/data_plane/io/io_tcpudp_dummy.cc (new)
1.1       +318 -0                                   xorp/fea/data_plane/io/io_tcpudp_dummy.hh (new)
1.1       +1211 -0                                  xorp/fea/data_plane/io/io_tcpudp_socket.cc (new)
1.1       +357 -0                                   xorp/fea/data_plane/io/io_tcpudp_socket.hh (new)
1.4       +18 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_bsd.cc
1.4       +12 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_bsd.hh
1.4       +16 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_click.cc
1.5       +16 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_click.hh
1.5       +13 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_dummy.cc
1.5       +12 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_dummy.hh
1.4       +18 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_linux.cc
1.4       +12 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_linux.hh
1.5       +19 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_windows.cc
1.5       +12 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/data_plane/managers/fea_data_plane_manager_windows.hh
1.5       +48 -7;  commitid: 179b946ba5c217ea6;     xorp/fea/fea_data_plane_manager.cc
1.5       +29 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/fea_data_plane_manager.hh
1.11      +13 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/fea_node.cc
1.10      +11 -1;  commitid: 179b946ba5c217ea6;     xorp/fea/fea_node.hh
1.69      +1 -2;  commitid: 179b946ba5c217ea6;      xorp/fea/ifconfig.cc
1.69      +1 -13;  commitid: 179b946ba5c217ea6;     xorp/fea/ifconfig.hh
1.15      +0 -254                                   xorp/fea/ifconfig_addr_table.cc (dead)
1.15      +0 -123                                   xorp/fea/ifconfig_addr_table.hh (dead)
1.10      +34 -19;  commitid: 179b946ba5c217ea6;    xorp/fea/ifconfig_transaction.hh
1.8       +13 -12;  commitid: 179b946ba5c217ea6;    xorp/fea/io_ip_manager.cc
1.9       +39 -31;  commitid: 179b946ba5c217ea6;    xorp/fea/io_ip_manager.hh
1.4       +12 -12;  commitid: 179b946ba5c217ea6;    xorp/fea/io_link_manager.cc
1.3       +36 -29;  commitid: 179b946ba5c217ea6;    xorp/fea/io_link_manager.hh
1.1       +106 -0                                   xorp/fea/io_tcpudp.cc (new)
1.1       +520 -0                                   xorp/fea/io_tcpudp.hh (new)
1.1       +1735 -0                                  xorp/fea/io_tcpudp_manager.cc (new)
1.1       +1134 -0                                  xorp/fea/io_tcpudp_manager.hh (new)
1.10      +40 -297;  commitid: 179b946ba5c217ea6;   xorp/fea/test_xrl_sockets4_tcp.cc
1.4       +31 -0;  commitid: 179b946ba5c217ea6;     xorp/fea/test_xrl_sockets4_tcp.sh
1.19      +25 -205;  commitid: 179b946ba5c217ea6;   xorp/fea/test_xrl_sockets4_udp.cc
1.6       +31 -0;  commitid: 179b946ba5c217ea6;     xorp/fea/test_xrl_sockets4_udp.sh
1.13      +4 -15;  commitid: 179b946ba5c217ea6;     xorp/fea/xrl_fea_node.cc
1.9       +3 -3;  commitid: 179b946ba5c217ea6;      xorp/fea/xrl_fea_node.hh
1.24      +886 -32;  commitid: 179b946ba5c217ea6;   xorp/fea/xrl_fea_target.cc
1.15      +793 -18;  commitid: 179b946ba5c217ea6;   xorp/fea/xrl_fea_target.hh
1.3       +13 -12;  commitid: 179b946ba5c217ea6;    xorp/fea/xrl_io_ip_manager.cc
1.3       +8 -8;  commitid: 179b946ba5c217ea6;      xorp/fea/xrl_io_ip_manager.hh
1.2       +9 -8;  commitid: 179b946ba5c217ea6;      xorp/fea/xrl_io_link_manager.cc
1.2       +6 -6;  commitid: 179b946ba5c217ea6;      xorp/fea/xrl_io_link_manager.hh
1.1       +299 -0                                   xorp/fea/xrl_io_tcpudp_manager.cc (new)
1.1       +124 -0                                   xorp/fea/xrl_io_tcpudp_manager.hh (new)
1.19      +6 -0;  commitid: 179b946ba5c217ea6;      xorp/fea/xrl_shell_funcs.sh
1.14      +0 -244                                   xorp/fea/xrl_socket_cmds.cc (dead)
1.13      +0 -193                                   xorp/fea/xrl_socket_cmds.hh (dead)
1.40      +0 -2376                                  xorp/fea/xrl_socket_server.cc (dead)
1.21      +0 -437                                   xorp/fea/xrl_socket_server.hh (dead)
1.3       +1 -3;  commitid: 179b946ba5c217ea6;      xorp/rip/Jamfile
1.39      +1 -3;  commitid: 179b946ba5c217ea6;      xorp/rip/Makefile.am
1.61      +0 -4;  commitid: 179b946ba5c217ea6;      xorp/rip/Makefile.in
1.15      +4 -4;  commitid: 179b946ba5c217ea6;      xorp/rip/tools/xrl_rip_shell_funcs.sh
1.13      +4 -4;  commitid: 179b946ba5c217ea6;      xorp/rip/tools/xrl_ripng_shell_funcs.sh
1.23      +9 -30;  commitid: 179b946ba5c217ea6;     xorp/rip/xrl_port_io.cc
1.11      +2 -3;  commitid: 179b946ba5c217ea6;      xorp/rip/xrl_port_io.hh
1.30      +6 -9;  commitid: 179b946ba5c217ea6;      xorp/rip/xrl_target_common.hh
1.38      +2 -3;  commitid: 179b946ba5c217ea6;      xorp/rip/xrl_target_rip.cc
1.25      +2 -3;  commitid: 179b946ba5c217ea6;      xorp/rip/xrl_target_rip.hh
1.31      +2 -3;  commitid: 179b946ba5c217ea6;      xorp/rip/xrl_target_ripng.cc
1.24      +2 -3;  commitid: 179b946ba5c217ea6;      xorp/rip/xrl_target_ripng.hh
1.3       +1 -5;  commitid: 179b946ba5c217ea6;      xorp/xrl/interfaces/Jamfile
1.36      +1 -9;  commitid: 179b946ba5c217ea6;      xorp/xrl/interfaces/Makefile.am
1.58      +4 -29;  commitid: 179b946ba5c217ea6;     xorp/xrl/interfaces/Makefile.in
1.21      +9 -1;  commitid: 179b946ba5c217ea6;      xorp/xrl/interfaces/fea_ifmgr.xif
1.35      +33 -1;  commitid: 179b946ba5c217ea6;     xorp/xrl/interfaces/fea_ifmgr_xif.cc
1.33      +24 -1;  commitid: 179b946ba5c217ea6;     xorp/xrl/interfaces/fea_ifmgr_xif.hh
1.10      +36 -59;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket4.xif
1.3       +0 -17                                    xorp/xrl/interfaces/socket4_locator.xif (dead)
1.12      +0 -52                                    xorp/xrl/interfaces/socket4_locator_xif.cc (dead)
1.11      +0 -58                                    xorp/xrl/interfaces/socket4_locator_xif.hh (dead)
1.5       +21 -14;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket4_user.xif
1.13      +8 -10;  commitid: 179b946ba5c217ea6;     xorp/xrl/interfaces/socket4_user_xif.cc
1.12      +26 -14;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket4_user_xif.hh
1.18      +37 -81;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket4_xif.cc
1.17      +42 -69;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket4_xif.hh
1.9       +35 -58;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket6.xif
1.3       +0 -17                                    xorp/xrl/interfaces/socket6_locator.xif (dead)
1.11      +0 -52                                    xorp/xrl/interfaces/socket6_locator_xif.cc (dead)
1.9       +0 -58                                    xorp/xrl/interfaces/socket6_locator_xif.hh (dead)
1.4       +21 -14;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket6_user.xif
1.11      +8 -10;  commitid: 179b946ba5c217ea6;     xorp/xrl/interfaces/socket6_user_xif.cc
1.9       +26 -14;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket6_user_xif.hh
1.16      +37 -81;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket6_xif.cc
1.15      +41 -68;  commitid: 179b946ba5c217ea6;    xorp/xrl/interfaces/socket6_xif.hh
1.4       +1 -4;  commitid: 179b946ba5c217ea6;      xorp/xrl/targets/Jamfile
1.68      +4 -14;  commitid: 179b946ba5c217ea6;     xorp/xrl/targets/Makefile.am
1.89      +7 -25;  commitid: 179b946ba5c217ea6;     xorp/xrl/targets/Makefile.in
1.17      +7 -5;  commitid: 179b946ba5c217ea6;      xorp/xrl/targets/fea.tgt
1.68      +567 -5;  commitid: 179b946ba5c217ea6;    xorp/xrl/targets/fea.xrls
1.72      +1445 -63;  commitid: 179b946ba5c217ea6;  xorp/xrl/targets/fea_base.cc
1.76      +921 -11;  commitid: 179b946ba5c217ea6;   xorp/xrl/targets/fea_base.hh
1.30      +26 -9;  commitid: 179b946ba5c217ea6;     xorp/xrl/targets/rip.xrls
1.30      +11 -12;  commitid: 179b946ba5c217ea6;    xorp/xrl/targets/rip_base.cc
1.33      +27 -12;  commitid: 179b946ba5c217ea6;    xorp/xrl/targets/rip_base.hh
1.30      +26 -9;  commitid: 179b946ba5c217ea6;     xorp/xrl/targets/ripng.xrls
1.30      +11 -12;  commitid: 179b946ba5c217ea6;    xorp/xrl/targets/ripng_base.cc
1.33      +27 -12;  commitid: 179b946ba5c217ea6;    xorp/xrl/targets/ripng_base.hh
1.6       +0 -11                                    xorp/xrl/targets/socket_server.tgt (dead)
1.15      +0 -621                                   xorp/xrl/targets/socket_server.xrls (dead)
1.17      +0 -1747                                  xorp/xrl/targets/socket_server_base.cc (dead)
1.18      +0 -1085                                  xorp/xrl/targets/socket_server_base.hh (dead)
1.8       +26 -9;  commitid: 179b946ba5c217ea6;     xorp/xrl/targets/test_socket4.xrls
1.11      +11 -12;  commitid: 179b946ba5c217ea6;    xorp/xrl/targets/test_socket4_base.cc
1.11      +27 -12;  commitid: 179b946ba5c217ea6;    xorp/xrl/targets/test_socket4_base.hh
1.8       +26 -9;  commitid: 179b946ba5c217ea6;     xorp/xrl/targets/test_socket6.xrls
1.11      +11 -12;  commitid: 179b946ba5c217ea6;    xorp/xrl/targets/test_socket6_base.cc
1.11      +27 -12;  commitid: 179b946ba5c217ea6;    xorp/xrl/targets/test_socket6_base.hh



More information about the Xorp-cvs mailing list