Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c18 if (rth->fd >= 0) { in rtnl_close()
19 close(rth->fd); in rtnl_close()
20 rth->fd = -1; in rtnl_close()
31 memset(rth, 0, sizeof(*rth)); in rtnl_open_byproto()
32 rth->proto = protocol; in rtnl_open_byproto()
34 if (rth->fd < 0) { in rtnl_open_byproto()
53 memset(&rth->local, 0, sizeof(rth->local)); in rtnl_open_byproto()
57 if (bind(rth->fd, (struct sockaddr *)&rth->local, in rtnl_open_byproto()
63 if (getsockname(rth->fd, (struct sockaddr *)&rth->local, in rtnl_open_byproto()
77 rth->seq = time(NULL); in rtnl_open_byproto()
[all …]
H A Dnetlink_helpers.h29 int rtnl_open(struct rtnl_handle *rth, unsigned int subscriptions)
31 void rtnl_close(struct rtnl_handle *rth);
/linux-6.15/net/ipv4/
H A Droute.c396 res = rth->rt_genid != rt_genid_ipv4(dev_net_rcu(rth->dst.dev)); in rt_is_expired()
1751 if (!rth) in ip_route_input_mc()
1873 if (!rth) { in __mkroute_input()
2411 if (!rth) in ip_route_input_slow()
2433 rth->dst.lwtstate->orig_input = rth->dst.input; in ip_route_input_slow()
2627 if (rt_cache_valid(rth) && dst_hold_safe(&rth->dst)) in __mkroute_output()
2628 return rth; in __mkroute_output()
2634 if (!rth) in __mkroute_output()
2661 return rth; in __mkroute_output()
2686 return rth; in ip_route_output_key_hash()
[all …]
/linux-6.15/drivers/net/
H A Dvrf.c115 struct rtable __rcu *rth; member
884 struct rtable *rth; in vrf_ip_out_redirect() local
888 rth = rcu_dereference(vrf->rth); in vrf_ip_out_redirect()
889 if (likely(rth)) { in vrf_ip_out_redirect()
890 dst = &rth->dst; in vrf_ip_out_redirect()
1002 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() local
1012 if (rth) { in vrf_rtable_release()
1013 dst = &rth->dst; in vrf_rtable_release()
1024 struct rtable *rth; in vrf_rtable_create() local
1031 if (!rth) in vrf_rtable_create()
[all …]
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dtc_netkit.c46 struct rtnl_handle rth = { .fd = -1 }; in create_netkit() local
52 err = rtnl_open(&rth, 0); in create_netkit()
79 err = rtnl_talk(&rth, &req.n, NULL); in create_netkit()
81 rtnl_close(&rth); in create_netkit()
H A Dtc_redirect.c165 struct rtnl_handle rth = { .fd = -1 }; in create_netkit() local
174 err = rtnl_open(&rth, 0); in create_netkit()
196 err = rtnl_talk(&rth, &req.n, NULL); in create_netkit()
198 rtnl_close(&rth); in create_netkit()
H A Dtc_links.c1800 struct rtnl_handle rth = { .fd = -1 }; in qdisc_replace() local
1804 err = rtnl_open(&rth, 0); in qdisc_replace()
1820 err = rtnl_talk(&rth, &req.n, NULL); in qdisc_replace()
1822 rtnl_close(&rth); in qdisc_replace()
/linux-6.15/net/core/
H A Dnet_namespace.c874 struct rtgenmsg *rth; in rtnl_net_fill() local
876 nlh = nlmsg_put(skb, args->portid, args->seq, args->cmd, sizeof(*rth), in rtnl_net_fill()
881 rth = nlmsg_data(nlh); in rtnl_net_fill()
882 rth->rtgen_family = AF_UNSPEC; in rtnl_net_fill()
/linux-6.15/net/ipv6/
H A Dah6.c243 struct ipv6_rt_hdr *rth; in ipv6_clear_mutable_options() member
267 ipv6_rearrange_rthdr(iph, exthdr.rth); in ipv6_clear_mutable_options()
/linux-6.15/Documentation/devicetree/bindings/
H A Dvendor-prefixes.yaml1669 description: Würth Elektronik GmbH.
/linux-6.15/Documentation/core-api/
H A Ddma-api-howto.rst6 :Author: Richard Henderson <rth@cygnus.com>
/linux-6.15/
H A DCREDITS1644 E: rth@twiddle.net
1645 E: rth@cygnus.com