aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dst_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/dst_ops.h')
-rw-r--r--include/net/dst_ops.h3
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;
9struct net_device; 9struct net_device;
10struct sk_buff; 10struct sk_buff;
11struct sock; 11struct sock;
12struct net;
12 13
13struct dst_ops { 14struct 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);