From owner-freebsd-net Tue Nov 2 4:25: 9 1999 Delivered-To: freebsd-net@freebsd.org Received: from btm4r4.alcatel.be (btm4r4.alcatel.be [195.207.101.110]) by hub.freebsd.org (Postfix) with ESMTP id 37C65153DC for ; Tue, 2 Nov 1999 04:24:46 -0800 (PST) (envelope-from livensw@rc.bel.alcatel.be) Received: from btmq9s.rc.bel.alcatel.be (btmq9s.rc.bel.alcatel.be [138.203.65.182]) by btm4r4.alcatel.be (8.9.1a/8.9.1) with ESMTP id NAA25021 for ; Tue, 2 Nov 1999 13:24:42 +0100 (MET) Received: from btm161.rc.bel.alcatel.be (btm161 [138.203.65.238]) by btmq9s.rc.bel.alcatel.be (8.8.8+Sun/8.8.8) with ESMTP id NAA26539 for ; Tue, 2 Nov 1999 13:26:01 +0100 (MET) Received: (from livensw@localhost) by btm161.rc.bel.alcatel.be (8.9.3/8.9.3) id MAA17355; Tue, 2 Nov 1999 12:56:16 +0100 (CET) (envelope-from livensw) Date: Tue, 2 Nov 1999 12:56:16 +0100 From: Wim Livens To: Riaan Kruger Cc: freebsd-net@FreeBSD.ORG Subject: Re: TOS implementation Message-ID: <19991102125616.B333@rc.bel.alcatel.be> References: <381EBAE7.2EEBB98D@nanoteq.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <381EBAE7.2EEBB98D@nanoteq.co.za> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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