Date: Thu, 27 Sep 2001 09:10:02 -0700 (PDT) From: "Douglas S. J. De Couto" <decouto@lcs.mit.edu> To: freebsd-doc@freebsd.org Subject: Re: docs/30873: ``ip'' man page does not specify byte order for ip header with raw sockets Message-ID: <200109271610.f8RGA2T57574@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/30873; it has been noted by GNATS. From: "Douglas S. J. De Couto" <decouto@lcs.mit.edu> To: ru@FreeBSD.ORG Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: docs/30873: ``ip'' man page does not specify byte order for ip header with raw sockets Date: Thu, 27 Sep 2001 12:00:20 -0400 (EDT) > > > > There is no easy way to use the man pages figure out how to use raw sockets. > > On my system ``apropos raw'' doesn't point me to the ``ip'' man page, > > which describes raw sockets. Furthermor, the ``ip'' man page doesn't > > specify the byte order for the up header fields when the user is supplying > > the ip header. > > > Hmm, the ip.4 manpage, in the ``Raw IP Sockets'' has this info > in the form of an example. The only missing item is that the > ``ip_id'' field (if supplied) should be in network byte order, > historically. true it has the information, but it would be nice if ``apropos raw'' pointed you to this manpage. also, i guess maybe solaris wants the ip header in network byte order (from looking at the traceroute source), so it wouldn't hurt to clarify? it would have helped me anyway. thanks, d -- Douglas S. J. De Couto decouto@lcs.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109271610.f8RGA2T57574>