/kernel/linux/linux-5.10/include/net/ |
H A D | route.h | 49 struct rtable { struct 75 static inline bool rt_is_input_route(const struct rtable *rt) in rt_is_input_route() 80 static inline bool rt_is_output_route(const struct rtable *rt) in rt_is_output_route() 85 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop() 117 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp, 119 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp, 123 static inline struct rtable *__ip_route_output_key(struct net *net, in __ip_route_output_key() 129 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp, 131 struct rtable *ip_route_output_tunnel(struct sk_buff *skb, 140 static inline struct rtable *ip_route_output_ke [all...] |
H A D | ip_fib.h | 56 struct rtable; 66 struct rtable __rcu *fnhe_rth_input; 67 struct rtable __rcu *fnhe_rth_output; 98 struct rtable __rcu * __percpu *nhc_pcpu_rth_output; 99 struct rtable __rcu *nhc_rth_input;
|
/kernel/linux/linux-6.6/include/net/ |
H A D | route.h | 60 struct rtable { struct 83 static inline bool rt_is_input_route(const struct rtable *rt) in rt_is_input_route() 88 static inline bool rt_is_output_route(const struct rtable *rt) in rt_is_output_route() 93 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop() 125 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp, 127 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp, 131 static inline struct rtable *__ip_route_output_key(struct net *net, in __ip_route_output_key() 137 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp, 139 struct rtable *ip_route_output_tunnel(struct sk_buff *skb, 148 static inline struct rtable *ip_route_output_ke [all...] |
H A D | ip_fib.h | 57 struct rtable; 67 struct rtable __rcu *fnhe_rth_input; 68 struct rtable __rcu *fnhe_rth_output; 100 struct rtable __rcu * __percpu *nhc_pcpu_rth_output; 101 struct rtable __rcu *nhc_rth_input;
|
H A D | ip.h | 149 struct rtable; 222 struct rtable **rt, 236 struct ipcm_cookie *ipc, struct rtable **rtp, 420 const struct rtable *rt = (const struct rtable *)dst; in ip_mtu_locked() 455 const struct rtable *rt = container_of(dst, struct rtable, dst); in ip_dst_mtu_maybe_forward() 736 __be32 daddr, struct rtable *rt);
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | route.c | 424 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired() 438 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_neigh_lookup() 465 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_confirm_neigh() 607 struct rtable *rt; in fnhe_flush_routes() 654 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe() 674 struct rtable *rt; in update_or_create_fnhe() 753 struct rtable __rcu **prt; in update_or_create_fnhe() 767 static void __ip_do_redirect(struct rtable *r [all...] |
H A D | ip_output.c | 150 struct rtable *rt = skb_rtable(skb); in ip_build_and_send_pkt() 197 struct rtable *rt = (struct rtable *)dst; in ip_finish_output2() 337 struct rtable *new_rt; in ip_mc_finish_output() 370 struct rtable *rt = skb_rtable(skb); in ip_mc_output() 468 struct rtable *rt; in __ip_queue_xmit() 483 rt = (struct rtable *)__sk_dst_check(sk, 0); in __ip_queue_xmit() 773 struct rtable *rt = skb_rtable(skb); in ip_do_fragment() 990 struct rtable *rt = (struct rtable *)cor in __ip_append_data() [all...] |
H A D | netfilter.c | 23 struct rtable *rt; in ip_route_me_harder() 90 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
|
H A D | datagram.c | 25 struct rtable *rt; in __ip4_datagram_connect() 107 struct rtable *rt; in ip4_datagram_release_cb()
|
H A D | xfrm4_policy.c | 26 struct rtable *rt; in __xfrm4_dst_lookup() 74 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | route.c | 393 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired() 407 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_neigh_lookup() 434 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_confirm_neigh() 577 struct rtable *rt; in fnhe_flush_routes() 624 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe() 644 struct rtable *rt; in update_or_create_fnhe() 723 struct rtable __rcu **prt; in update_or_create_fnhe() 738 static void __ip_do_redirect(struct rtable *r [all...] |
H A D | ip_output.c | 152 struct rtable *rt = skb_rtable(skb); in ip_build_and_send_pkt() 199 struct rtable *rt = (struct rtable *)dst; in ip_finish_output2() 333 struct rtable *new_rt; in ip_mc_finish_output() 366 struct rtable *rt = skb_rtable(skb); in ip_mc_output() 461 struct rtable *rt; in __ip_queue_xmit() 476 rt = (struct rtable *)__sk_dst_check(sk, 0); in __ip_queue_xmit() 766 struct rtable *rt = skb_rtable(skb); in ip_do_fragment() 972 struct rtable *rt = (struct rtable *)cor in __ip_append_data() [all...] |
H A D | netfilter.c | 23 struct rtable *rt; in ip_route_me_harder() 89 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
|
H A D | datagram.c | 24 struct rtable *rt; in __ip4_datagram_connect() 107 struct rtable *rt; in ip4_datagram_release_cb()
|
H A D | xfrm4_policy.c | 26 struct rtable *rt; in __xfrm4_dst_lookup() 72 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A 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() 157 debug("rtable->exclusive_irqs = %x\n", in ibmphp_init_devno() 158 rtable in ibmphp_init_devno() [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | ibmphp_core.c | 114 struct irq_routing_table *rtable; in ibmphp_init_devno() local 119 rtable = pcibios_get_irq_routing_table(); in ibmphp_init_devno() 120 if (!rtable) { in ibmphp_init_devno() 125 len = (rtable->size - sizeof(struct irq_routing_table)) / in ibmphp_init_devno() 129 kfree(rtable); in ibmphp_init_devno() 133 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno() 134 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno() 135 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); in ibmphp_init_devno() 149 debug("rtable->exclusive_irqs = %x\n", in ibmphp_init_devno() 150 rtable in ibmphp_init_devno() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
H A D | io.h | 84 return wlcore_raw_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_read_data() 91 return wlcore_raw_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_write_data() 142 return wlcore_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_write_data() 149 return wlcore_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_read_data() 183 wlcore_translate_addr(wl, wl->rtable[reg]), in wlcore_read_reg() 191 wlcore_translate_addr(wl, wl->rtable[reg]), in wlcore_write_reg()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
H A D | io.h | 84 return wlcore_raw_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_read_data() 91 return wlcore_raw_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_write_data() 142 return wlcore_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_write_data() 149 return wlcore_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_read_data() 183 wlcore_translate_addr(wl, wl->rtable[reg]), in wlcore_read_reg() 191 wlcore_translate_addr(wl, wl->rtable[reg]), in wlcore_write_reg()
|
/kernel/linux/linux-5.10/drivers/net/appletalk/ |
H A D | ipddp.c | 119 struct rtable *rtable = skb_rtable(skb); in ipddp_xmit() local 125 if (rtable->rt_gw_family == AF_INET) in ipddp_xmit() 126 paddr = rtable->rt_gw4; in ipddp_xmit()
|
/kernel/linux/linux-6.6/drivers/net/appletalk/ |
H A D | ipddp.c | 121 struct rtable *rtable = skb_rtable(skb); in ipddp_xmit() local 127 if (rtable->rt_gw_family == AF_INET) in ipddp_xmit() 128 paddr = rtable->rt_gw4; in ipddp_xmit()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | dst_cache.c | 72 struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr) in dst_cache_get_ip4() 86 return container_of(dst, struct rtable, dst); in dst_cache_get_ip4()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | dst_cache.c | 72 struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr) in dst_cache_get_ip4() 86 return container_of(dst, struct rtable, dst); in dst_cache_get_ip4()
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | dsa.h | 48 s8 rtable[DSA_MAX_SWITCHES]; member
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | dsa.h | 48 s8 rtable[DSA_MAX_SWITCHES]; member
|