From owner-freebsd-doc Thu Sep 27 9:10: 7 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AAFA637B408 for ; Thu, 27 Sep 2001 09:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8RGA2T57574; Thu, 27 Sep 2001 09:10:02 -0700 (PDT) (envelope-from gnats) Date: Thu, 27 Sep 2001 09:10:02 -0700 (PDT) Message-Id: <200109271610.f8RGA2T57574@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: "Douglas S. J. De Couto" Subject: Re: docs/30873: ``ip'' man page does not specify byte order for ip header with raw sockets Reply-To: "Douglas S. J. De Couto" Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/30873; it has been noted by GNATS. From: "Douglas S. J. De Couto" 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