Home
last modified time | relevance | path

Searched refs:dst_ops (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/include/net/
Ddst_ops.h13 struct dst_ops { struct
17 int (*gc)(struct dst_ops *ops); argument
41 static inline int dst_entries_get_fast(struct dst_ops *dst) in dst_entries_get_fast() argument
46 static inline int dst_entries_get_slow(struct dst_ops *dst) in dst_entries_get_slow()
56 static inline void dst_entries_add(struct dst_ops *dst, int val) in dst_entries_add()
63 static inline int dst_entries_init(struct dst_ops *dst) in dst_entries_init()
68 static inline void dst_entries_destroy(struct dst_ops *dst) in dst_entries_destroy()
Ddst.h37 struct dst_ops *ops;
408 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, int initial_ref,
Dxfrm.h285 struct dst_ops *dst_ops; member
/linux-4.1.27/include/net/netns/
Dxfrm.h71 struct dst_ops xfrm4_dst_ops;
73 struct dst_ops xfrm6_dst_ops;
Dipv6.h59 struct dst_ops ip6_dst_ops;
/linux-4.1.27/net/xfrm/
Dxfrm_policy.c1560 struct dst_ops *dst_ops; in xfrm_alloc_dst() local
1568 dst_ops = &net->xfrm.xfrm4_dst_ops; in xfrm_alloc_dst()
1572 dst_ops = &net->xfrm.xfrm6_dst_ops; in xfrm_alloc_dst()
1578 xdst = dst_alloc(dst_ops, NULL, 0, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()
2818 struct dst_ops *dst_ops = afinfo->dst_ops; in xfrm_policy_register_afinfo() local
2819 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
2820 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
2821 if (likely(dst_ops->check == NULL)) in xfrm_policy_register_afinfo()
2822 dst_ops->check = xfrm_dst_check; in xfrm_policy_register_afinfo()
2823 if (likely(dst_ops->default_advmss == NULL)) in xfrm_policy_register_afinfo()
[all …]
/linux-4.1.27/net/ipv4/
Dxfrm4_policy.c189 static inline int xfrm4_garbage_collect(struct dst_ops *ops) in xfrm4_garbage_collect()
233 static struct dst_ops xfrm4_dst_ops_template = {
247 .dst_ops = &xfrm4_dst_ops_template,
Droute.c154 static struct dst_ops ipv4_dst_ops = {
2276 static struct dst_ops ipv4_dst_blackhole_ops = {
/linux-4.1.27/net/bridge/
Dbr_nf_core.c55 static struct dst_ops fake_dst_ops = {
/linux-4.1.27/net/ipv6/
Dxfrm6_policy.c225 static inline int xfrm6_garbage_collect(struct dst_ops *ops) in xfrm6_garbage_collect()
292 static struct dst_ops xfrm6_dst_ops_template = {
306 .dst_ops = &xfrm6_dst_ops_template,
Droute.c84 static int ip6_dst_gc(struct dst_ops *ops);
195 static struct dst_ops ip6_dst_ops_template = {
236 static struct dst_ops ip6_dst_blackhole_ops = {
1445 static int ip6_dst_gc(struct dst_ops *ops) in ip6_dst_gc()
/linux-4.1.27/drivers/net/
Drionet.c80 #define is_rionet_capable(src_ops, dst_ops) \ argument
82 (dst_ops & RIO_DST_OPS_DATA_MSG) && \
84 (dst_ops & RIO_DST_OPS_DOORBELL))
86 is_rionet_capable(dev->src_ops, dev->dst_ops)
/linux-4.1.27/drivers/rapidio/
Drio-scan.c287 int dst_ops) in rio_device_has_destid() argument
291 return !!((src_ops | dst_ops) & mask); in rio_device_has_destid()
398 &rdev->dst_ops); in rio_setup_device()
416 if (rio_device_has_destid(port, rdev->src_ops, rdev->dst_ops)) { in rio_setup_device()
475 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL) in rio_setup_device()
/linux-4.1.27/include/linux/
Drio.h185 u32 dst_ops; member
/linux-4.1.27/net/core/
Ddst.c162 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, in dst_alloc()
Dpktgen.c398 struct dst_ops dstops;
/linux-4.1.27/net/decnet/
Ddn_route.c112 static int dn_dst_gc(struct dst_ops *ops);
137 static struct dst_ops dn_dst_ops = {
229 static int dn_dst_gc(struct dst_ops *ops) in dn_dst_gc()