git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ptrace: change signature of sys_ptrace() and friends
[pandora-kernel.git]
/
include
/
linux
/
ip.h
diff --git
a/include/linux/ip.h
b/include/linux/ip.h
index
f2f26db
..
bd0a2a8
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 {