ipprecedence ?

Darren Pilgrim darren.pilgrim at bitfreak.org
Wed Mar 1 19:54:48 PST 2006


[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).




More information about the freebsd-questions mailing list