tech-net archive

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

IPv6 fragmentation issue for first fragment



An interesting case is explained here about:

http://tools.ietf.org/id/draft-ietf-6man-oversized-header-chain-01.txt

Quote:

   If a packet is fragmented, the first fragment of the packet (i.e.,
   that with a Fragment Offset of 0) MUST contain the entire IPv6 header
   chain.

I'm still new to ipv6 and i was thinking about something like this:

if fragoff == 0 && q6->ip6q_unfraglen > 1280, drop_packet(); else process_it();

It's probably wrong, but I'd appreciate some help.


-- 
Brightest day,
Blackest night,
No bug shall escape my sight,
And those who worship evil's mind,
be wary of my powers,
puffy lantern's light !


Home | Main Index | Thread Index | Old Index