Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv4/
Droute.c422 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired() argument
424 return rth->rt_genid != rt_genid_ipv4(dev_net(rth->dst.dev)); in rt_is_expired()
1732 struct rtable *rth; in ip_route_input_mc() local
1743 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc()
1745 if (!rth) in ip_route_input_mc()
1749 rth->dst.tclassid = itag; in ip_route_input_mc()
1751 rth->dst.output = ip_rt_bug; in ip_route_input_mc()
1752 rth->rt_is_input= 1; in ip_route_input_mc()
1756 rth->dst.input = ip_mr_input; in ip_route_input_mc()
1760 skb_dst_set(skb, &rth->dst); in ip_route_input_mc()
[all …]
/Linux-v5.10/drivers/net/
Dvrf.c110 struct rtable __rcu *rth; member
922 struct rtable *rth; in vrf_ip_out_redirect() local
926 rth = rcu_dereference(vrf->rth); in vrf_ip_out_redirect()
927 if (likely(rth)) { in vrf_ip_out_redirect()
928 dst = &rth->dst; in vrf_ip_out_redirect()
1038 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() local
1042 RCU_INIT_POINTER(vrf->rth, NULL); in vrf_rtable_release()
1048 if (rth) { in vrf_rtable_release()
1049 dst = &rth->dst; in vrf_rtable_release()
1060 struct rtable *rth; in vrf_rtable_create() local
[all …]
/Linux-v5.10/net/decnet/
Ddn_route.c319 struct dn_route *rth; in dn_insert_route() local
326 while ((rth = rcu_dereference_protected(*rthp, in dn_insert_route()
328 if (compare_keys(&rth->fld, &rt->fld)) { in dn_insert_route()
330 *rthp = rth->dn_next; in dn_insert_route()
331 rcu_assign_pointer(rth->dn_next, in dn_insert_route()
333 rcu_assign_pointer(dn_rt_hash_table[hash].chain, rth); in dn_insert_route()
335 dst_hold_and_use(&rth->dst, now); in dn_insert_route()
339 *rp = rth; in dn_insert_route()
342 rthp = &rth->dn_next; in dn_insert_route()
/Linux-v5.10/net/core/
Dnet_namespace.c811 struct rtgenmsg *rth; in rtnl_net_fill() local
813 nlh = nlmsg_put(skb, args->portid, args->seq, args->cmd, sizeof(*rth), in rtnl_net_fill()
818 rth = nlmsg_data(nlh); in rtnl_net_fill()
819 rth->rtgen_family = AF_UNSPEC; in rtnl_net_fill()
/Linux-v5.10/net/ipv6/
Dah6.c249 struct ipv6_rt_hdr *rth; in ipv6_clear_mutable_options() member
273 ipv6_rearrange_rthdr(iph, exthdr.rth); in ipv6_clear_mutable_options()
/Linux-v5.10/Documentation/core-api/
Ddma-api-howto.rst6 :Author: Richard Henderson <rth@cygnus.com>
/Linux-v5.10/
DCREDITS1526 E: rth@twiddle.net
1527 E: rth@cygnus.com
DMAINTAINERS741 M: Richard Henderson <rth@twiddle.net>