/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 16 void rtnl_close(struct rtnl_handle *rth) in rtnl_close() argument 18 if (rth->fd >= 0) { in rtnl_close() 19 close(rth->fd); in rtnl_close() 20 rth->fd = -1; in rtnl_close() 24 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned int subscriptions, in rtnl_open_byproto() argument 31 memset(rth, 0, sizeof(*rth)); in rtnl_open_byproto() 32 rth->proto = protocol; in rtnl_open_byproto() 33 rth->fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, protocol); in rtnl_open_byproto() 34 if (rth->fd < 0) { in rtnl_open_byproto() 38 if (setsockopt(rth->fd, SOL_SOCKET, SO_SNDBUF, in rtnl_open_byproto() [all …]
|
H A D | netlink_helpers.h | 29 int rtnl_open(struct rtnl_handle *rth, unsigned int subscriptions) 31 void rtnl_close(struct rtnl_handle *rth);
|
/openbmc/linux/net/ipv4/ |
H A D | route.c | 394 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired() argument 399 res = rth->rt_genid != rt_genid_ipv4(dev_net_rcu(rth->dst.dev)); in rt_is_expired() 1745 struct rtable *rth; in ip_route_input_mc() local 1759 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc() 1761 if (!rth) in ip_route_input_mc() 1765 rth->dst.tclassid = itag; in ip_route_input_mc() 1767 rth->dst.output = ip_rt_bug; in ip_route_input_mc() 1768 rth->rt_is_input= 1; in ip_route_input_mc() 1772 rth->dst.input = ip_mr_input; in ip_route_input_mc() 1777 skb_dst_set(skb, &rth->dst); in ip_route_input_mc() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | vrf.c | 113 struct rtable __rcu *rth; member 924 struct rtable *rth; in vrf_ip_out_redirect() local 928 rth = rcu_dereference(vrf->rth); in vrf_ip_out_redirect() 929 if (likely(rth)) { in vrf_ip_out_redirect() 930 dst = &rth->dst; in vrf_ip_out_redirect() 1042 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() local 1046 RCU_INIT_POINTER(vrf->rth, NULL); in vrf_rtable_release() 1052 if (rth) { in vrf_rtable_release() 1053 dst = &rth->dst; in vrf_rtable_release() 1064 struct rtable *rth; in vrf_rtable_create() local [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | dsp_helper.c | 1557 uint16_t rsh, rsl, rth, rtl; in helper_precrqu_s_qb_ph() local 1561 rth = (rt & MIPSDSP_HI) >> 16; in helper_precrqu_s_qb_ph() 1566 tempB = mipsdsp_sat8_reduce_precision(rth, env); in helper_precrqu_s_qb_ph() 1817 uint16_t rth, rtl; \ 1821 MIPSDSP_SPLIT32_16(rt, rth, rtl); \ 1823 rth = mipsdsp_##func(rth, sa, env); \ 1826 return MIPSDSP_RETURN32_16(rth, rtl); \ 1955 uint16_t rth, rtl; \ 1959 MIPSDSP_SPLIT32_16(rt, rth, rtl); \ 1961 rth = mipsdsp_##func(rth, sa); \ [all …]
|
/openbmc/qemu/contrib/gitdm/ |
H A D | group-map-individuals | 12 rth@twiddle.net
|
/openbmc/linux/net/core/ |
H A D | net_namespace.c | 873 struct rtgenmsg *rth; in rtnl_net_fill() local 875 nlh = nlmsg_put(skb, args->portid, args->seq, args->cmd, sizeof(*rth), in rtnl_net_fill() 880 rth = nlmsg_data(nlh); in rtnl_net_fill() 881 rth->rtgen_family = AF_UNSPEC; in rtnl_net_fill()
|
/openbmc/linux/net/ipv6/ |
H A D | ah6.c | 246 struct ipv6_rt_hdr *rth; in ipv6_clear_mutable_options() member 270 ipv6_rearrange_rthdr(iph, exthdr.rth); in ipv6_clear_mutable_options()
|
/openbmc/qemu/target/openrisc/ |
H A D | insns.decode | 4 # Copyright (c) 2018 Richard Henderson <rth@twiddle.net>
|
/openbmc/qemu/target/microblaze/ |
H A D | insns.decode | 4 # Copyright (c) 2020 Richard Henderson <rth@twiddle.net>
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_links.c | 1800 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()
|
/openbmc/qemu/target/sparc/ |
H A D | insns.decode | 4 # Copyright (c) 2023 Richard Henderson <rth@twiddle.net>
|
/openbmc/qemu/target/hppa/ |
H A D | insns.decode | 4 # Copyright (c) 2018 Richard Henderson <rth@twiddle.net>
|
/openbmc/linux/Documentation/core-api/ |
H A D | dma-api-howto.rst | 6 :Author: Richard Henderson <rth@cygnus.com>
|
/openbmc/linux/ |
H A D | CREDITS | 1576 E: rth@twiddle.net 1577 E: rth@cygnus.com
|
/openbmc/qemu/tcg/s390x/ |
H A D | tcg-target.c.inc | 6 * Copyright (c) 2010 Richard Henderson <rth@twiddle.net>
|