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

Pavlin Radoslavov pavlin at icir.org
Thu Aug 24 11:57:27 PDT 2006


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2006-08-24 18:57:27 UTC

XORP CVS repository


Modified files:
	libproto      packet.hh 

Log message:
	* Add new methods IpHeader4::ip_len_host() and
	  IpHeader4Writer::set_ip_len_host() that can be used to extract and
	  embed the ip_len field that is stored in host order.
	
	  The reason we need those methods is because on some platforms
	  the raw IPv4 packets received from the kernel have the ip_len
	  field stored in host order (e.g., FreeBSD and NetBSD, older versions
	  of OpenBSD and probably DragonFlyBSD).
	
	* Fix some of the kdoc comments.

Revision  Changes                                Path
1.5       +23 -8;  commitid: 165e544edf47f7ea6;  xorp/libproto/packet.hh



More information about the Xorp-cvs mailing list