[Xorp-cvs] XORP cvs commit: xorp/fea xorp/mld6igmp xorp/pim xorp/xrl/interfaces xorp/xrl/targets

Pavlin Radoslavov pavlin@icir.org
Wed, 7 Sep 2005 20:15:49 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-09-07 20:15:49 UTC

XORP CVS repository


Modified files:
	fea           Makefile.am Makefile.in fea.cc rawsock4.cc 
	              rawsock4.hh rawsock6.cc rawsock6.hh test_mfea.cc 
	              test_rawsock4.cc xrl_rawsock4.cc xrl_rawsock4.hh 
	              xrl_rawsock6.cc xrl_rawsock6.hh xrl_target.cc 
	              xrl_target.hh 
	mld6igmp      test_mld6igmp.cc 
	pim           test_pim.cc 
	xrl/interfaces fea_rawpkt4.xif fea_rawpkt4_client.xif 
	               fea_rawpkt4_client_xif.cc 
	               fea_rawpkt4_client_xif.hh fea_rawpkt4_xif.cc 
	               fea_rawpkt4_xif.hh fea_rawpkt6.xif 
	               fea_rawpkt6_client.xif fea_rawpkt6_client_xif.cc 
	               fea_rawpkt6_client_xif.hh fea_rawpkt6_xif.cc 
	               fea_rawpkt6_xif.hh 
	xrl/targets   fea.xrls fea_base.cc fea_base.hh 

Added files:
	fea           rawsock.cc rawsock.hh 

Log message:
	Refactor the implementation of the FEA raw socket support:
	
	 * Replace the bottom of it (the part that deals with the kernel)
	   with the fea/mfea_proto_comm.cc code that does the same thing.
	
	 * Cleanup the upper layer management part and fix few things.
	
	 * Add support for joining and leaving a multicast group.
	
	 * Cleanup the XRL interface for sending and receiving raw packets
	   by adding few more arguments (e.g., a flag to include the
	   IP Router Alert option, etc).
	
	 * The sending of raw IPv4 packets (i.e., packets that have
	   already their own IPv4 address) is removed, because for the time
	   being it is not needed, and because there is no IPv6 equivalent
	   of sending raw packets with constructed IPv6 header.
	   The burden for constructing the IPv4 header should be in the FEA,
	   so we should discourage the applications doing that. Only if it
	   is really needed it can be added back.
	
	The Windows support is temporary broken. Later it will be restored to
	its previous state.

Revision  Changes                                  Path
1.63      +3 -1;  commitid: e921431f472d7ea6;      xorp/fea/Makefile.am
1.78      +10 -8;  commitid: e921431f472d7ea6;     xorp/fea/Makefile.in
1.51      +8 -4;  commitid: e921431f472d7ea6;      xorp/fea/fea.cc
1.1       +1983 -0                                 xorp/fea/rawsock.cc (new)
1.1       +375 -0                                  xorp/fea/rawsock.hh (new)
1.15      +169 -203;  commitid: e921431f472d7ea6;  xorp/fea/rawsock4.cc
1.10      +163 -78;  commitid: e921431f472d7ea6;   xorp/fea/rawsock4.hh
1.14      +168 -348;  commitid: e921431f472d7ea6;  xorp/fea/rawsock6.cc
1.11      +157 -101;  commitid: e921431f472d7ea6;  xorp/fea/rawsock6.hh
1.24      +7 -3;  commitid: e921431f472d7ea6;      xorp/fea/test_mfea.cc
1.15      +74 -47;  commitid: e921431f472d7ea6;    xorp/fea/test_rawsock4.cc
1.16      +315 -220;  commitid: e921431f472d7ea6;  xorp/fea/xrl_rawsock4.cc
1.9       +122 -43;  commitid: e921431f472d7ea6;   xorp/fea/xrl_rawsock4.hh
1.7       +299 -178;  commitid: e921431f472d7ea6;  xorp/fea/xrl_rawsock6.cc
1.3       +120 -41;  commitid: e921431f472d7ea6;   xorp/fea/xrl_rawsock6.hh
1.74      +120 -66;  commitid: e921431f472d7ea6;   xorp/fea/xrl_target.cc
1.52      +240 -37;  commitid: e921431f472d7ea6;   xorp/fea/xrl_target.hh
1.46      +7 -3;  commitid: e921431f472d7ea6;      xorp/mld6igmp/test_mld6igmp.cc
1.56      +9 -7;  commitid: e921431f472d7ea6;      xorp/pim/test_pim.cc
1.2       +99 -57;  commitid: e921431f472d7ea6;    xorp/xrl/interfaces/fea_rawpkt4.xif
1.2       +26 -16;  commitid: e921431f472d7ea6;    xorp/xrl/interfaces/fea_rawpkt4_client.xif
1.5       +22 -10;  commitid: e921431f472d7ea6;    xorp/xrl/interfaces/fea_rawpkt4_client_xif.cc
1.3       +33 -8;  commitid: e921431f472d7ea6;     xorp/xrl/interfaces/fea_rawpkt4_client_xif.hh
1.5       +90 -42;  commitid: e921431f472d7ea6;    xorp/xrl/interfaces/fea_rawpkt4_xif.cc
1.3       +129 -33;  commitid: e921431f472d7ea6;   xorp/xrl/interfaces/fea_rawpkt4_xif.hh
1.3       +102 -45;  commitid: e921431f472d7ea6;   xorp/xrl/interfaces/fea_rawpkt6.xif
1.3       +26 -22;  commitid: e921431f472d7ea6;    xorp/xrl/interfaces/fea_rawpkt6_client.xif
1.6       +16 -16;  commitid: e921431f472d7ea6;    xorp/xrl/interfaces/fea_rawpkt6_client_xif.cc
1.4       +30 -11;  commitid: e921431f472d7ea6;    xorp/xrl/interfaces/fea_rawpkt6_client_xif.hh
1.6       +123 -41;  commitid: e921431f472d7ea6;   xorp/xrl/interfaces/fea_rawpkt6_xif.cc
1.4       +148 -30;  commitid: e921431f472d7ea6;   xorp/xrl/interfaces/fea_rawpkt6_xif.hh
1.50      +163 -19;  commitid: e921431f472d7ea6;   xorp/xrl/targets/fea.xrls
1.54      +186 -79;  commitid: e921431f472d7ea6;   xorp/xrl/targets/fea_base.cc
1.56      +231 -44;  commitid: e921431f472d7ea6;   xorp/xrl/targets/fea_base.hh