Home
last modified time | relevance | path

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

1234

/linux/include/net/
H A Droute.h57 struct rtable { struct
80 #define dst_rtable(_ptr) container_of_const(_ptr, struct rtable, dst) argument
86 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
91 static inline bool rt_is_input_route(const struct rtable *rt) in rt_is_input_route()
96 static inline bool rt_is_output_route(const struct rtable *rt) in rt_is_output_route()
101 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop()
160 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp,
162 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp,
166 static inline struct rtable *__ip_route_output_key(struct net *net, in __ip_route_output_key()
172 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
[all …]
H A Dip_fib.h59 struct rtable;
69 struct rtable __rcu *fnhe_rth_input;
70 struct rtable __rcu *fnhe_rth_output;
102 struct rtable __rcu * __percpu *nhc_pcpu_rth_output;
103 struct rtable __rcu *nhc_rth_input;
H A Dip.h152 struct rtable;
226 struct rtable **rt,
240 struct ipcm_cookie *ipc, struct rtable **rtp,
432 const struct rtable *rt = dst_rtable(dst); in ip_mtu_locked()
470 const struct rtable *rt = dst_rtable(dst); in ip_dst_mtu_maybe_forward()
765 __be32 daddr, struct rtable *rt);
H A Ddst_cache.h33 struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr);
/linux/drivers/pci/hotplug/
H A Dibmphp_core.c114 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()
150 rtable->exclusive_irqs); in ibmphp_init_devno()
152 rtable->slots[loop].irq[0].bitmap); in ibmphp_init_devno()
[all …]
/linux/net/ipv4/
H A Droute.c396 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired()
416 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_neigh_lookup()
443 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_confirm_neigh()
578 struct rtable *rt; in fnhe_flush_routes()
630 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe()
650 struct rtable *rt; in update_or_create_fnhe()
729 struct rtable __rcu **prt; in update_or_create_fnhe()
773 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
860 struct rtable *rt; in ip_do_redirect()
878 struct rtable *rt = dst_rtable(dst); in ipv4_negative_advice()
[all …]
H A Ddatagram.c24 struct rtable *rt; in __ip4_datagram_connect()
107 struct rtable *rt; in ip4_datagram_release_cb()
H A Dip_output.c156 struct rtable *rt = skb_rtable(skb); in ip_build_and_send_pkt()
202 struct rtable *rt = dst_rtable(dst); in ip_finish_output2()
336 struct rtable *new_rt; in ip_mc_finish_output()
369 struct rtable *rt = skb_rtable(skb); in ip_mc_output()
469 struct rtable *rt; in __ip_queue_xmit()
766 struct rtable *rt = skb_rtable(skb); in ip_do_fragment()
976 struct rtable *rt = dst_rtable(cork->dst); in __ip_append_data()
1295 struct ipcm_cookie *ipc, struct rtable **rtp) in ip_setup_cork()
1298 struct rtable *rt; in ip_setup_cork()
1363 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_append_data()
[all …]
H A Dip_options.c45 __be32 daddr, struct rtable *rt) in ip_options_build()
247 struct rtable *rt = NULL; in __ip_options_compile()
546 struct rtable *rt = skb_rtable(skb); in ip_forward_options()
596 struct rtable *rt = skb_rtable(skb); in ip_options_rcv_srr()
597 struct rtable *rt2; in ip_options_rcv_srr()
H A Dudp_tunnel_core.c168 void udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, in udp_tunnel_xmit_skb()
225 struct rtable *udp_tunnel_dst_lookup(struct sk_buff *skb, in udp_tunnel_dst_lookup()
233 struct rtable *rt = NULL; in udp_tunnel_dst_lookup()
H A Dxfrm4_policy.c24 struct rtable *rt; in __xfrm4_dst_lookup()
69 struct rtable *rt = dst_rtable(xdst->route); in xfrm4_fill_dst()
H A Dicmp.c311 static bool icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow()
385 struct ipcm_cookie *ipc, struct rtable **rt) in icmp_push_reply()
418 struct rtable *rt = skb_rtable(skb); in icmp_reply()
494 static struct rtable *icmp_route_lookup(struct net *net, struct flowi4 *fl4, in icmp_route_lookup()
502 struct rtable *rt, *rt2; in icmp_route_lookup()
821 struct rtable *rt = skb_rtable(skb_in); in __icmp_send()
1450 struct rtable *rt = skb_rtable(skb); in icmp_rcv()
H A Dip_forward.c87 struct rtable *rt; /* Route we use */ in ip_forward()
H A Darp.c454 struct rtable *rt; in arp_filter()
475 struct net_device *dev, struct rtable *rt) in arp_fwd_proxy()
520 struct net_device *dev, struct rtable *rt, in arp_fwd_pvlan()
708 struct rtable *rt; in arp_process()
1038 struct rtable *rt; in arp_req_dev()
/linux/drivers/net/wireless/ti/wlcore/
H A 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()
/linux/net/bridge/
H A Dbr_nf_core.c70 struct rtable *rt = &br->fake_rtable; in br_netfilter_rtable_init()
/linux/include/net/netfilter/
H A Dbr_netfilter.h43 static inline struct rtable *bridge_parent_rtable(const struct net_device *dev) in bridge_parent_rtable()
/linux/net/netfilter/
H A Dnf_conntrack_broadcast.c28 struct rtable *rt = skb_rtable(skb); in nf_conntrack_broadcast_help()
/linux/net/netfilter/ipvs/
H A Dip_vs_xmit.c133 static struct rtable *do_output_route4(struct net *net, __be32 daddr, in do_output_route4()
137 struct rtable *rt; in do_output_route4()
211 struct rtable *ort = skb_rtable(skb); in maybe_update_pmtu()
323 struct rtable *rt; /* Route to the other host */ in __ip_vs_get_out_rt()
790 struct rtable *rt; /* Route to the other host */ in ip_vs_nat_xmit()
1152 struct rtable *rt; /* Route to the other host */ in ip_vs_tunnel_xmit()
1508 struct rtable *rt; /* Route to the other host */ in ip_vs_icmp_xmit()
/linux/drivers/net/ppp/
H A Dpptp.c132 static struct rtable *pptp_route_output(const struct pppox_sock *po, in pptp_route_output()
162 struct rtable *rt; in pptp_xmit()
422 struct rtable *rt; in pptp_connect()
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_cm.c97 struct rtable *rt; in cxgb_find_route()
/linux/net/sched/
H A Dsch_frag.c100 struct rtable sch_frag_rt = { 0 }; in sch_fragment()
/linux/drivers/net/
H A Dvrf.c115 struct rtable *rth;
497 struct rtable *rt; in vrf_process_v4_outbound()
799 struct rtable *rt = dst_rtable(dst); in vrf_finish_output()
857 struct rtable *rth; in vrf_ip_out_redirect()
963 struct rtable *rth = vrf->rth; in vrf_rtable_release()
972 struct rtable *rth; in vrf_rtable_create()
H A Dgtp.c348 static struct rtable *ip4_route_output_gtp(struct flowi4 *fl4, in ip4_route_output_gtp()
430 struct rtable *rt; in gtp0_send_echo_resp_ip()
658 struct rtable *rt; in gtp1u_send_echo_resp()
997 struct rtable *rt;
1022 struct pdp_ctx *pctx, struct rtable *rt, in gtp_set_pktinfo_ipv4()
1053 struct rtable *rt; in gtp_build_skb_outer_ip4()
2334 struct rtable *rt; in gtp_genl_send_echo_req()
/linux/net/core/
H A Ddst_cache.c81 struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr) in dst_cache_get_ip4()

1234