Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255667
b: refs/heads/master
c: d18cd55
h: refs/heads/master
i:
  255665: 536f6a0
  255663: fe5a088
v: v3
  • Loading branch information
David S. Miller committed Jun 24, 2011
1 parent e1b5de0 commit 82bdf3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d054f2f1445aceedab3f9642692d55d2caa7ec6
refs/heads/master: d18cd551d15b38153ca3641c17ee8590a54b4c7b
10 changes: 5 additions & 5 deletions trunk/include/net/ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ extern void ipfrag_init(void);

extern void ip_static_sysctl_init(void);

static inline bool ip_is_fragment(const struct iphdr *iph)
{
return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0;
}

#ifdef CONFIG_INET
#include <net/dst.h>

Expand All @@ -250,11 +255,6 @@ int ip_decrease_ttl(struct iphdr *iph)
return --iph->ttl;
}

static inline bool ip_is_fragment(const struct iphdr *iph)
{
return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0;
}

static inline
int ip_dont_fragment(struct sock *sk, struct dst_entry *dst)
{
Expand Down

0 comments on commit 82bdf3d

Please sign in to comment.