Home
last modified time | relevance | path

Searched refs:ndst (Results 1 – 5 of 5) sorted by relevance

/net/ipv6/
Dip6_tunnel.c974 struct dst_entry *dst = NULL, *ndst = NULL; in ip6_tnl_xmit2() local
984 ndst = ip6_route_output(net, NULL, fl6); in ip6_tnl_xmit2()
986 if (ndst->error) in ip6_tnl_xmit2()
988 ndst = xfrm_lookup(net, ndst, flowi6_to_flowi(fl6), NULL, 0); in ip6_tnl_xmit2()
989 if (IS_ERR(ndst)) { in ip6_tnl_xmit2()
990 err = PTR_ERR(ndst); in ip6_tnl_xmit2()
991 ndst = NULL; in ip6_tnl_xmit2()
994 dst = ndst; in ip6_tnl_xmit2()
1041 ndst = NULL; in ip6_tnl_xmit2()
1068 if (ndst) in ip6_tnl_xmit2()
[all …]
Dip6_gre.c623 struct dst_entry *dst = NULL, *ndst = NULL; in ip6gre_xmit2() local
646 ndst = ip6_route_output(net, NULL, fl6); in ip6gre_xmit2()
648 if (ndst->error) in ip6gre_xmit2()
650 ndst = xfrm_lookup(net, ndst, flowi6_to_flowi(fl6), NULL, 0); in ip6gre_xmit2()
651 if (IS_ERR(ndst)) { in ip6gre_xmit2()
652 err = PTR_ERR(ndst); in ip6gre_xmit2()
653 ndst = NULL; in ip6gre_xmit2()
656 dst = ndst; in ip6gre_xmit2()
713 ndst = NULL; in ip6gre_xmit2()
771 if (ndst) in ip6gre_xmit2()
[all …]
/net/core/
Dneighbour.c1910 struct ndt_stats ndst; in neightbl_fill_info() local
1912 memset(&ndst, 0, sizeof(ndst)); in neightbl_fill_info()
1918 ndst.ndts_allocs += st->allocs; in neightbl_fill_info()
1919 ndst.ndts_destroys += st->destroys; in neightbl_fill_info()
1920 ndst.ndts_hash_grows += st->hash_grows; in neightbl_fill_info()
1921 ndst.ndts_res_failed += st->res_failed; in neightbl_fill_info()
1922 ndst.ndts_lookups += st->lookups; in neightbl_fill_info()
1923 ndst.ndts_hits += st->hits; in neightbl_fill_info()
1924 ndst.ndts_rcv_probes_mcast += st->rcv_probes_mcast; in neightbl_fill_info()
1925 ndst.ndts_rcv_probes_ucast += st->rcv_probes_ucast; in neightbl_fill_info()
[all …]
/net/xfrm/
Dxfrm_state.c103 struct hlist_head *ndst, *nsrc, *nspi, *odst, *osrc, *ospi; in xfrm_hash_resize() local
109 ndst = xfrm_hash_alloc(nsize); in xfrm_hash_resize()
110 if (!ndst) in xfrm_hash_resize()
114 xfrm_hash_free(ndst, nsize); in xfrm_hash_resize()
119 xfrm_hash_free(ndst, nsize); in xfrm_hash_resize()
128 xfrm_hash_transfer(net->xfrm.state_bydst+i, ndst, nsrc, nspi, in xfrm_hash_resize()
136 net->xfrm.state_bydst = ndst; in xfrm_hash_resize()
Dxfrm_policy.c470 struct hlist_head *ndst = xfrm_hash_alloc(nsize); in xfrm_bydst_resize() local
473 if (!ndst) in xfrm_bydst_resize()
479 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize()
481 net->xfrm.policy_bydst[dir].table = ndst; in xfrm_bydst_resize()