summaryrefslogtreecommitdiffstats
path: root/kernel/include/net/dst_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/net/dst_ops.h')
-rw-r--r--kernel/include/net/dst_ops.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/include/net/dst_ops.h b/kernel/include/net/dst_ops.h
index d64253914..a0d443ca1 100644
--- a/kernel/include/net/dst_ops.h
+++ b/kernel/include/net/dst_ops.h
@@ -9,6 +9,7 @@ struct kmem_cachep;
struct net_device;
struct sk_buff;
struct sock;
+struct net;
struct dst_ops {
unsigned short family;
@@ -28,7 +29,7 @@ struct dst_ops {
struct sk_buff *skb, u32 mtu);
void (*redirect)(struct dst_entry *dst, struct sock *sk,
struct sk_buff *skb);
- int (*local_out)(struct sk_buff *skb);
+ int (*local_out)(struct net *net, struct sock *sk, struct sk_buff *skb);
struct neighbour * (*neigh_lookup)(const struct dst_entry *dst,
struct sk_buff *skb,
const void *daddr);