Date: Wed, 1 Mar 2006 19:54:36 -0800 From: "Darren Pilgrim" <darren.pilgrim@bitfreak.org> To: "'S.I'" <piston@otel.net> Cc: freebsd-questions@freebsd.org Subject: RE: ipprecedence ? Message-ID: <002201c63dad$09d18380$672a15ac@smiley> In-Reply-To: <20060301105332.9f9a0b41.piston@otel.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[Redirected to -questions from -net.] From: S.I > > How Can I set ipprecedence flag on FreeBSD? Precendence bits are part of the ip_tos bits in FreeBSD inet sockets. The ip(4) man page gives an example of using setsockopt(2) to set the ToS bits. See src/sys/netinet/ip.h (v1.29) lines 76 to 99 for a set of named precedence and ToS options (you don't have to use them, but it's recommended).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002201c63dad$09d18380$672a15ac>