lkml.org 
[lkml]   [1999]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Doubt in RAW socket implementation
From
Date
shankarv@future.futsoft.com (shankarv) writes:

> hi all,
>
> What ever i tell below is with reference to RAW SOCKET implementation in
>
>
> Linux.
>
> can any one tell me what happens to the sk->opt copied by ip_get_options.
>
> I guess the sk->opt should be copied into every IP packet thats going to
>
>
> be send out via this socket sk. (correct ?)

Yes (except when you enable IP_HDRINCL)

>
> i couldnt find Where it is copied into the outgoing packets.

In ip_output.c:ip_build_xmit_slow() via ip_options_build.


-Andi
--
This is like TV. I don't like TV.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.040 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site