diff options
Diffstat (limited to 'include/net/dst_ops.h')
-rw-r--r-- | include/net/dst_ops.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/dst_ops.h b/include/net/dst_ops.h index d64253914a6a..a0d443ca16fc 100644 --- a/include/net/dst_ops.h +++ b/include/net/dst_ops.h | |||
@@ -9,6 +9,7 @@ struct kmem_cachep; | |||
9 | struct net_device; | 9 | struct net_device; |
10 | struct sk_buff; | 10 | struct sk_buff; |
11 | struct sock; | 11 | struct sock; |
12 | struct net; | ||
12 | 13 | ||
13 | struct dst_ops { | 14 | struct dst_ops { |
14 | unsigned short family; | 15 | unsigned short family; |
@@ -28,7 +29,7 @@ struct dst_ops { | |||
28 | struct sk_buff *skb, u32 mtu); | 29 | struct sk_buff *skb, u32 mtu); |
29 | void (*redirect)(struct dst_entry *dst, struct sock *sk, | 30 | void (*redirect)(struct dst_entry *dst, struct sock *sk, |
30 | struct sk_buff *skb); | 31 | struct sk_buff *skb); |
31 | int (*local_out)(struct sk_buff *skb); | 32 | int (*local_out)(struct net *net, struct sock *sk, struct sk_buff *skb); |
32 | struct neighbour * (*neigh_lookup)(const struct dst_entry *dst, | 33 | struct neighbour * (*neigh_lookup)(const struct dst_entry *dst, |
33 | struct sk_buff *skb, | 34 | struct sk_buff *skb, |
34 | const void *daddr); | 35 | const void *daddr); |