next up previous contents
Next: Tiny fragments Up: Idiomatic constructs Previous: Idiomatic constructs   Contents


ip_is_fragment is non-zero (``true'') if the packet is an IP fragment, i.e. if the ``more fragments'' flag (ip_MF) is set or the fragment offset (ip_off) is non-zero.

The macro not_ip_is_fragment is the negation of ip_is_fragment.


#include ""

    drop if ip_is_fragment;

Martin A. Brown 2003-11-06