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, 3 insertions, 0 deletions
diff --git a/include/net/dst_ops.h b/include/net/dst_ops.h
index 1fa5306e3e23..21a320b8708e 100644
--- a/include/net/dst_ops.h
+++ b/include/net/dst_ops.h
@@ -2,6 +2,7 @@
2#define _NET_DST_OPS_H 2#define _NET_DST_OPS_H
3#include <linux/types.h> 3#include <linux/types.h>
4#include <linux/percpu_counter.h> 4#include <linux/percpu_counter.h>
5#include <linux/cache.h>
5 6
6struct dst_entry; 7struct dst_entry;
7struct kmem_cachep; 8struct kmem_cachep;
@@ -15,6 +16,8 @@ struct dst_ops {
15 16
16 int (*gc)(struct dst_ops *ops); 17 int (*gc)(struct dst_ops *ops);
17 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); 18 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie);
19 unsigned int (*default_advmss)(const struct dst_entry *);
20 unsigned int (*default_mtu)(const struct dst_entry *);
18 void (*destroy)(struct dst_entry *); 21 void (*destroy)(struct dst_entry *);
19 void (*ifdown)(struct dst_entry *, 22 void (*ifdown)(struct dst_entry *,
20 struct net_device *dev, int how); 23 struct net_device *dev, int how);