Searched refs:dst_ops (Results 1 – 9 of 9) sorted by relevance
1555 struct dst_ops *dst_ops; in xfrm_alloc_dst() local1563 dst_ops = &net->xfrm.xfrm4_dst_ops; in xfrm_alloc_dst()1567 dst_ops = &net->xfrm.xfrm6_dst_ops; in xfrm_alloc_dst()1573 xdst = dst_alloc(dst_ops, NULL, 0, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()2768 struct dst_ops *dst_ops = afinfo->dst_ops; in xfrm_policy_register_afinfo() local2769 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()2770 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()2771 if (likely(dst_ops->check == NULL)) in xfrm_policy_register_afinfo()2772 dst_ops->check = xfrm_dst_check; in xfrm_policy_register_afinfo()2773 if (likely(dst_ops->default_advmss == NULL)) in xfrm_policy_register_afinfo()[all …]
193 static inline int xfrm4_garbage_collect(struct dst_ops *ops) in xfrm4_garbage_collect()237 static struct dst_ops xfrm4_dst_ops_template = {252 .dst_ops = &xfrm4_dst_ops_template,
153 static struct dst_ops ipv4_dst_ops = {2237 static struct dst_ops ipv4_dst_blackhole_ops = {
223 static inline int xfrm6_garbage_collect(struct dst_ops *ops) in xfrm6_garbage_collect()290 static struct dst_ops xfrm6_dst_ops_template = {305 .dst_ops = &xfrm6_dst_ops_template,
84 static int ip6_dst_gc(struct dst_ops *ops);194 static struct dst_ops ip6_dst_ops_template = {236 static struct dst_ops ip6_dst_blackhole_ops = {1434 static int ip6_dst_gc(struct dst_ops *ops) in ip6_dst_gc()
55 static struct dst_ops fake_dst_ops = {
162 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, in dst_alloc()
398 struct dst_ops dstops;
112 static int dn_dst_gc(struct dst_ops *ops);137 static struct dst_ops dn_dst_ops = {224 static int dn_dst_gc(struct dst_ops *ops) in dn_dst_gc()