Searched refs:rth (Results 1 - 8 of 8) sorted by last modified time
/linux-master/net/core/ |
H A D | net_namespace.c | 854 struct rtgenmsg *rth; local 856 nlh = nlmsg_put(skb, args->portid, args->seq, args->cmd, sizeof(*rth), 861 rth = nlmsg_data(nlh); 862 rth->rtgen_family = AF_UNSPEC;
|
/linux-master/net/ipv4/ |
H A D | route.c | 393 static inline bool rt_is_expired(const struct rtable *rth) argument 395 return rth->rt_genid != rt_genid_ipv4(dev_net(rth->dst.dev)); 1725 struct rtable *rth; local 1739 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, 1741 if (!rth) 1745 rth->dst.tclassid = itag; 1747 rth->dst.output = ip_rt_bug; 1748 rth->rt_is_input= 1; 1752 rth 1796 struct rtable *rth; local 2235 struct rtable *rth; local 2513 struct rtable *rth; local 2639 struct rtable *rth; local 2659 struct rtable *rth; local [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_redirect.c | 150 struct rtnl_handle rth = { .fd = -1 }; local 159 err = rtnl_open(&rth, 0); 181 err = rtnl_talk(&rth, &req.n, NULL); 183 rtnl_close(&rth);
|
H A D | tc_netkit.c | 38 struct rtnl_handle rth = { .fd = -1 }; local 44 err = rtnl_open(&rth, 0); 65 err = rtnl_talk(&rth, &req.n, NULL); 67 rtnl_close(&rth);
|
/linux-master/net/ipv6/ |
H A D | ah6.c | 243 struct ipv6_rt_hdr *rth; member in union:__anon99 267 ipv6_rearrange_rthdr(iph, exthdr.rth);
|
/linux-master/drivers/net/ |
H A D | vrf.c | 113 struct rtable __rcu *rth; member in struct:net_vrf 922 struct rtable *rth; local 926 rth = rcu_dereference(vrf->rth); 927 if (likely(rth)) { 928 dst = &rth->dst; 1040 struct rtable *rth = rtnl_dereference(vrf->rth); local 1044 RCU_INIT_POINTER(vrf->rth, NULL); 1050 if (rth) { 1062 struct rtable *rth; local [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 16 void rtnl_close(struct rtnl_handle *rth) argument 18 if (rth->fd >= 0) { 19 close(rth->fd); 20 rth->fd = -1; 24 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned int subscriptions, argument 31 memset(rth, 0, sizeof(*rth)); 32 rth->proto = protocol; 33 rth->fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, protocol); 34 if (rth 84 rtnl_open(struct rtnl_handle *rth, unsigned int subscriptions) argument [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);
|
Completed in 173 milliseconds