lkml.org 
[lkml]   [2002]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ip_options.c
Date
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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