/Linux-v4.19/include/net/ |
D | route.h | 51 struct rtable { struct 73 static inline bool rt_is_input_route(const struct rtable *rt) in rt_is_input_route() argument 78 static inline bool rt_is_output_route(const struct rtable *rt) in rt_is_output_route() 83 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop() 115 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp, 117 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp, 121 static inline struct rtable *__ip_route_output_key(struct net *net, in __ip_route_output_key() 127 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp, 132 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() 137 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output() [all …]
|
D | ip_fib.h | 55 struct rtable; 65 struct rtable __rcu *fnhe_rth_input; 66 struct rtable __rcu *fnhe_rth_output; 96 struct rtable __rcu * __percpu *nh_pcpu_rth_output; 97 struct rtable __rcu *nh_rth_input;
|
D | ip.h | 141 struct rtable; 175 struct rtable **rt, 191 struct ipcm_cookie *ipc, struct rtable **rtp, 366 const struct rtable *rt = (const struct rtable *)dst; in ip_mtu_locked() 630 __be32 daddr, struct rtable *rt, int is_frag);
|
D | dst_cache.h | 33 struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr);
|
D | dsa.h | 87 s8 rtable[DSA_MAX_SWITCHES]; member 244 s8 rtable[DSA_MAX_SWITCHES]; member 314 return ds->rtable[device]; in dsa_towards_port()
|
/Linux-v4.19/net/ipv4/ |
D | route.c | 423 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired() 439 const struct rtable *rt; in ipv4_neigh_lookup() 442 rt = (const struct rtable *) dst; in ipv4_neigh_lookup() 458 const struct rtable *rt; in ipv4_confirm_neigh() 460 rt = (const struct rtable *)dst; in ipv4_confirm_neigh() 582 struct rtable *rt; in fnhe_flush_routes() 622 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe() 640 struct rtable *rt; in update_or_create_fnhe() 712 struct rtable __rcu **prt; in update_or_create_fnhe() 726 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect() [all …]
|
D | ip_output.c | 147 struct rtable *rt = skb_rtable(skb); in ip_build_and_send_pkt() 187 struct rtable *rt = (struct rtable *)dst; in ip_finish_output2() 336 struct rtable *rt = skb_rtable(skb); in ip_mc_output() 433 struct rtable *rt; in __ip_queue_xmit() 448 rt = (struct rtable *)__sk_dst_check(sk, 0); in __ip_queue_xmit() 580 struct rtable *rt = skb_rtable(skb); in ip_do_fragment() 881 struct rtable *rt = (struct rtable *)cork->dst; in __ip_append_data() 1119 struct ipcm_cookie *ipc, struct rtable **rtp) in ip_setup_cork() 1122 struct rtable *rt; in ip_setup_cork() 1179 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_append_data() [all …]
|
D | icmp.c | 314 static bool icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow() 369 struct ipcm_cookie *ipc, struct rtable **rt) in icmp_push_reply() 405 struct rtable *rt = skb_rtable(skb); in icmp_reply() 464 static struct rtable *icmp_route_lookup(struct net *net, in icmp_route_lookup() 472 struct rtable *rt, *rt2; in icmp_route_lookup() 496 rt = (struct rtable *) xfrm_lookup(net, &rt->dst, in icmp_route_lookup() 539 rt2 = (struct rtable *) xfrm_lookup(net, &rt2->dst, in icmp_route_lookup() 578 struct rtable *rt = skb_rtable(skb_in); in icmp_send() 996 struct rtable *rt = skb_rtable(skb); in icmp_rcv()
|
D | netfilter.c | 23 struct rtable *rt; in ip_route_me_harder() 104 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
|
D | datagram.c | 28 struct rtable *rt; in __ip4_datagram_connect() 109 struct rtable *rt; in ip4_datagram_release_cb()
|
D | ip_options.c | 45 __be32 daddr, struct rtable *rt, int is_frag) in ip_options_build() 259 struct rtable *rt = NULL; in ip_options_compile() 560 struct rtable *rt = skb_rtable(skb); in ip_forward_options() 610 struct rtable *rt = skb_rtable(skb); in ip_options_rcv_srr() 611 struct rtable *rt2; in ip_options_rcv_srr()
|
D | xfrm4_policy.c | 27 struct rtable *rt; in __xfrm4_dst_lookup() 86 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
|
D | arp.c | 435 struct rtable *rt; in arp_filter() 455 struct net_device *dev, struct rtable *rt) in arp_fwd_proxy() 500 struct net_device *dev, struct rtable *rt, in arp_fwd_pvlan() 685 struct rtable *rt; in arp_process() 1036 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_set() 1162 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_delete()
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | ibmphp_core.c | 122 struct irq_routing_table *rtable; in ibmphp_init_devno() local 127 rtable = pcibios_get_irq_routing_table(); in ibmphp_init_devno() 128 if (!rtable) { in ibmphp_init_devno() 133 len = (rtable->size - sizeof(struct irq_routing_table)) / in ibmphp_init_devno() 137 kfree(rtable); in ibmphp_init_devno() 141 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno() 142 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno() 143 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); in ibmphp_init_devno() 158 rtable->exclusive_irqs); in ibmphp_init_devno() 160 rtable->slots[loop].irq[0].bitmap); in ibmphp_init_devno() [all …]
|
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | io.h | 98 return wlcore_raw_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_read_data() 105 return wlcore_raw_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_write_data() 156 return wlcore_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_write_data() 163 return wlcore_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_read_data() 197 wlcore_translate_addr(wl, wl->rtable[reg]), in wlcore_read_reg() 205 wlcore_translate_addr(wl, wl->rtable[reg]), in wlcore_write_reg()
|
/Linux-v4.19/net/core/ |
D | dst_cache.c | 76 struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr) in dst_cache_get_ip4() 90 return container_of(dst, struct rtable, dst); in dst_cache_get_ip4()
|
/Linux-v4.19/net/dsa/ |
D | legacy.c | 166 memcpy(ds->rtable, cd->rtable, sizeof(ds->rtable)); in dsa_switch_setup_one() 352 cd->rtable[link_sw_addr] = port_index; in dsa_of_setup_routing_table() 465 cd->rtable[i] = DSA_RTABLE_NONE; in dsa_of_probe()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | addr.c | 335 struct rtable *rt; in has_gateway() 339 rt = container_of(dst, struct rtable, dst); in has_gateway() 369 struct rtable **prt) in addr4_resolve() 373 struct rtable *rt; in addr4_resolve() 492 struct rtable *rt = NULL; in addr_resolve()
|
/Linux-v4.19/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 124 static struct rtable *do_output_route4(struct net *net, __be32 daddr, in do_output_route4() 128 struct rtable *rt; in do_output_route4() 209 struct rtable *ort = skb_rtable(skb); in maybe_update_pmtu() 315 struct rtable *rt; /* Route to the other host */ in __ip_vs_get_out_rt() 322 rt = (struct rtable *) dest_dst->dst_cache; in __ip_vs_get_out_rt() 739 struct rtable *rt; /* Route to the other host */ in ip_vs_nat_xmit() 1017 struct rtable *rt; /* Route to the other host */ in ip_vs_tunnel_xmit() 1269 struct rtable *rt; /* Route to the other host */ in ip_vs_icmp_xmit()
|
/Linux-v4.19/net/bridge/ |
D | br_nf_core.c | 77 struct rtable *rt = &br->fake_rtable; in br_netfilter_rtable_init()
|
/Linux-v4.19/net/mpls/ |
D | mpls_iptunnel.c | 50 struct rtable *rt = NULL; in mpls_xmit() 91 rt = (struct rtable *)dst; in mpls_xmit()
|
/Linux-v4.19/include/net/netfilter/ |
D | br_netfilter.h | 43 static inline struct rtable *bridge_parent_rtable(const struct net_device *dev) in bridge_parent_rtable()
|
/Linux-v4.19/drivers/net/ |
D | vrf.c | 49 struct rtable __rcu *rth; 257 struct rtable *rt; in vrf_process_v4_outbound() 548 struct rtable *rt = (struct rtable *)dst; in vrf_finish_output() 616 struct rtable *rth; in vrf_ip_out_redirect() 708 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() 730 struct rtable *rth; in vrf_rtable_create()
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | nf_dup_ipv4.c | 30 struct rtable *rt; in nf_dup_ipv4_route()
|
/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_broadcast.c | 29 struct rtable *rt = skb_rtable(skb); in nf_conntrack_broadcast_help()
|