Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 1999 12:56:16 +0100
From:      Wim Livens <livensw@rc.bel.alcatel.be>
To:        Riaan Kruger <rk@nanoteq.co.za>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: TOS implementation
Message-ID:  <19991102125616.B333@rc.bel.alcatel.be>
In-Reply-To: <381EBAE7.2EEBB98D@nanoteq.co.za>
References:  <381EBAE7.2EEBB98D@nanoteq.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 02, 1999 at 12:20:23PM +0200, Riaan Kruger wrote:
> Does FreeBSD implement the setting of the TOS field in the IP header
> from a higher level such as the application level, i.e. through sockets?

Yes (ofcourse).  See 'man ip' and look for the IP_TOS socket option.

Something like: 
	setsockopt(s, IPPROTO_IP, IP_TOS, &tos, sizeof(tos));

-- 
Wim Livens.

Alcatel - Corporate Research Center     wim.livens@alcatel.be
Fr. Wellesplein 1                       livensw@rc.bel.alcatel.be
B-2018 Antwerpen                Tel:    +32 3 240 7570
Belgium.                        Fax:    +32 3 240 9932


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?19991102125616.B333>