projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SK_BUFF]: Introduce skb_reset_transport_header(skb)
[deliverable/linux.git]
/
include
/
linux
/
skbuff.h
diff --git
a/include/linux/skbuff.h
b/include/linux/skbuff.h
index 9cb674b12b29c7a23b07265d60ae1c09b6084938..7c1f1756e482dd587f00ea2237afd86f9b8e292a 100644
(file)
--- a/
include/linux/skbuff.h
+++ b/
include/linux/skbuff.h
@@
-247,7
+247,6
@@
struct sk_buff {
} h;
union {
} h;
union {
- struct ipv6hdr *ipv6h;
unsigned char *raw;
} nh;
unsigned char *raw;
} nh;
@@
-958,6
+957,11
@@
static inline void skb_reserve(struct sk_buff *skb, int len)
skb->tail += len;
}
skb->tail += len;
}
+static inline void skb_reset_transport_header(struct sk_buff *skb)
+{
+ skb->h.raw = skb->data;
+}
+
static inline unsigned char *skb_network_header(const struct sk_buff *skb)
{
return skb->nh.raw;
static inline unsigned char *skb_network_header(const struct sk_buff *skb)
{
return skb->nh.raw;
This page took
0.028728 seconds
and
5
git commands to generate.