You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
325 B
17 lines
325 B
8 years ago
|
#ifndef COMPAT_SKBUFF_H
|
||
|
#define COMPAT_SKBUFF_H 1
|
||
|
|
||
|
struct tcphdr;
|
||
|
struct udphdr;
|
||
|
|
||
|
#define skb_ifindex(skb) (skb)->skb_iif
|
||
|
#define skb_nfmark(skb) (((struct sk_buff *)(skb))->mark)
|
||
|
|
||
|
#ifdef CONFIG_NETWORK_SECMARK
|
||
|
# define skb_secmark(skb) ((skb)->secmark)
|
||
|
#else
|
||
|
# define skb_secmark(skb) 0
|
||
|
#endif
|
||
|
|
||
|
#endif /* COMPAT_SKBUFF_H */
|