Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2000 08:35:47 +0200 (CEST)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        Marco Molteni <molter@sofia.csl.sri.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: question on sys/net/ip_fw.h
Message-ID:  <200008210635.IAA19062@info.iet.unipi.it>
In-Reply-To: <20000820221822.A30286@sofia.csl.sri.com> from Marco Molteni at "Aug 20, 2000 10:18:22 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
yes the comments are obsolete, but because in
3.x and above setsockopt() can handle parms of arbitrary size
and is not limited anymore to MLEN. So the entire comment should
be removed.

	cheers
	luigi
>   * fw_src, fw_dst, fw_smsk, fw_dmsk are always stored in network byte order.
>   * fw_flg and fw_n*p are stored in host byte order (of course).
>   * Port numbers are stored in HOST byte order.
> - * Warning: setsockopt() will fail if sizeof(struct ip_fw) > MLEN (108)
> + * Warning: setsockopt() will fail if sizeof(struct ip_fw) > MLEN
> + * (see sys/mbuf.h).
>   */
> 
> 
> Am I right? Is someone willing to commit the change?
> 
> Thanks
> Marco 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008210635.IAA19062>