Re: Can RAW Packets be fragmented ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 21 Oct 1999 15:09:41 +0100 (BST)


> I went thru the code for ip_build_xmit code in net/ipv4
> if the length of the packet is more than the mtu it just returns err.
> Why cant we fragment the raw packets just like anyother ip datagram?
> Is there any RFC that says RAW packets should not be fragmented?

When writing raw packets with IP_HDRINCL you are providing the headers,
so you have to set the fragmentation bits up yourself.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/