netdev
[Top] [All Lists]

Re: raw sockets, IP_HDRINCL, and fragmentation

To: Andi Kleen <ak@xxxxxxx>
Subject: Re: raw sockets, IP_HDRINCL, and fragmentation
From: Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx>
Date: Thu, 07 Mar 2002 15:56:19 -0500
Cc: netdev@xxxxxxxxxxx
References: <3C87AD05.F9BC8457@xxxxxxxxxxxxxxxxxx> <20020307191645.A27213@xxxxxxxxxxxxxxxx> <3C87B887.3757786F@xxxxxxxxxxxxxxxxxx> <20020307201818.A8893@xxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Andi Kleen wrote:
> 
> On Thu, Mar 07, 2002 at 01:59:19PM -0500, Chris Friesen wrote:

> > "When  the IP_HDRINCL option is set datagrams will not be fragmented and are
> > limited to the interface MTU.  This is a limitation in Linux 2.2."
> >
> > Does 2.4 have this same limitation?
> 
> It has.

Is this a technical difficulty, or just an API issue?  ie, how hard would it be
to hack it to add fragmentation?  I'm guessing I should be looking at
ip_output.c, somewhere in the vicinity of ip_build_xmit()?

Thanks,

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@xxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>