Re: about ip_options_compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


- : 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux