Searched refs:rth (Results 1 – 4 of 4) sorted by relevance
/net/ipv4/ |
D | route.c | 441 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired() argument 443 return rth->rt_genid != rt_genid_ipv4(dev_net(rth->dst.dev)); in rt_is_expired() 1649 struct rtable *rth; in ip_route_input_mc() local 1660 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc() 1662 if (!rth) in ip_route_input_mc() 1666 rth->dst.tclassid = itag; in ip_route_input_mc() 1668 rth->dst.output = ip_rt_bug; in ip_route_input_mc() 1669 rth->rt_is_input= 1; in ip_route_input_mc() 1673 rth->dst.input = ip_mr_input; in ip_route_input_mc() 1677 skb_dst_set(skb, &rth->dst); in ip_route_input_mc() [all …]
|
/net/decnet/ |
D | dn_route.c | 327 struct dn_route *rth; in dn_insert_route() local 334 while ((rth = rcu_dereference_protected(*rthp, in dn_insert_route() 336 if (compare_keys(&rth->fld, &rt->fld)) { in dn_insert_route() 338 *rthp = rth->dst.dn_next; in dn_insert_route() 339 rcu_assign_pointer(rth->dst.dn_next, in dn_insert_route() 341 rcu_assign_pointer(dn_rt_hash_table[hash].chain, rth); in dn_insert_route() 343 dst_use(&rth->dst, now); in dn_insert_route() 347 *rp = rth; in dn_insert_route() 350 rthp = &rth->dst.dn_next; in dn_insert_route()
|
/net/core/ |
D | net_namespace.c | 683 struct rtgenmsg *rth; in rtnl_net_fill() local 685 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rth), flags); in rtnl_net_fill() 689 rth = nlmsg_data(nlh); in rtnl_net_fill() 690 rth->rtgen_family = AF_UNSPEC; in rtnl_net_fill()
|
/net/ipv6/ |
D | ah6.c | 261 struct ipv6_rt_hdr *rth; in ipv6_clear_mutable_options() member 284 ipv6_rearrange_rthdr(iph, exthdr.rth); in ipv6_clear_mutable_options()
|