Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c16 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 Dnetlink_helpers.h29 int rtnl_open(struct rtnl_handle *rth, unsigned int subscriptions)
31 void rtnl_close(struct rtnl_handle *rth);
/openbmc/linux/net/ipv4/
H A Droute.c394 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 Dvrf.c113 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 Ddsp_helper.c1557 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 Dgroup-map-individuals12 rth@twiddle.net
/openbmc/linux/net/core/
H A Dnet_namespace.c873 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 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()
/openbmc/qemu/target/openrisc/
H A Dinsns.decode4 # Copyright (c) 2018 Richard Henderson <rth@twiddle.net>
/openbmc/qemu/target/microblaze/
H A Dinsns.decode4 # Copyright (c) 2020 Richard Henderson <rth@twiddle.net>
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
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()
/openbmc/qemu/target/sparc/
H A Dinsns.decode4 # Copyright (c) 2023 Richard Henderson <rth@twiddle.net>
/openbmc/qemu/target/hppa/
H A Dinsns.decode4 # Copyright (c) 2018 Richard Henderson <rth@twiddle.net>
/openbmc/linux/Documentation/core-api/
H A Ddma-api-howto.rst6 :Author: Richard Henderson <rth@cygnus.com>
/openbmc/linux/
H A DCREDITS1576 E: rth@twiddle.net
1577 E: rth@cygnus.com
/openbmc/qemu/tcg/s390x/
H A Dtcg-target.c.inc6 * Copyright (c) 2010 Richard Henderson <rth@twiddle.net>