Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225190
b: refs/heads/master
c: 04fb451
h: refs/heads/master
v: v3
  • Loading branch information
Michał Mirosław authored and David S. Miller committed Dec 16, 2010
1 parent 480c6f2 commit e35d6ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc2ce894e113ed95b92541134b002fdc641e8080
refs/heads/master: 04fb451eff978ca059399eab83d5594b073caf6f
5 changes: 5 additions & 0 deletions trunk/include/linux/skbuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,11 @@ static inline void skb_set_mac_header(struct sk_buff *skb, const int offset)
}
#endif /* NET_SKBUFF_DATA_USES_OFFSET */

static inline int skb_checksum_start_offset(const struct sk_buff *skb)
{
return skb->csum_start - skb_headroom(skb);
}

static inline int skb_transport_offset(const struct sk_buff *skb)
{
return skb_transport_header(skb) - skb->data;
Expand Down

0 comments on commit e35d6ce

Please sign in to comment.