[Xorp-cvs] XORP cvs commit: xorp/fea

Pavlin Radoslavov pavlin at icir.org
Tue Apr 24 18:57:45 PDT 2007


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2007-04-25 01:57:45 UTC

XORP CVS repository


Modified files:
	fea           fticonfig_entry_get_iphelper.cc 
	              fticonfig_entry_set_iphelper.cc 
	              fticonfig_entry_set_netlink.cc 
	              fticonfig_entry_set_rtmv2.cc 
	              fticonfig_entry_set_rtsock.cc 
	              fticonfig_table_get_iphelper.cc 
	              ifconfig_get_iphelper.cc ifconfig_get_proc_linux.cc 
	              ifconfig_parse_ifaddrs.cc ifconfig_parse_ifreq.cc 
	              ifconfig_parse_nlm.cc ifconfig_parse_rtm.cc 
	              ifconfig_set.cc ifconfig_set_click.cc 
	              ifmanager_transaction.hh iftree.cc iftree.hh 
	              libfeaclient_bridge.cc rawsock.cc xrl_fea_target.cc 
	              xrl_rawsock4.cc xrl_rawsock6.cc 

Log message:
	Cleanup of the IfTree search methods:
	
	* Remove the get_if(), get_vif() and get_addr() methods that return
	  iterators to the internal maps and replace them with methods
	  find_interface(), find_vif(), find_addr() that return pointers.
	
	* Use iterators to the internal IfTree maps only when we need to
	  iterate.
	
	Those changes reduce some of the code and make it more readable.

Revision  Changes                                   Path
1.9       +7 -9;  commitid: 12adb462eb4c57ea6;      xorp/fea/fticonfig_entry_get_iphelper.cc
1.14      +7 -7;  commitid: 12adb462eb4c57ea6;      xorp/fea/fticonfig_entry_set_iphelper.cc
1.37      +8 -8;  commitid: 12adb462eb4c57ea6;      xorp/fea/fticonfig_entry_set_netlink.cc
1.4       +10 -10;  commitid: 12adb462eb4c57ea6;    xorp/fea/fticonfig_entry_set_rtmv2.cc
1.42      +9 -9;  commitid: 12adb462eb4c57ea6;      xorp/fea/fticonfig_entry_set_rtsock.cc
1.8       +6 -5;  commitid: 12adb462eb4c57ea6;      xorp/fea/fticonfig_table_get_iphelper.cc
1.9       +36 -32;  commitid: 12adb462eb4c57ea6;    xorp/fea/ifconfig_get_iphelper.cc
1.30      +40 -37;  commitid: 12adb462eb4c57ea6;    xorp/fea/ifconfig_get_proc_linux.cc
1.32      +76 -71;  commitid: 12adb462eb4c57ea6;    xorp/fea/ifconfig_parse_ifaddrs.cc
1.35      +70 -65;  commitid: 12adb462eb4c57ea6;    xorp/fea/ifconfig_parse_ifreq.cc
1.35      +75 -75;  commitid: 12adb462eb4c57ea6;    xorp/fea/ifconfig_parse_nlm.cc
1.35      +109 -110;  commitid: 12adb462eb4c57ea6;  xorp/fea/ifconfig_parse_rtm.cc
1.41      +60 -81;  commitid: 12adb462eb4c57ea6;    xorp/fea/ifconfig_set.cc
1.35      +104 -123;  commitid: 12adb462eb4c57ea6;  xorp/fea/ifconfig_set_click.cc
1.19      +20 -52;  commitid: 12adb462eb4c57ea6;    xorp/fea/ifmanager_transaction.hh
1.40      +340 -252;  commitid: 12adb462eb4c57ea6;  xorp/fea/iftree.cc
1.41      +138 -125;  commitid: 12adb462eb4c57ea6;  xorp/fea/iftree.hh
1.23      +48 -58;  commitid: 12adb462eb4c57ea6;    xorp/fea/libfeaclient_bridge.cc
1.44      +51 -60;  commitid: 12adb462eb4c57ea6;    xorp/fea/rawsock.cc
1.9       +112 -54;  commitid: 12adb462eb4c57ea6;   xorp/fea/xrl_fea_target.cc
1.21      +4 -5;  commitid: 12adb462eb4c57ea6;      xorp/fea/xrl_rawsock4.cc
1.14      +4 -5;  commitid: 12adb462eb4c57ea6;      xorp/fea/xrl_rawsock6.cc



More information about the Xorp-cvs mailing list