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

Pavlin Radoslavov pavlin at icir.org
Fri Jul 7 01:32:47 PDT 2006


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2006-07-07 08:32:47 UTC

XORP CVS repository


Modified files:
	fea           mfea_proto_comm.cc rawsock.cc 

Log message:
	* Call setsockopt(IP_RECVIF) if it is available (e.g., on BSD) to
	  enable receiving the interface index as ancillary data from
	  recvmsg().
	
	* When parsing the ancillary data from recvmsg(), use a more liberal
	  check about the data size for each entry: check that it is large
	  enough. Apparently, on FreeBSD-4.10, CMSG_LEN(sizeof(struct sockaddr_dl))
	  is 66, but cmsgp->cmsg_len for IP_RECVIF is rounded-up to 68.
	
	* Enable raw packets with zero source address, because of protocols like
	  IGMPv3: it specifies that the router must accept Report messages with
	  0.0.0.0 source address.

Revision  Changes                                Path
1.56      +19 -7;  commitid: 1120b44ae1aa57ea6;  xorp/fea/mfea_proto_comm.cc
1.24      +19 -7;  commitid: 1120b44ae1aa57ea6;  xorp/fea/rawsock.cc



More information about the Xorp-cvs mailing list