Skip to content
Snippets Groups Projects
Commit 56f8a75c authored by Paul Gortmaker's avatar Paul Gortmaker Committed by David S. Miller
Browse files

ip: introduce ip_is_fragment helper inline function


There are enough instances of this:

    iph->frag_off & htons(IP_MF | IP_OFFSET)

that a helper function is probably warranted.

Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f470e5ae
No related branches found
No related tags found
Loading
Showing
with 27 additions and 23 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment