* ip_options.c
@ 2002-03-21 11:10 Vinolin
2002-03-21 16:31 ` ip_options.c nicholas black
0 siblings, 1 reply; 2+ messages in thread
From: Vinolin @ 2002-03-21 11:10 UTC (permalink / raw)
To: linux-kernel
Hello all,
Can i get the summary of what exactly ip_options.c is doing ?
Through any web page or documents ...
Thanks,
Vinolin.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ip_options.c
2002-03-21 11:10 ip_options.c Vinolin
@ 2002-03-21 16:31 ` nicholas black
0 siblings, 0 replies; 2+ messages in thread
From: nicholas black @ 2002-03-21 16:31 UTC (permalink / raw)
To: linux-kernel; +Cc: Vinolin
In article <02032116405005.00890@Vinolin> you wrote:
> Can i get the summary of what exactly ip_options.c is doing ?
> Through any web page or documents ...
it deals with ip options (see rfc's 791 and 1122).
ip_options_build is called while putting together the headers, but
prior to checksumming from numerous places in net/ipv4/ip_output.c.
ip_options_fragment does special handling for options in fragmented
datagrams (again, ip_output.c).
ip_options_echo is used to setup the options used in a reply; see
net/ipv4/icmp.c et al.
ip_options_compile and ip_options_get both seem to be used to extract raw
options from an skb.
ip_options_forward handles setting up source-routed packets, while
ip_options_rcv_srr handles their receipt.
i am by not any mean at all an authority on these matters, so take this with
a grain of salt :).
--
nicholas black (dank@trellisinc.com)
"c has types for a reason. c++ improved the type system for a reason. perl
and php programs have run-time failures for a reason." - lkml
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-21 16:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 11:10 ip_options.c Vinolin
2002-03-21 16:31 ` ip_options.c nicholas black
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.