Home
last modified time | relevance | path

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

/linux/net/tipc/
H A Dudp_media.c178 struct dst_entry *ndst; in tipc_udp_xmit() local
182 ndst = dst_cache_get(cache); in tipc_udp_xmit()
184 struct rtable *rt = dst_rtable(ndst); in tipc_udp_xmit()
207 if (!ndst) { in tipc_udp_xmit()
214 ndst = ip6_dst_lookup_flow(net, ub->sk, in tipc_udp_xmit()
216 if (IS_ERR(ndst)) { in tipc_udp_xmit()
217 err = PTR_ERR(ndst); in tipc_udp_xmit()
220 dst_cache_set_ip6(cache, ndst, &fl6.saddr); in tipc_udp_xmit()
222 ttl = ip6_dst_hoplimit(ndst); in tipc_udp_xmit()
223 udp_tunnel6_xmit_skb(ndst, ub->sk, skb, NULL, in tipc_udp_xmit()
/linux/drivers/infiniband/sw/rxe/
H A Drxe_net.c136 struct dst_entry *ndst; in rxe_find_route6() local
144 ndst = ip6_dst_lookup_flow(net, rxe_ns_pernet_sk6(net), &fl6, NULL); in rxe_find_route6()
145 if (IS_ERR(ndst)) { in rxe_find_route6()
150 if (unlikely(ndst->error)) { in rxe_find_route6()
155 return ndst; in rxe_find_route6()
157 dst_release(ndst); in rxe_find_route6()
/linux/drivers/net/vxlan/
H A Dvxlan_core.c2382 struct dst_entry *ndst = NULL; in vxlan_xmit_one() local
2541 ndst = &rt->dst; in vxlan_xmit_one()
2542 err = skb_tunnel_check_pmtu(skb, ndst, vxlan_headroom(flags & VXLAN_F_GPE), in vxlan_xmit_one()
2558 dst_release(ndst); in vxlan_xmit_one()
2564 err = vxlan_build_skb(skb, ndst, sizeof(struct iphdr), in vxlan_xmit_one()
2590 ndst = udp_tunnel6_dst_lookup(skb, dev, vxlan->net, sock6->sk, in vxlan_xmit_one()
2594 if (IS_ERR(ndst)) { in vxlan_xmit_one()
2595 err = PTR_ERR(ndst); in vxlan_xmit_one()
2596 ndst = NULL; in vxlan_xmit_one()
2605 u32 rt6i_flags = dst_rt6_info(ndst)->rt6i_flags; in vxlan_xmit_one()
[all …]
/linux/net/core/
H A Dneighbour.c2286 struct ndt_stats ndst; in neightbl_fill_info() local
2288 memset(&ndst, 0, sizeof(ndst)); in neightbl_fill_info()
2294 ndst.ndts_allocs += READ_ONCE(st->allocs); in neightbl_fill_info()
2295 ndst.ndts_destroys += READ_ONCE(st->destroys); in neightbl_fill_info()
2296 ndst.ndts_hash_grows += READ_ONCE(st->hash_grows); in neightbl_fill_info()
2297 ndst.ndts_res_failed += READ_ONCE(st->res_failed); in neightbl_fill_info()
2298 ndst.ndts_lookups += READ_ONCE(st->lookups); in neightbl_fill_info()
2299 ndst.ndts_hits += READ_ONCE(st->hits); in neightbl_fill_info()
2300 ndst.ndts_rcv_probes_mcast += READ_ONCE(st->rcv_probes_mcast); in neightbl_fill_info()
2301 ndst.ndts_rcv_probes_ucast += READ_ONCE(st->rcv_probes_ucast); in neightbl_fill_info()
[all …]
/linux/arch/x86/kvm/vmx/
H A Dposted_intr.c121 new.ndst = dest; in vmx_vcpu_pi_load()
/linux/net/xfrm/
H A Dxfrm_state.c164 struct hlist_head *ndst, *nsrc, *nspi, *nseq, *odst, *osrc, *ospi, *oseq; in xfrm_hash_resize() local
170 ndst = xfrm_hash_alloc(nsize); in xfrm_hash_resize()
171 if (!ndst) in xfrm_hash_resize()
175 xfrm_hash_free(ndst, nsize); in xfrm_hash_resize()
180 xfrm_hash_free(ndst, nsize); in xfrm_hash_resize()
186 xfrm_hash_free(ndst, nsize); in xfrm_hash_resize()
198 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nseq, nhashmask); in xfrm_hash_resize()
205 rcu_assign_pointer(net->xfrm.state_bydst, ndst); in xfrm_hash_resize()
3332 struct hlist_head *ndst, *nsrc, *nspi, *nseq; in xfrm_state_init() local
3343 ndst = xfrm_hash_alloc(sz); in xfrm_state_init()
[all …]
H A Dxfrm_policy.c637 struct hlist_head *ndst = xfrm_hash_alloc(nsize); in xfrm_bydst_resize() local
641 if (!ndst) in xfrm_bydst_resize()
651 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize()
653 rcu_assign_pointer(net->xfrm.policy_bydst[dir].table, ndst); in xfrm_bydst_resize()
/linux/net/ipv6/
H A Dip6_tunnel.c1108 struct dst_entry *dst = NULL, *ndst = NULL; in ip6_tnl_xmit() local
1194 ndst = dst; in ip6_tnl_xmit()
1246 if (use_cache && ndst) in ip6_tnl_xmit()
1247 dst_cache_set_ip6(&t->dst_cache, ndst, &fl6->saddr); in ip6_tnl_xmit()