Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
Droute.h52 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 *, struct flowi4 *flp,
120 static inline struct rtable *__ip_route_output_key(struct net *net, in __ip_route_output_key()
126 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
131 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key()
136 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output()
148 static inline struct rtable *ip_route_output_ports(struct net *net, struct flowi4 *fl4, in ip_route_output_ports()
[all …]
Dl3mdev.h30 struct rtable * (*l3mdev_get_rtable)(const struct net_device *dev,
87 static inline struct rtable *l3mdev_get_rtable(const struct net_device *dev, in l3mdev_get_rtable()
195 static inline struct rtable *l3mdev_get_rtable(const struct net_device *dev, in l3mdev_get_rtable()
Dip_fib.h52 struct rtable;
61 struct rtable __rcu *fnhe_rth_input;
62 struct rtable __rcu *fnhe_rth_output;
92 struct rtable __rcu * __percpu *nh_pcpu_rth_output;
93 struct rtable __rcu *nh_rth_input;
Ddsa.h66 s8 *rtable; member
197 return ds->pd->rtable[dst->cpu_switch]; in dsa_upstream_port()
Dip.h94 struct rtable;
125 struct rtable **rt,
141 struct ipcm_cookie *ipc, struct rtable **rtp,
531 __be32 daddr, struct rtable *rt, int is_frag);
Dudp_tunnel.h81 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb,
Dinet_sock.h136 struct rtable;
Dip_tunnels.h277 int iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb,
Ddst.h107 struct rtable __rcu *rt_next;
Dxfrm.h944 struct rtable rt;
/linux-4.4.14/net/ipv4/
Droute.c433 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired()
449 const struct rtable *rt; in ipv4_neigh_lookup()
452 rt = (const struct rtable *) dst; in ipv4_neigh_lookup()
562 static inline void rt_free(struct rtable *rt) in rt_free()
571 struct rtable *rt; in fnhe_flush_routes()
609 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe()
626 struct rtable *rt; in update_or_create_fnhe()
691 struct rtable __rcu **prt; in update_or_create_fnhe()
705 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
787 struct rtable *rt; in ip_do_redirect()
[all …]
Dip_output.c139 struct rtable *rt = skb_rtable(skb); in ip_build_and_send_pkt()
178 struct rtable *rt = (struct rtable *)dst; in ip_finish_output2()
290 struct rtable *rt = skb_rtable(skb); in ip_mc_output()
386 struct rtable *rt; in ip_queue_xmit()
401 rt = (struct rtable *)__sk_dst_check(sk, 0); in ip_queue_xmit()
532 struct rtable *rt = skb_rtable(skb); in ip_do_fragment()
887 struct rtable *rt = (struct rtable *)cork->dst; in __ip_append_data()
1116 struct ipcm_cookie *ipc, struct rtable **rtp) in ip_setup_cork()
1119 struct rtable *rt; in ip_setup_cork()
1170 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_append_data()
[all …]
Dicmp.c289 static bool icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow()
356 struct ipcm_cookie *ipc, struct rtable **rt) in icmp_push_reply()
392 struct rtable *rt = skb_rtable(skb); in icmp_reply()
459 static struct rtable *icmp_route_lookup(struct net *net, in icmp_route_lookup()
467 struct rtable *rt, *rt2; in icmp_route_lookup()
491 rt = (struct rtable *) xfrm_lookup(net, &rt->dst, in icmp_route_lookup()
534 rt2 = (struct rtable *) xfrm_lookup(net, &rt2->dst, in icmp_route_lookup()
573 struct rtable *rt = skb_rtable(skb_in); in icmp_send()
978 struct rtable *rt = skb_rtable(skb); in icmp_rcv()
Ddatagram.c28 struct rtable *rt; in __ip4_datagram_connect()
109 struct rtable *rt; in ip4_datagram_release_cb()
Dip_options.c44 __be32 daddr, struct rtable *rt, int is_frag) in ip_options_build()
262 struct rtable *rt = NULL; in ip_options_compile()
564 struct rtable *rt = skb_rtable(skb); in ip_forward_options()
614 struct rtable *rt = skb_rtable(skb); in ip_options_rcv_srr()
615 struct rtable *rt2; in ip_options_rcv_srr()
Dnetfilter.c23 struct rtable *rt; in ip_route_me_harder()
178 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
Dxfrm4_policy.c27 struct rtable *rt; in __xfrm4_dst_lookup()
83 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
Darp.c430 struct rtable *rt; in arp_filter()
450 struct net_device *dev, struct rtable *rt) in arp_fwd_proxy()
495 struct net_device *dev, struct rtable *rt, in arp_fwd_pvlan()
654 struct rtable *rt; in arp_process()
984 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_set()
1106 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_delete()
Dip_forward.c82 struct rtable *rt; /* Route we use */ in ip_forward()
Dudp_tunnel.c77 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, in udp_tunnel_xmit_skb()
Dip_tunnel.c103 static struct rtable *tunnel_rtable_get(struct ip_tunnel *t, in tunnel_rtable_get()
124 return (struct rtable *)dst; in tunnel_rtable_get()
376 struct rtable *rt; in ip_tunnel_bind_dev()
600 struct rtable *rt, __be16 df, in tnl_update_pmtu()
657 struct rtable *rt; /* Route to the other host */ in ip_tunnel_xmit()
Dfib_semantics.c143 static void rt_fibinfo_free(struct rtable __rcu **rtp) in rt_fibinfo_free()
145 struct rtable *rt = rcu_dereference_protected(*rtp, 1); in rt_fibinfo_free()
186 static void rt_fibinfo_free_cpus(struct rtable __rcu * __percpu *rtp) in rt_fibinfo_free_cpus()
194 struct rtable *rt; in rt_fibinfo_free_cpus()
1058 nexthop_nh->nh_pcpu_rth_output = alloc_percpu(struct rtable __rcu *); in fib_create_info()
Dip_gre.c506 static struct rtable *gre_get_rt(struct sk_buff *skb, in gre_get_rt()
528 struct rtable *rt; in gre_fb_xmit()
586 struct rtable *rt; in gre_fill_metadata_dst()
774 struct rtable *rt; in ipgre_open()
Dinet_connection_sock.c416 struct rtable *rt; in inet_csk_route_req()
449 struct rtable *rt; in inet_csk_route_child_sock()
927 struct rtable *rt; in inet_csk_rebuild_route()
Dip_input.c317 struct rtable *rt; in ip_rcv_finish()
Draw.c340 struct rtable **rtp, in raw_send_hdrinc()
349 struct rtable *rt = *rtp; in raw_send_hdrinc()
491 struct rtable *rt = NULL; in raw_sendmsg()
Dsyncookies.c306 struct rtable *rt; in cookie_v4_check()
Dip_tunnel_core.c51 int iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, in iptunnel_xmit()
Daf_inet.c1106 struct rtable *rt; in inet_sk_reselect_saddr()
1152 struct rtable *rt = (struct rtable *)__sk_dst_check(sk, 0); in inet_sk_rebuild_header()
Dudp.c887 struct rtable *rt = NULL; in udp_sendmsg()
1017 rt = (struct rtable *)sk_dst_check(sk, 0); in udp_sendmsg()
1761 struct rtable *rt = skb_rtable(skb); in __udp4_lib_rcv()
Digmp.c328 struct rtable *rt; in igmpv3_newpack()
678 struct rtable *rt; in igmp_send_report()
1711 struct rtable *rt = ip_route_output(net, in ip_mc_find_dev()
Dping.c705 struct rtable *rt = NULL; in ping_v4_sendmsg()
Dfib_frontend.c282 struct rtable *rt; in fib_compute_spec_dst()
Dipmr.c1698 struct rtable *rt; in ipmr_queue_xmit()
1925 struct rtable *rt = skb_rtable(skb); in ipmr_rt_fib_lookup()
Dtcp_ipv4.c149 struct rtable *rt; in tcp_v4_connect()
/linux-4.4.14/drivers/pci/hotplug/
Dibmphp_core.c138 struct irq_routing_table *rtable; in ibmphp_init_devno() local
143 rtable = pcibios_get_irq_routing_table(); in ibmphp_init_devno()
144 if (!rtable) { in ibmphp_init_devno()
149 len = (rtable->size - sizeof(struct irq_routing_table)) / in ibmphp_init_devno()
153 kfree(rtable); in ibmphp_init_devno()
157 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno()
158 (*cur_slot)->bus == rtable->slots[loop].bus) { in ibmphp_init_devno()
159 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); in ibmphp_init_devno()
174 rtable->exclusive_irqs); in ibmphp_init_devno()
176 rtable->slots[loop].irq[0].bitmap); in ibmphp_init_devno()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dio.h97 return wlcore_raw_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_read_data()
104 return wlcore_raw_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_raw_write_data()
155 return wlcore_write(wl, wl->rtable[reg], buf, len, fixed); in wlcore_write_data()
162 return wlcore_read(wl, wl->rtable[reg], buf, len, fixed); in wlcore_read_data()
196 wlcore_translate_addr(wl, wl->rtable[reg]), in wlcore_read_reg()
204 wlcore_translate_addr(wl, wl->rtable[reg]), in wlcore_write_reg()
Dwlcore.h431 const int *rtable; member
/linux-4.4.14/drivers/net/
Dvrf.c60 struct rtable *rth;
272 struct rtable *rt; in vrf_send_v4_prep()
517 struct rtable *rt = (struct rtable *)dst; in vrf_finish_output()
579 static struct rtable *vrf_rtable_create(struct net_device *dev) in vrf_rtable_create()
582 struct rtable *rth; in vrf_rtable_create()
790 static struct rtable *vrf_get_rtable(const struct net_device *dev, in vrf_get_rtable()
793 struct rtable *rth = NULL; in vrf_get_rtable()
989 sizeof(struct rtable), 0, in vrf_init_module()
Dgeneve.c639 static int geneve_build_skb(struct rtable *rt, struct sk_buff *skb, in geneve_build_skb()
711 static struct rtable *geneve_get_v4_rt(struct sk_buff *skb, in geneve_get_v4_rt()
717 struct rtable *rt = NULL; in geneve_get_v4_rt()
817 struct rtable *rt = NULL; in geneve_xmit_skb()
1012 struct rtable *rt; in geneve_fill_metadata_dst()
Dvxlan.c1771 static int vxlan_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, in vxlan_xmit_skb()
1924 struct rtable *rt = NULL; in vxlan_xmit_one()
2409 struct rtable *rt; in egress_ipv4_tun_info()
/linux-4.4.14/net/openvswitch/
Dvport.h201 static inline struct rtable *ovs_tunnel_route_lookup(struct net *net, in ovs_tunnel_route_lookup()
207 struct rtable *rt; in ovs_tunnel_route_lookup()
/linux-4.4.14/net/mpls/
Dmpls_iptunnel.c49 struct rtable *rt = NULL; in mpls_output()
59 rt = (struct rtable *)dst; in mpls_output()
Daf_mpls.c442 struct rtable *rt; in inet_fib_lookup_dev()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_xmit.c124 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()
266 struct rtable *rt; /* Route to the other host */ in __ip_vs_get_out_rt()
273 rt = (struct rtable *) dest_dst->dst_cache; in __ip_vs_get_out_rt()
696 struct rtable *rt; /* Route to the other host */ in ip_vs_nat_xmit()
979 struct rtable *rt; /* Route to the other host */ in ip_vs_tunnel_xmit()
1255 struct rtable *rt; /* Route to the other host */ in ip_vs_icmp_xmit()
/linux-4.4.14/net/dsa/
Ddsa.c620 if (!cd->rtable) { in dsa_of_setup_routing_table()
621 cd->rtable = kmalloc_array(pd->nr_chips, sizeof(s8), in dsa_of_setup_routing_table()
623 if (!cd->rtable) in dsa_of_setup_routing_table()
627 memset(cd->rtable, -1, pd->nr_chips * sizeof(s8)); in dsa_of_setup_routing_table()
630 cd->rtable[link_sw_addr] = port_index; in dsa_of_setup_routing_table()
671 kfree(pd->chip[i].rtable); in dsa_of_free_platform_data()
/linux-4.4.14/net/bridge/
Dbr_nf_core.c77 struct rtable *rt = &br->fake_rtable; in br_netfilter_rtable_init()
Dbr_netfilter_ipv6.c166 struct rtable *rt; in br_nf_pre_routing_finish_ipv6()
Dbr_private.h263 struct rtable fake_rtable;
Dbr_netfilter_hooks.c347 struct rtable *rt; in br_nf_pre_routing_finish()
/linux-4.4.14/include/net/netfilter/
Dbr_netfilter.h36 static inline struct rtable *bridge_parent_rtable(const struct net_device *dev) in bridge_parent_rtable()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_broadcast.c30 struct rtable *rt = skb_rtable(skb); in nf_conntrack_broadcast_help()
Dxt_TCPMSS.c52 struct rtable *rt = NULL; in tcpmss_reverse_mtu()
Dnf_conntrack_h323_main.c747 struct rtable *rt1, *rt2; in callforward_do_filter()
/linux-4.4.14/net/ipv4/netfilter/
Dnf_dup_ipv4.c30 struct rtable *rt; in nf_dup_ipv4_route()
Dipt_rpfilter.c68 const struct rtable *rt = skb_rtable(skb); in rpfilter_is_local()
Dnf_nat_masquerade_ipv4.c34 const struct rtable *rt; in nf_nat_masquerade_ipv4()
Dnf_nat_l3proto_ipv4.c131 struct rtable *rt = skb_rtable(skb); in nf_nat_ipv4_csum_recalc()
/linux-4.4.14/drivers/net/wan/
Dz85230.c1383 int z8530_channel_load(struct z8530_channel *c, u8 *rtable) in z8530_channel_load() argument
1389 while(*rtable!=255) in z8530_channel_load()
1391 int reg=*rtable++; in z8530_channel_load()
1394 write_zsreg(c, reg&0x0F, *rtable); in z8530_channel_load()
1397 c->regs[reg]=*rtable++; in z8530_channel_load()
/linux-4.4.14/net/atm/
Dclip.c335 struct rtable *rt; in clip_start_xmit()
347 rt = (struct rtable *) dst; in clip_start_xmit()
450 struct rtable *rt; in clip_setentry()
/linux-4.4.14/net/l2tp/
Dl2tp_ip.c395 struct rtable *rt = NULL; in l2tp_ip_sendmsg()
454 rt = (struct rtable *) __sk_dst_check(sk, 0); in l2tp_ip_sendmsg()
/linux-4.4.14/net/rxrpc/
Dar-peer.c38 struct rtable *rt; in rxrpc_assess_MTU_size()
/linux-4.4.14/arch/m68k/fpsp040/
Ddecbin.S437 leal RTABLE,%a1 |load rtable base
466 addl #12,%d3 |inc d3 to next rtable entry
/linux-4.4.14/drivers/net/ppp/
Dpptp.c186 struct rtable *rt; in pptp_xmit()
456 struct rtable *rt; in pptp_connect()
/linux-4.4.14/net/sctp/
Dprotocol.c427 struct rtable *rt; in sctp_v4_get_dst()
550 struct rtable *rt = (struct rtable *)t->dst; in sctp_v4_get_saddr()
/linux-4.4.14/net/dccp/
Dipv4.c50 struct rtable *rt; in dccp_v4_connect()
450 struct rtable *rt; in dccp_v4_route_skb()
/linux-4.4.14/net/tipc/
Dudp_media.c159 struct rtable *rt; in tipc_udp_send_msg()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
Diwch_cm.c335 static struct rtable *find_route(struct t3cdev *dev, __be32 local_ip, in find_route()
339 struct rtable *rt; in find_route()
1347 struct rtable *rt; in pass_accept_req()
1893 struct rtable *rt; in iwch_connect()
/linux-4.4.14/drivers/infiniband/core/
Daddr.c230 struct rtable *rt; in addr4_resolve()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c350 struct rtable *rt; in ipvlan_process_v4_outbound()
/linux-4.4.14/net/ipv6/
Dsit.c814 struct rtable *rt; /* Route to the other host */ in ipip6_tunnel_xmit()
1053 struct rtable *rt = ip_route_output_ports(tunnel->net, &fl4, in ipip6_tunnel_bind_dev()
Dip6_tunnel.c637 struct rtable *rt; in ip4ip6_err()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c583 static struct rtable *find_route_ipv4(struct flowi4 *fl4, in find_route_ipv4()
587 struct rtable *rt; in find_route_ipv4()
603 struct rtable *rt = NULL; in cxgbi_check_route()
/linux-4.4.14/include/linux/
Dskbuff.h792 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
794 return (struct rtable *)skb_dst(skb); in skb_rtable()
/linux-4.4.14/drivers/net/dsa/
Dmv88e6xxx.c2246 if (ds->pd->rtable && in mv88e6xxx_setup_global()
2248 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6xxx_setup_global()
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dmain.c1813 wl->rtable = wl12xx_rtable; in wl12xx_setup()
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dmain.c1899 wl->rtable = wl18xx_rtable; in wl18xx_setup()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_main.c2727 struct rtable *rt = (struct rtable *) dst; in qeth_l3_fill_header()
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunvnet.c1281 struct rtable *rt = NULL; in vnet_start_xmit()
/linux-4.4.14/drivers/net/bonding/
Dbond_main.c2347 struct rtable *rt; in bond_arp_send_all()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_cm.c1518 struct rtable *rt; in nes_addr_resolve_neigh()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcm.c417 struct rtable *rt; in find_route()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dcnic.c3680 struct rtable *rt; in cnic_get_v4_route()