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
Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband
[pandora-kernel.git]
/
include
/
linux
/
if_arp.h
diff --git
a/include/linux/if_arp.h
b/include/linux/if_arp.h
index
7f57142
..
ed7b93c
100644
(file)
--- a/
include/linux/if_arp.h
+++ b/
include/linux/if_arp.h
@@
-148,4
+148,13
@@
struct arphdr
};
+#ifdef __KERNEL__
+#include <linux/skbuff.h>
+
+static inline struct arphdr *arp_hdr(const struct sk_buff *skb)
+{
+ return (struct arphdr *)skb_network_header(skb);
+}
+#endif
+
#endif /* _LINUX_IF_ARP_H */