Home
last modified time | relevance | path

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

/linux-4.1.27/net/tipc/
Dudp_media.c191 struct dst_entry *ndst; in tipc_udp_send_msg() local
198 err = ipv6_stub->ipv6_dst_lookup(ub->ubsock->sk, &ndst, &fl6); in tipc_udp_send_msg()
201 ttl = ip6_dst_hoplimit(ndst); in tipc_udp_send_msg()
202 err = udp_tunnel6_xmit_skb(ndst, ub->ubsock->sk, clone, in tipc_udp_send_msg()
203 ndst->dev, &src->ipv6, in tipc_udp_send_msg()
/linux-4.1.27/net/ipv6/
Dip6_gre.c617 struct dst_entry *dst = NULL, *ndst = NULL; in ip6gre_xmit2() local
640 ndst = ip6_route_output(net, NULL, fl6); in ip6gre_xmit2()
642 if (ndst->error) in ip6gre_xmit2()
644 ndst = xfrm_lookup(net, ndst, flowi6_to_flowi(fl6), NULL, 0); in ip6gre_xmit2()
645 if (IS_ERR(ndst)) { in ip6gre_xmit2()
646 err = PTR_ERR(ndst); in ip6gre_xmit2()
647 ndst = NULL; in ip6gre_xmit2()
650 dst = ndst; in ip6gre_xmit2()
707 ndst = NULL; in ip6gre_xmit2()
765 if (ndst) in ip6gre_xmit2()
[all …]
Dip6_tunnel.c983 struct dst_entry *dst = NULL, *ndst = NULL; in ip6_tnl_xmit2() local
1019 ndst = ip6_route_output(net, NULL, fl6); in ip6_tnl_xmit2()
1021 if (ndst->error) in ip6_tnl_xmit2()
1023 ndst = xfrm_lookup(net, ndst, flowi6_to_flowi(fl6), NULL, 0); in ip6_tnl_xmit2()
1024 if (IS_ERR(ndst)) { in ip6_tnl_xmit2()
1025 err = PTR_ERR(ndst); in ip6_tnl_xmit2()
1026 ndst = NULL; in ip6_tnl_xmit2()
1029 dst = ndst; in ip6_tnl_xmit2()
1077 ndst = NULL; in ip6_tnl_xmit2()
1104 if (ndst) in ip6_tnl_xmit2()
[all …]
/linux-4.1.27/net/core/
Dneighbour.c1831 struct ndt_stats ndst; in neightbl_fill_info() local
1833 memset(&ndst, 0, sizeof(ndst)); in neightbl_fill_info()
1839 ndst.ndts_allocs += st->allocs; in neightbl_fill_info()
1840 ndst.ndts_destroys += st->destroys; in neightbl_fill_info()
1841 ndst.ndts_hash_grows += st->hash_grows; in neightbl_fill_info()
1842 ndst.ndts_res_failed += st->res_failed; in neightbl_fill_info()
1843 ndst.ndts_lookups += st->lookups; in neightbl_fill_info()
1844 ndst.ndts_hits += st->hits; in neightbl_fill_info()
1845 ndst.ndts_rcv_probes_mcast += st->rcv_probes_mcast; in neightbl_fill_info()
1846 ndst.ndts_rcv_probes_ucast += st->rcv_probes_ucast; in neightbl_fill_info()
[all …]
/linux-4.1.27/kernel/
Dmodule.c2297 unsigned int i, nsrc, ndst, strtab_size = 0; in layout_symtab() local
2309 for (ndst = i = 0; i < nsrc; i++) { in layout_symtab()
2313 ndst++; in layout_symtab()
2319 info->stroffs = mod->core_size = info->symoffs + ndst * sizeof(Elf_Sym); in layout_symtab()
2344 unsigned int i, ndst; in add_kallsyms() local
2367 for (ndst = i = 0; i < mod->kallsyms->num_symtab; i++) { in add_kallsyms()
2370 dst[ndst] = src[i]; in add_kallsyms()
2371 dst[ndst++].st_name = s - mod->core_kallsyms.strtab; in add_kallsyms()
2376 mod->core_kallsyms.num_symtab = ndst; in add_kallsyms()
/linux-4.1.27/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.c471 struct hlist_head *ndst = xfrm_hash_alloc(nsize); in xfrm_bydst_resize() local
474 if (!ndst) in xfrm_bydst_resize()
480 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize()
482 net->xfrm.policy_bydst[dir].table = ndst; in xfrm_bydst_resize()
/linux-4.1.27/drivers/net/
Dvxlan.c1976 struct dst_entry *ndst; in vxlan_xmit_one() local
1986 if (ipv6_stub->ipv6_dst_lookup(sk, &ndst, &fl6)) { in vxlan_xmit_one()
1993 if (ndst->dev == dev) { in vxlan_xmit_one()
1996 dst_release(ndst); in vxlan_xmit_one()
2002 flags = ((struct rt6_info *)ndst)->rt6i_flags; in vxlan_xmit_one()
2007 dst_release(ndst); in vxlan_xmit_one()
2017 ttl = ttl ? : ip6_dst_hoplimit(ndst); in vxlan_xmit_one()
2021 err = vxlan6_xmit_skb(ndst, sk, skb, dev, &fl6.saddr, &fl6.daddr, in vxlan_xmit_one()
/linux-4.1.27/include/net/
Dsock.h1722 struct dst_entry *ndst, *dst = __sk_dst_get(sk); in dst_negative_advice() local
1725 ndst = dst->ops->negative_advice(dst); in dst_negative_advice()
1727 if (ndst != dst) { in dst_negative_advice()
1728 rcu_assign_pointer(sk->sk_dst_cache, ndst); in dst_negative_advice()