From owner-freebsd-hackers Wed Jan 6 17:14:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA06308 for freebsd-hackers-outgoing; Wed, 6 Jan 1999 17:14:18 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA06303 for ; Wed, 6 Jan 1999 17:14:17 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id RAA22148; Wed, 6 Jan 1999 17:13:41 -0800 (PST) Received: from utah.XYLAN.COM by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id RAA00738; Wed, 6 Jan 1999 17:13:41 -0800 Received: from softweyr.com by utah.XYLAN.COM (SMI-8.6/SMI-SVR4 (xylan utah [SPOOL])) id SAA23452; Wed, 6 Jan 1999 18:13:40 -0700 Message-ID: <36940A44.89628F8B@softweyr.com> Date: Wed, 06 Jan 1999 18:13:40 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.7-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Joe Abley CC: freebsd-hackers@FreeBSD.ORG Subject: Re: setting DF bit References: <19990107135107.B12785@clear.co.nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joe Abley wrote: > > Hi, > > How do arrange for the DF bit in the IP header to be set for a given > connected socket? > > I was expecting to find a sockopt, but I can't find one... And won't. "sysctl -w net.inet.ip.sourceroute 1" will turn on DF system-wide, setting it to zero (the default) will turn it back off. -- Where am I, and what am I doing in this handbasket? Wes Peters +1.801.915.2061 Softweyr LLC wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message