Home
last modified time | relevance | path

Searched refs:rth (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Droute.c424 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired() argument
426 return rth->rt_genid != rt_genid_ipv4(dev_net(rth->dst.dev)); in rt_is_expired()
1763 struct rtable *rth; in ip_route_input_mc() local
1779 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc()
1781 if (!rth) in ip_route_input_mc()
1785 rth->dst.tclassid = itag; in ip_route_input_mc()
1787 rth->dst.output = ip_rt_bug; in ip_route_input_mc()
1788 rth->rt_is_input= 1; in ip_route_input_mc()
1792 rth in ip_route_input_mc()
1836 struct rtable *rth; __mkroute_input() local
2153 struct rtable *rth; ip_route_input_slow() local
2433 struct rtable *rth; __mkroute_output() local
2560 struct rtable *rth; ip_route_output_key_hash() local
2580 struct rtable *rth; ip_route_output_key_hash_rcu() local
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Droute.c393 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired() argument
395 return rth->rt_genid != rt_genid_ipv4(dev_net(rth->dst.dev)); in rt_is_expired()
1727 struct rtable *rth; in ip_route_input_mc() local
1741 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc()
1743 if (!rth) in ip_route_input_mc()
1747 rth->dst.tclassid = itag; in ip_route_input_mc()
1749 rth->dst.output = ip_rt_bug; in ip_route_input_mc()
1750 rth->rt_is_input= 1; in ip_route_input_mc()
1754 rth in ip_route_input_mc()
1798 struct rtable *rth; __mkroute_input() local
2234 struct rtable *rth; ip_route_input_slow() local
2512 struct rtable *rth; __mkroute_output() local
2638 struct rtable *rth; ip_route_output_key_hash() local
2658 struct rtable *rth; ip_route_output_key_hash_rcu() local
[all...]
/kernel/linux/linux-5.10/drivers/net/
H A Dvrf.c111 struct rtable __rcu *rth; member
942 struct rtable *rth; in vrf_ip_out_redirect() local
946 rth = rcu_dereference(vrf->rth); in vrf_ip_out_redirect()
947 if (likely(rth)) { in vrf_ip_out_redirect()
948 dst = &rth->dst; in vrf_ip_out_redirect()
1060 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() local
1064 RCU_INIT_POINTER(vrf->rth, NULL); in vrf_rtable_release()
1070 if (rth) { in vrf_rtable_release()
1082 struct rtable *rth; vrf_rtable_create() local
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A Dvrf.c113 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()
1040 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() local
1044 RCU_INIT_POINTER(vrf->rth, NULL); in vrf_rtable_release()
1050 if (rth) { in vrf_rtable_release()
1062 struct rtable *rth; vrf_rtable_create() local
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dnet_namespace.c839 struct rtgenmsg *rth; in rtnl_net_fill() local
841 nlh = nlmsg_put(skb, args->portid, args->seq, args->cmd, sizeof(*rth), in rtnl_net_fill()
846 rth = nlmsg_data(nlh); in rtnl_net_fill()
847 rth->rtgen_family = AF_UNSPEC; in rtnl_net_fill()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c150 struct rtnl_handle rth = { .fd = -1 }; in create_netkit() local
159 err = rtnl_open(&rth, 0); in create_netkit()
181 err = rtnl_talk(&rth, &req.n, NULL); in create_netkit()
183 rtnl_close(&rth); in create_netkit()
/kernel/linux/linux-6.6/net/core/
H A Dnet_namespace.c828 struct rtgenmsg *rth; in rtnl_net_fill() local
830 nlh = nlmsg_put(skb, args->portid, args->seq, args->cmd, sizeof(*rth), in rtnl_net_fill()
835 rth = nlmsg_data(nlh); in rtnl_net_fill()
836 rth->rtgen_family = AF_UNSPEC; in rtnl_net_fill()
/kernel/linux/linux-5.10/net/ipv6/
H A 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()
/kernel/linux/linux-6.6/net/ipv6/
H A Dah6.c246 struct ipv6_rt_hdr *rth; in ipv6_clear_mutable_options() member
270 ipv6_rearrange_rthdr(iph, exthdr.rth); in ipv6_clear_mutable_options()

Completed in 21 milliseconds