BSD implementation of RAW sockets
Saurabh Shrivastava <saurabh_shrivastava@yahoo.com> Sat, 16 February 2002 00:27 UTC
Message-ID: <20020216002703.99581.qmail@web13801.mail.yahoo.com>
Date: Fri, 15 Feb 2002 16:27:03 -0800 (PST)
From: Saurabh Shrivastava <saurabh_shrivastava@yahoo.com>
Subject: BSD implementation of RAW sockets
To: tcp-impl@grc.nasa.gov
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-tcp-impl@grc.nasa.gov
Precedence: bulk
Status: RO
Content-Length: 545
Lines: 17
Hi!, this is a RAW socket question. tcp_output before calling ip_output, copies over TTL/TOS from the PCB. but for a RAW socket for which INP_HDRINCL is not set, shouldnt rip_output do the same ? BSD just sets the TOS to 0, TTL to the default. the side effect of this behaviour is that setsockopts for TOS/TTL dont work on a raw socket. please comment ... am i missing something thanks! -saurabh __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
- BSD implementation of RAW sockets Saurabh Shrivastava