git://git.onelab.eu
/
sliver-openvswitch.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import
[sliver-openvswitch.git]
/
datapath
/
linux-2.4
/
compat-2.4
/
include
/
linux
/
ip.h
1
#ifndef __LINUX_IP_WRAPPER_H
2
#define __LINUX_IP_WRAPPER_H 1
3
4
#include_next <linux/ip.h>
5
6
#ifdef __KERNEL__
7
#include <linux/skbuff.h>
8
9
static inline struct iphdr *ip_hdr(const struct sk_buff *skb)
10
{
11
return (struct iphdr *)skb_network_header(skb);
12
}
13
#endif
14
15
#endif