diff options
Diffstat (limited to 'include/net/dst_ops.h')
-rw-r--r-- | include/net/dst_ops.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/net/dst_ops.h b/include/net/dst_ops.h index 3682a0a076c1..2f26dfb8450e 100644 --- a/include/net/dst_ops.h +++ b/include/net/dst_ops.h | |||
@@ -8,6 +8,7 @@ struct dst_entry; | |||
8 | struct kmem_cachep; | 8 | struct kmem_cachep; |
9 | struct net_device; | 9 | struct net_device; |
10 | struct sk_buff; | 10 | struct sk_buff; |
11 | struct sock; | ||
11 | 12 | ||
12 | struct dst_ops { | 13 | struct dst_ops { |
13 | unsigned short family; | 14 | unsigned short family; |
@@ -24,9 +25,14 @@ struct dst_ops { | |||
24 | struct net_device *dev, int how); | 25 | struct net_device *dev, int how); |
25 | struct dst_entry * (*negative_advice)(struct dst_entry *); | 26 | struct dst_entry * (*negative_advice)(struct dst_entry *); |
26 | void (*link_failure)(struct sk_buff *); | 27 | void (*link_failure)(struct sk_buff *); |
27 | void (*update_pmtu)(struct dst_entry *dst, u32 mtu); | 28 | void (*update_pmtu)(struct dst_entry *dst, struct sock *sk, |
29 | struct sk_buff *skb, u32 mtu); | ||
30 | void (*redirect)(struct dst_entry *dst, struct sock *sk, | ||
31 | struct sk_buff *skb); | ||
28 | int (*local_out)(struct sk_buff *skb); | 32 | int (*local_out)(struct sk_buff *skb); |
29 | struct neighbour * (*neigh_lookup)(const struct dst_entry *dst, const void *daddr); | 33 | struct neighbour * (*neigh_lookup)(const struct dst_entry *dst, |
34 | struct sk_buff *skb, | ||
35 | const void *daddr); | ||
30 | 36 | ||
31 | struct kmem_cache *kmem_cachep; | 37 | struct kmem_cache *kmem_cachep; |
32 | 38 | ||