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_transport_header(skb)
[deliverable/linux.git]
/
include
/
linux
/
ip.h
diff --git
a/include/linux/ip.h
b/include/linux/ip.h
index f2f26db16f5718d6762b4be31c353c5e376485d3..bd0a2a8631c60e6620578acc68c363540aea1755 100644
(file)
--- a/
include/linux/ip.h
+++ b/
include/linux/ip.h
@@
-111,6
+111,11
@@
static inline struct iphdr *ip_hdr(const struct sk_buff *skb)
{
return (struct iphdr *)skb_network_header(skb);
}
+
+static inline struct iphdr *ipip_hdr(const struct sk_buff *skb)
+{
+ return (struct iphdr *)skb_transport_header(skb);
+}
#endif
struct ip_auth_hdr {
This page took
0.028919 seconds
and
5
git commands to generate.