Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Ddst_ops.h15 struct dst_ops { struct
19 int (*gc)(struct dst_ops *ops); argument
45 static inline int dst_entries_get_fast(struct dst_ops *dst) in dst_entries_get_fast() argument
50 static inline int dst_entries_get_slow(struct dst_ops *dst) in dst_entries_get_slow()
55 static inline void dst_entries_add(struct dst_ops *dst, int val) in dst_entries_add()
60 static inline int dst_entries_init(struct dst_ops *dst) in dst_entries_init()
65 static inline void dst_entries_destroy(struct dst_ops *dst) in dst_entries_destroy()
Ddst.h37 struct dst_ops *ops;
391 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, int initial_ref,
393 void dst_init(struct dst_entry *dst, struct dst_ops *ops,
Dxfrm.h308 struct dst_ops *dst_ops; member
/Linux-v4.19/include/net/netns/
Dxfrm.h69 struct dst_ops xfrm4_dst_ops;
71 struct dst_ops xfrm6_dst_ops;
Dipv6.h72 struct dst_ops ip6_dst_ops;
/Linux-v4.19/net/xfrm/
Dxfrm_policy.c1498 struct dst_ops *dst_ops; in xfrm_alloc_dst() local
1506 dst_ops = &net->xfrm.xfrm4_dst_ops; in xfrm_alloc_dst()
1510 dst_ops = &net->xfrm.xfrm6_dst_ops; in xfrm_alloc_dst()
1516 xdst = dst_alloc(dst_ops, NULL, 1, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()
2726 struct dst_ops *dst_ops = afinfo->dst_ops; in xfrm_policy_register_afinfo() local
2727 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
2728 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
2729 if (likely(dst_ops->check == NULL)) in xfrm_policy_register_afinfo()
2730 dst_ops->check = xfrm_dst_check; in xfrm_policy_register_afinfo()
2731 if (likely(dst_ops->default_advmss == NULL)) in xfrm_policy_register_afinfo()
[all …]
/Linux-v4.19/net/core/
Ddst.c63 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init()
95 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, in dst_alloc()
252 static struct dst_ops md_dst_ops = {
Dpktgen.c422 struct dst_ops dstops;
/Linux-v4.19/net/bridge/
Dbr_nf_core.c55 static struct dst_ops fake_dst_ops = {
/Linux-v4.19/drivers/rapidio/
Drio-scan.c272 int dst_ops) in rio_device_has_destid() argument
276 return !!((src_ops | dst_ops) & mask); in rio_device_has_destid()
388 &rdev->dst_ops); in rio_setup_device()
406 if (rio_device_has_destid(port, rdev->src_ops, rdev->dst_ops)) { in rio_setup_device()
458 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL) in rio_setup_device()
Drio_cm.c251 #define is_msg_capable(src_ops, dst_ops) \ argument
253 (dst_ops & RIO_DST_OPS_DATA_MSG))
255 is_msg_capable(dev->src_ops, dev->dst_ops)
/Linux-v4.19/drivers/net/
Drionet.c85 #define is_rionet_capable(src_ops, dst_ops) \ argument
87 (dst_ops & RIO_DST_OPS_DATA_MSG) && \
89 (dst_ops & RIO_DST_OPS_DOORBELL))
91 is_rionet_capable(dev->src_ops, dev->dst_ops)
/Linux-v4.19/net/ipv4/
Dxfrm4_policy.c259 static struct dst_ops xfrm4_dst_ops_template = {
271 .dst_ops = &xfrm4_dst_ops_template,
Droute.c161 static struct dst_ops ipv4_dst_ops = {
2537 static struct dst_ops ipv4_dst_blackhole_ops = {
/Linux-v4.19/net/ipv6/
Dxfrm6_policy.c280 static struct dst_ops xfrm6_dst_ops_template = {
292 .dst_ops = &xfrm6_dst_ops_template,
Droute.c94 static int ip6_dst_gc(struct dst_ops *ops);
240 static struct dst_ops ip6_dst_ops_template = {
276 static struct dst_ops ip6_dst_blackhole_ops = {
2712 static int ip6_dst_gc(struct dst_ops *ops) in ip6_dst_gc()
/Linux-v4.19/include/linux/
Drio.h194 u32 dst_ops; member
/Linux-v4.19/net/decnet/
Ddn_route.c112 static int dn_dst_gc(struct dst_ops *ops);
137 static struct dst_ops dn_dst_ops = {
219 static int dn_dst_gc(struct dst_ops *ops) in dn_dst_gc()
/Linux-v4.19/drivers/rapidio/devices/
Drio_mport_cdev.c1772 &rdev->dst_ops); in rio_mport_add_riodev()
1798 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL) in rio_mport_add_riodev()
/Linux-v4.19/net/openvswitch/
Dactions.c850 static struct dst_ops ovs_dst_ops = {