Home
last modified time | relevance | path

Searched refs:rtable (Results 1 – 25 of 100) sorted by relevance

1234

/kernel/linux/linux-5.10/include/net/
Droute.h49 struct rtable { struct
75 static inline bool rt_is_input_route(const struct rtable *rt) in rt_is_input_route() argument
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_key(struct net *net, struct flowi4 *flp) in ip_route_output_key()
[all …]
Dip_fib.h56 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;
Ddst_cache.h33 struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr);
Dip.h145 struct rtable;
218 struct rtable **rt,
234 struct ipcm_cookie *ipc, struct rtable **rtp,
405 const struct rtable *rt = (const struct rtable *)dst; in ip_mtu_locked()
705 __be32 daddr, struct rtable *rt, int is_frag);
/kernel/linux/linux-5.10/net/ipv4/
Droute.c423 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired()
437 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_neigh_lookup()
464 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_confirm_neigh()
606 struct rtable *rt; in fnhe_flush_routes()
653 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe()
673 struct rtable *rt; in update_or_create_fnhe()
752 struct rtable __rcu **prt; in update_or_create_fnhe()
766 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
853 struct rtable *rt; in ip_do_redirect()
862 rt = (struct rtable *) dst; in ip_do_redirect()
[all …]
Dip_output.c150 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 *)cork->dst; in __ip_append_data()
1254 struct ipcm_cookie *ipc, struct rtable **rtp) in ip_setup_cork()
1257 struct rtable *rt; in ip_setup_cork()
[all …]
Dnetfilter.c23 struct rtable *rt; in ip_route_me_harder()
90 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
Dxfrm4_policy.c26 struct rtable *rt; in __xfrm4_dst_lookup()
74 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
Ddatagram.c25 struct rtable *rt; in __ip4_datagram_connect()
107 struct rtable *rt; in ip4_datagram_release_cb()
Dicmp.c314 static bool icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow()
370 struct ipcm_cookie *ipc, struct rtable **rt) in icmp_push_reply()
406 struct rtable *rt = skb_rtable(skb); in icmp_reply()
482 static struct rtable *icmp_route_lookup(struct net *net, in icmp_route_lookup()
491 struct rtable *rt, *rt2; in icmp_route_lookup()
516 rt = (struct rtable *) xfrm_lookup(net, &rt->dst, in icmp_route_lookup()
559 rt2 = (struct rtable *) xfrm_lookup(net, &rt2->dst, in icmp_route_lookup()
599 struct rtable *rt = skb_rtable(skb_in); in __icmp_send()
1065 struct rtable *rt = skb_rtable(skb); in icmp_rcv()
Dip_options.c45 __be32 daddr, struct rtable *rt, int is_frag) in ip_options_build()
260 struct rtable *rt = NULL; in __ip_options_compile()
555 struct rtable *rt = skb_rtable(skb); in ip_forward_options()
605 struct rtable *rt = skb_rtable(skb); in ip_options_rcv_srr()
606 struct rtable *rt2; in ip_options_rcv_srr()
Darp.c433 struct rtable *rt; in arp_filter()
453 struct net_device *dev, struct rtable *rt) in arp_fwd_proxy()
498 struct net_device *dev, struct rtable *rt, in arp_fwd_pvlan()
683 struct rtable *rt; in arp_process()
1038 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_set()
1169 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_delete()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dibmphp_core.c122 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Dio.h84 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/
Dipddp.c119 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-5.10/net/core/
Ddst_cache.c72 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/
Ddsa.h48 s8 rtable[DSA_MAX_SWITCHES]; member
/kernel/linux/linux-5.10/net/bridge/
Dbr_nf_core.c74 struct rtable *rt = &br->fake_rtable; in br_netfilter_rtable_init()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Daddr.c352 struct rtable *rt; in has_gateway()
356 rt = container_of(dst, struct rtable, dst); in has_gateway()
388 struct rtable **prt) in addr4_resolve()
396 struct rtable *rt; in addr4_resolve()
562 struct rtable *rt = NULL; in addr_resolve()
/kernel/linux/linux-5.10/include/net/netfilter/
Dbr_netfilter.h43 static inline struct rtable *bridge_parent_rtable(const struct net_device *dev) in bridge_parent_rtable()
/kernel/linux/linux-5.10/net/mpls/
Dmpls_iptunnel.c45 struct rtable *rt = NULL; in mpls_xmit()
86 rt = (struct rtable *)dst; in mpls_xmit()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_dup_ipv4.c27 struct rtable *rt; in nf_dup_ipv4_route()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_broadcast.c25 struct rtable *rt = skb_rtable(skb); in nf_conntrack_broadcast_help()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_xmit.c123 static struct rtable *do_output_route4(struct net *net, __be32 daddr, in do_output_route4()
127 struct rtable *rt; in do_output_route4()
208 struct rtable *ort = skb_rtable(skb); in maybe_update_pmtu()
314 struct rtable *rt; /* Route to the other host */ in __ip_vs_get_out_rt()
321 rt = (struct rtable *) dest_dst->dst_cache; in __ip_vs_get_out_rt()
768 struct rtable *rt; /* Route to the other host */ in ip_vs_nat_xmit()
1138 struct rtable *rt; /* Route to the other host */ in ip_vs_tunnel_xmit()
1512 struct rtable *rt; /* Route to the other host */ in ip_vs_icmp_xmit()
/kernel/linux/linux-5.10/net/dsa/
Ddsa2.c66 INIT_LIST_HEAD(&dst->rtable); in dsa_tree_alloc()
154 list_for_each_entry(dl, &dst->rtable, list) in dsa_link_touch()
166 list_add_tail(&dl->list, &dst->rtable); in dsa_link_touch()
654 list_for_each_entry_safe(dl, next, &dst->rtable, list) { in dsa_tree_teardown()

1234