Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_policy.c1555 struct dst_ops *dst_ops; in xfrm_alloc_dst() local
1563 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() local
2769 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 …]
/net/ipv4/
Dxfrm4_policy.c193 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,
Droute.c153 static struct dst_ops ipv4_dst_ops = {
2237 static struct dst_ops ipv4_dst_blackhole_ops = {
/net/ipv6/
Dxfrm6_policy.c223 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,
Droute.c84 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()
/net/bridge/
Dbr_nf_core.c55 static struct dst_ops fake_dst_ops = {
/net/core/
Ddst.c162 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, in dst_alloc()
Dpktgen.c398 struct dst_ops dstops;
/net/decnet/
Ddn_route.c112 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()