Subject: BSD implementation of RAW sockets

From: Saurabh Shrivastava <[email-masked]>
Date: Fri, 15 Feb 2002 16:27:03 -0800 (PST)

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