Searched refs:ndst (Results 1 – 5 of 5) sorted by relevance
/net/tipc/ |
D | udp_media.c | 164 struct dst_entry *ndst; in tipc_udp_xmit() local 168 ndst = dst_cache_get(cache); in tipc_udp_xmit() 170 struct rtable *rt = (struct rtable *)ndst; in tipc_udp_xmit() 193 if (!ndst) { in tipc_udp_xmit() 200 ndst = ipv6_stub->ipv6_dst_lookup_flow(net, in tipc_udp_xmit() 203 if (IS_ERR(ndst)) { in tipc_udp_xmit() 204 err = PTR_ERR(ndst); in tipc_udp_xmit() 207 dst_cache_set_ip6(cache, ndst, &fl6.saddr); in tipc_udp_xmit() 209 ttl = ip6_dst_hoplimit(ndst); in tipc_udp_xmit() 210 err = udp_tunnel6_xmit_skb(ndst, ub->ubsock->sk, skb, NULL, in tipc_udp_xmit()
|
/net/core/ |
D | neighbour.c | 2092 struct ndt_stats ndst; in neightbl_fill_info() local 2094 memset(&ndst, 0, sizeof(ndst)); in neightbl_fill_info() 2100 ndst.ndts_allocs += READ_ONCE(st->allocs); in neightbl_fill_info() 2101 ndst.ndts_destroys += READ_ONCE(st->destroys); in neightbl_fill_info() 2102 ndst.ndts_hash_grows += READ_ONCE(st->hash_grows); in neightbl_fill_info() 2103 ndst.ndts_res_failed += READ_ONCE(st->res_failed); in neightbl_fill_info() 2104 ndst.ndts_lookups += READ_ONCE(st->lookups); in neightbl_fill_info() 2105 ndst.ndts_hits += READ_ONCE(st->hits); in neightbl_fill_info() 2106 ndst.ndts_rcv_probes_mcast += READ_ONCE(st->rcv_probes_mcast); in neightbl_fill_info() 2107 ndst.ndts_rcv_probes_ucast += READ_ONCE(st->rcv_probes_ucast); in neightbl_fill_info() [all …]
|
/net/xfrm/ |
D | xfrm_state.c | 121 struct hlist_head *ndst, *nsrc, *nspi, *odst, *osrc, *ospi; in xfrm_hash_resize() local 127 ndst = xfrm_hash_alloc(nsize); in xfrm_hash_resize() 128 if (!ndst) in xfrm_hash_resize() 132 xfrm_hash_free(ndst, nsize); in xfrm_hash_resize() 137 xfrm_hash_free(ndst, nsize); in xfrm_hash_resize() 148 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nhashmask); in xfrm_hash_resize() 154 rcu_assign_pointer(net->xfrm.state_bydst, ndst); in xfrm_hash_resize()
|
D | xfrm_policy.c | 583 struct hlist_head *ndst = xfrm_hash_alloc(nsize); in xfrm_bydst_resize() local 587 if (!ndst) in xfrm_bydst_resize() 597 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize() 599 rcu_assign_pointer(net->xfrm.policy_bydst[dir].table, ndst); in xfrm_bydst_resize()
|
/net/ipv6/ |
D | ip6_tunnel.c | 1048 struct dst_entry *dst = NULL, *ndst = NULL; in ip6_tnl_xmit() local 1123 ndst = dst; in ip6_tnl_xmit() 1185 if (use_cache && ndst) in ip6_tnl_xmit() 1186 dst_cache_set_ip6(&t->dst_cache, ndst, &fl6->saddr); in ip6_tnl_xmit()
|