In ip.c (Kernel 1.3.0)

From: Tobin Park (shinywind@hotmail.com)
Date: Fri Aug 31 2001 - 20:24:47 EST


Hello.
I am studying linux kernel 1.3.0.

In ip.c this sentence appeared.

if(iph->frag_off)
        {
                if (iph->frag_off & 0x0020)
                        is_frag|=1;
                /*
                 * Last fragment ?
                 */

                if (ntohs(iph->frag_off) & 0x1fff)
                        is_frag|=2;
        }

what is that mean is_frag?
what's the difference between is_frag are 1,2,4?

Thank you.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:36 EST