Re: about ip_options_compile

From: Antoine Luu (aluu@cse.ogi.edu)
Date: Thu Jul 31 2003 - 17:02:14 EST


oops: font problem :)) thank for all

Thank

Le jeudi, 31 juil 2003, à 14:47 US/Pacific, Herbert Xu a écrit :

> Antoine Luu <aluu@cse.ogi.edu> wrote:
>> Hi,
>> I try to understand how are set and read the ip options in the kernel,
>> and I find something that I can understand in the function
>> ip_options_compile of ip_options.c.
>>
>> ----- net/ipv4/ip_options.c ------
>>
>> 245 int ip_options_compile(....)
>> 246 {
>> ...
>> 250 int optlen;
>> ...
>> 281 optlen = optptr[1];
>> 282 if(optlen<2 || optlen>1){
>
> That's an l not a 1.
> --
> Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
> Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:02 EST