Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/
H A Ddst_ops.h15 struct dst_ops { struct
19 int (*gc)(struct dst_ops *ops); argument
46 static inline int dst_entries_get_fast(struct dst_ops *dst) in dst_entries_get_fast() argument
51 static inline int dst_entries_get_slow(struct dst_ops *dst) in dst_entries_get_slow()
57 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()
H A Ddst.h26 struct dst_ops *ops;
382 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, int initial_ref,
384 void dst_init(struct dst_entry *dst, struct dst_ops *ops,
H A Dxfrm.h323 struct dst_ops *dst_ops; member
/OK3568_Linux_fs/kernel/include/net/netns/
H A Dxfrm.h72 struct dst_ops xfrm4_dst_ops;
74 struct dst_ops xfrm6_dst_ops;
H A Dipv6.h79 struct dst_ops ip6_dst_ops;
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_policy.c2477 struct dst_ops *dst_ops; in xfrm_alloc_dst() local
2485 dst_ops = &net->xfrm.xfrm4_dst_ops; in xfrm_alloc_dst()
2489 dst_ops = &net->xfrm.xfrm6_dst_ops; in xfrm_alloc_dst()
2495 xdst = dst_alloc(dst_ops, NULL, 1, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()
3959 struct dst_ops *dst_ops = afinfo->dst_ops; in xfrm_policy_register_afinfo() local
3960 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
3961 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
3962 if (likely(dst_ops->check == NULL)) in xfrm_policy_register_afinfo()
3963 dst_ops->check = xfrm_dst_check; in xfrm_policy_register_afinfo()
3964 if (likely(dst_ops->default_advmss == NULL)) in xfrm_policy_register_afinfo()
[all …]
/OK3568_Linux_fs/kernel/net/core/
H A Ddst.c47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init()
79 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, in dst_alloc()
278 static struct dst_ops dst_blackhole_ops = {
H A Dpktgen.c416 struct dst_ops dstops;
/OK3568_Linux_fs/kernel/drivers/rapidio/
H A Drio-scan.c268 int dst_ops) in rio_device_has_destid() argument
272 return !!((src_ops | dst_ops) & mask); in rio_device_has_destid()
382 &rdev->dst_ops); in rio_setup_device()
400 if (rio_device_has_destid(port, rdev->src_ops, rdev->dst_ops)) { in rio_setup_device()
452 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL) in rio_setup_device()
H A Drio_cm.c242 #define is_msg_capable(src_ops, dst_ops) \ argument
244 (dst_ops & RIO_DST_OPS_DATA_MSG))
246 is_msg_capable(dev->src_ops, dev->dst_ops)
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dxfrm4_policy.c140 static struct dst_ops xfrm4_dst_ops_template = {
152 .dst_ops = &xfrm4_dst_ops_template,
H A Droute.c160 static struct dst_ops ipv4_dst_ops = {
2731 static struct dst_ops ipv4_dst_blackhole_ops = {
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_nf_core.c52 static struct dst_ops fake_dst_ops = {
/OK3568_Linux_fs/kernel/drivers/net/
H A Drionet.c81 #define is_rionet_capable(src_ops, dst_ops) \ argument
83 (dst_ops & RIO_DST_OPS_DATA_MSG) && \
85 (dst_ops & RIO_DST_OPS_DOORBELL))
87 is_rionet_capable(dev->src_ops, dev->dst_ops)
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dxfrm6_policy.c157 static struct dst_ops xfrm6_dst_ops_template = {
169 .dst_ops = &xfrm6_dst_ops_template,
H A Droute.c92 static int ip6_dst_gc(struct dst_ops *ops);
243 static struct dst_ops ip6_dst_ops_template = {
262 static struct dst_ops ip6_dst_blackhole_ops = {
3187 static int ip6_dst_gc(struct dst_ops *ops) in ip6_dst_gc()
/OK3568_Linux_fs/kernel/include/linux/
H A Drio.h190 u32 dst_ops; member
/OK3568_Linux_fs/kernel/net/decnet/
H A Ddn_route.c104 static int dn_dst_gc(struct dst_ops *ops);
130 static struct dst_ops dn_dst_ops = {
212 static int dn_dst_gc(struct dst_ops *ops) in dn_dst_gc()
/OK3568_Linux_fs/kernel/drivers/rapidio/devices/
H A Drio_mport_cdev.c1776 &rdev->dst_ops); in rio_mport_add_riodev()
1802 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL) in rio_mport_add_riodev()
/OK3568_Linux_fs/kernel/net/openvswitch/
H A Dactions.c816 static struct dst_ops ovs_dst_ops = {