/linux-4.1.27/include/net/ |
D | route.h | 50 struct rtable { struct 71 static inline bool rt_is_input_route(const struct rtable *rt) in rt_is_input_route() argument 76 static inline bool rt_is_output_route(const struct rtable *rt) in rt_is_output_route() 81 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop() 113 struct rtable *__ip_route_output_key(struct net *, struct flowi4 *flp); 114 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp, 119 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() 124 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output() 136 static inline struct rtable *ip_route_output_ports(struct net *net, struct flowi4 *fl4, in ip_route_output_ports() 151 static inline struct rtable *ip_route_output_gre(struct net *net, struct flowi4 *fl4, in ip_route_output_gre() [all …]
|
D | ip_fib.h | 50 struct rtable; 59 struct rtable __rcu *fnhe_rth_input; 60 struct rtable __rcu *fnhe_rth_output; 90 struct rtable __rcu * __percpu *nh_pcpu_rth_output; 91 struct rtable __rcu *nh_rth_input;
|
D | dsa.h | 66 s8 *rtable; member 192 return ds->pd->rtable[dst->cpu_switch]; in dsa_upstream_port()
|
D | ip.h | 93 struct rtable; 129 struct rtable **rt, 145 struct ipcm_cookie *ipc, struct rtable **rtp, 504 __be32 daddr, struct rtable *rt, int is_frag);
|
D | geneve.h | 89 int geneve_xmit_skb(struct geneve_sock *gs, struct rtable *rt,
|
D | udp_tunnel.h | 80 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb,
|
D | vxlan.h | 148 int vxlan_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb,
|
D | inet_sock.h | 136 struct rtable;
|
D | ip_tunnels.h | 198 int iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb,
|
D | dst.h | 102 struct rtable __rcu *rt_next;
|
D | xfrm.h | 941 struct rtable rt;
|
/linux-4.1.27/net/ipv4/ |
D | route.c | 429 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired() 445 const struct rtable *rt; in ipv4_neigh_lookup() 448 rt = (const struct rtable *) dst; in ipv4_neigh_lookup() 560 static inline void rt_free(struct rtable *rt) in rt_free() 569 struct rtable *rt; in fnhe_flush_routes() 607 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe() 624 struct rtable *rt; in update_or_create_fnhe() 689 struct rtable __rcu **prt; in update_or_create_fnhe() 703 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect() 785 struct rtable *rt; in ip_do_redirect() [all …]
|
D | ip_output.c | 138 struct rtable *rt = skb_rtable(skb); in ip_build_and_send_pkt() 174 struct rtable *rt = (struct rtable *)dst; in ip_finish_output2() 282 struct rtable *rt = skb_rtable(skb); in ip_mc_output() 375 struct rtable *rt; in ip_queue_xmit() 390 rt = (struct rtable *)__sk_dst_check(sk, 0); in ip_queue_xmit() 499 struct rtable *rt = skb_rtable(skb); in ip_fragment() 860 struct rtable *rt = (struct rtable *)cork->dst; in __ip_append_data() 1088 struct ipcm_cookie *ipc, struct rtable **rtp) in ip_setup_cork() 1091 struct rtable *rt; in ip_setup_cork() 1142 struct ipcm_cookie *ipc, struct rtable **rtp, in ip_append_data() [all …]
|
D | icmp.c | 288 static bool icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow() 354 struct ipcm_cookie *ipc, struct rtable **rt) in icmp_push_reply() 390 struct rtable *rt = skb_rtable(skb); in icmp_reply() 440 static struct rtable *icmp_route_lookup(struct net *net, in icmp_route_lookup() 448 struct rtable *rt, *rt2; in icmp_route_lookup() 469 rt = (struct rtable *) xfrm_lookup(net, &rt->dst, in icmp_route_lookup() 510 rt2 = (struct rtable *) xfrm_lookup(net, &rt2->dst, in icmp_route_lookup() 549 struct rtable *rt = skb_rtable(skb_in); in icmp_send() 954 struct rtable *rt = skb_rtable(skb); in icmp_rcv()
|
D | datagram.c | 28 struct rtable *rt; in __ip4_datagram_connect() 109 struct rtable *rt; in ip4_datagram_release_cb()
|
D | ip_options.c | 44 __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()
|
D | xfrm4_policy.c | 26 struct rtable *rt; in __xfrm4_dst_lookup() 79 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
|
D | netfilter.c | 24 struct rtable *rt; in ip_route_me_harder() 179 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
|
D | arp.c | 391 struct rtable *rt; in arp_filter() 411 struct net_device *dev, struct rtable *rt) in arp_fwd_proxy() 456 struct net_device *dev, struct rtable *rt, in arp_fwd_pvlan() 635 struct rtable *rt; in arp_process() 953 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_set() 1073 struct rtable *rt = ip_route_output(net, ip, 0, RTO_ONLINK, 0); in arp_req_delete()
|
D | ip_forward.c | 78 struct rtable *rt; /* Route we use */ in ip_forward()
|
D | udp_tunnel.c | 78 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, in udp_tunnel_xmit_skb()
|
D | fib_semantics.c | 143 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() 827 nexthop_nh->nh_pcpu_rth_output = alloc_percpu(struct rtable __rcu *); in fib_create_info()
|
D | ip_tunnel.c | 103 static struct rtable *tunnel_rtable_get(struct ip_tunnel *t, in tunnel_rtable_get() 124 return (struct rtable *)dst; in tunnel_rtable_get() 369 struct rtable *rt; in ip_tunnel_bind_dev() 589 struct rtable *rt, __be16 df, in tnl_update_pmtu() 646 struct rtable *rt; /* Route to the other host */ in ip_tunnel_xmit()
|
D | ip_tunnel_core.c | 49 int iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, in iptunnel_xmit()
|
D | inet_connection_sock.c | 409 struct rtable *rt; in inet_csk_route_req() 442 struct rtable *rt; in inet_csk_route_child_sock() 941 struct rtable *rt; in inet_csk_rebuild_route()
|
D | ip_input.c | 316 struct rtable *rt; in ip_rcv_finish()
|
D | raw.c | 340 struct rtable **rtp, in raw_send_hdrinc() 349 struct rtable *rt = *rtp; in raw_send_hdrinc() 487 struct rtable *rt = NULL; in raw_sendmsg()
|
D | syncookies.c | 303 struct rtable *rt; in cookie_v4_check()
|
D | af_inet.c | 1111 struct rtable *rt; in inet_sk_reselect_saddr() 1157 struct rtable *rt = (struct rtable *)__sk_dst_check(sk, 0); in inet_sk_rebuild_header()
|
D | geneve.c | 106 int geneve_xmit_skb(struct geneve_sock *gs, struct rtable *rt, in geneve_xmit_skb()
|
D | udp.c | 884 struct rtable *rt = NULL; in udp_sendmsg() 1014 rt = (struct rtable *)sk_dst_check(sk, 0); in udp_sendmsg() 1750 struct rtable *rt = skb_rtable(skb); in __udp4_lib_rcv()
|
D | ip_gre.c | 414 struct rtable *rt; in ipgre_open()
|
D | igmp.c | 325 struct rtable *rt; in igmpv3_newpack() 671 struct rtable *rt; in igmp_send_report() 1523 struct rtable *rt = ip_route_output(net, in ip_mc_find_dev()
|
D | fib_frontend.c | 259 struct rtable *rt; in fib_compute_spec_dst()
|
D | ping.c | 704 struct rtable *rt = NULL; in ping_v4_sendmsg()
|
D | ipmr.c | 1706 struct rtable *rt; in ipmr_queue_xmit() 1933 struct rtable *rt = skb_rtable(skb); in ipmr_rt_fib_lookup()
|
D | tcp_ipv4.c | 149 struct rtable *rt; in tcp_v4_connect()
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | ibmphp_core.c | 138 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.1.27/drivers/net/wireless/ti/wlcore/ |
D | io.h | 97 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()
|
D | wlcore.h | 431 const int *rtable; member
|
/linux-4.1.27/net/openvswitch/ |
D | vport.h | 241 static inline struct rtable *ovs_tunnel_route_lookup(struct net *net, in ovs_tunnel_route_lookup() 247 struct rtable *rt; in ovs_tunnel_route_lookup()
|
D | vport-gre.c | 139 struct rtable *rt; in gre_tnl_send()
|
D | vport-geneve.c | 179 struct rtable *rt; in geneve_tnl_send()
|
D | vport-vxlan.c | 229 struct rtable *rt; in vxlan_tnl_send()
|
D | vport.c | 584 struct rtable *rt; in ovs_tunnel_get_egress_info()
|
/linux-4.1.27/drivers/net/dsa/ |
D | mv88e6131.c | 103 if (ds->pd->rtable && in mv88e6131_setup_global() 105 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6131_setup_global()
|
D | mv88e6123_61_65.c | 113 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6123_61_65_setup_global()
|
D | mv88e6171.c | 100 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6171_setup_global()
|
D | mv88e6352.c | 105 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6352_setup_global()
|
/linux-4.1.27/net/dsa/ |
D | dsa.c | 542 if (!cd->rtable) { in dsa_of_setup_routing_table() 543 cd->rtable = kmalloc_array(pd->nr_chips, sizeof(s8), in dsa_of_setup_routing_table() 545 if (!cd->rtable) in dsa_of_setup_routing_table() 549 memset(cd->rtable, -1, pd->nr_chips * sizeof(s8)); in dsa_of_setup_routing_table() 552 cd->rtable[link_sw_addr] = port_index; in dsa_of_setup_routing_table() 568 kfree(pd->chip[i].rtable); in dsa_of_free_platform_data()
|
/linux-4.1.27/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() 265 struct rtable *rt; /* Route to the other host */ in __ip_vs_get_out_rt() 272 rt = (struct rtable *) dest_dst->dst_cache; in __ip_vs_get_out_rt() 680 struct rtable *rt; /* Route to the other host */ in ip_vs_nat_xmit() 961 struct rtable *rt; /* Route to the other host */ in ip_vs_tunnel_xmit() 1234 struct rtable *rt; /* Route to the other host */ in ip_vs_icmp_xmit()
|
/linux-4.1.27/net/bridge/ |
D | br_nf_core.c | 77 struct rtable *rt = &br->fake_rtable; in br_netfilter_rtable_init()
|
D | br_netfilter.c | 128 static inline struct rtable *bridge_parent_rtable(const struct net_device *dev) in bridge_parent_rtable() 279 struct rtable *rt; in br_nf_pre_routing_finish_ipv6() 399 struct rtable *rt; in br_nf_pre_routing_finish()
|
D | br_private.h | 217 struct rtable fake_rtable;
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_broadcast.c | 30 struct rtable *rt = skb_rtable(skb); in nf_conntrack_broadcast_help()
|
D | xt_TEE.c | 61 struct rtable *rt; in tee_tg_route4()
|
D | xt_TCPMSS.c | 52 struct rtable *rt = NULL; in tcpmss_reverse_mtu()
|
D | nf_conntrack_h323_main.c | 747 struct rtable *rt1, *rt2; in callforward_do_filter()
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | nf_nat_masquerade_ipv4.c | 34 const struct rtable *rt; in nf_nat_masquerade_ipv4()
|
D | ipt_rpfilter.c | 71 const struct rtable *rt = skb_rtable(skb); in rpfilter_is_local()
|
D | nf_nat_l3proto_ipv4.c | 131 struct rtable *rt = skb_rtable(skb); in nf_nat_ipv4_csum_recalc()
|
/linux-4.1.27/drivers/net/wan/ |
D | z85230.c | 1383 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.1.27/net/atm/ |
D | clip.c | 332 struct rtable *rt; in clip_start_xmit() 344 rt = (struct rtable *) dst; in clip_start_xmit() 447 struct rtable *rt; in clip_setentry()
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_ip.c | 393 struct rtable *rt = NULL; in l2tp_ip_sendmsg() 452 rt = (struct rtable *) __sk_dst_check(sk, 0); in l2tp_ip_sendmsg()
|
/linux-4.1.27/net/rxrpc/ |
D | ar-peer.c | 38 struct rtable *rt; in rxrpc_assess_MTU_size()
|
/linux-4.1.27/arch/m68k/fpsp040/ |
D | decbin.S | 437 leal RTABLE,%a1 |load rtable base 466 addl #12,%d3 |inc d3 to next rtable entry
|
/linux-4.1.27/drivers/net/ppp/ |
D | pptp.c | 187 struct rtable *rt; in pptp_xmit() 457 struct rtable *rt; in pptp_connect()
|
/linux-4.1.27/net/sctp/ |
D | protocol.c | 427 struct rtable *rt; in sctp_v4_get_dst() 530 struct rtable *rt = (struct rtable *)t->dst; in sctp_v4_get_saddr()
|
/linux-4.1.27/net/dccp/ |
D | ipv4.c | 50 struct rtable *rt; in dccp_v4_connect() 479 struct rtable *rt; in dccp_v4_route_skb()
|
/linux-4.1.27/net/tipc/ |
D | udp_media.c | 158 struct rtable *rt; in tipc_udp_send_msg()
|
/linux-4.1.27/drivers/infiniband/core/ |
D | addr.c | 231 struct rtable *rt; in addr4_resolve()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 335 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.1.27/drivers/net/ipvlan/ |
D | ipvlan_core.c | 342 struct rtable *rt; in ipvlan_process_v4_outbound()
|
/linux-4.1.27/net/ipv6/ |
D | sit.c | 814 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()
|
D | ip6_tunnel.c | 578 struct rtable *rt; in ip4ip6_err()
|
/linux-4.1.27/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 579 static struct rtable *find_route_ipv4(struct flowi4 *fl4, in find_route_ipv4() 583 struct rtable *rt; in find_route_ipv4() 599 struct rtable *rt = NULL; in cxgbi_check_route()
|
/linux-4.1.27/include/linux/ |
D | skbuff.h | 760 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable() 762 return (struct rtable *)skb_dst(skb); in skb_rtable()
|
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 1813 wl->rtable = wl12xx_rtable; in wl12xx_setup()
|
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 1817 wl->rtable = wl18xx_rtable; in wl18xx_setup()
|
/linux-4.1.27/drivers/net/ |
D | vxlan.c | 1758 int vxlan_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, in vxlan_xmit_skb() 1883 struct rtable *rt = NULL; in vxlan_xmit_one()
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_l3_main.c | 2837 struct rtable *rt = (struct rtable *) dst; in qeth_l3_fill_header()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | sunvnet.c | 1281 struct rtable *rt = NULL; in vnet_start_xmit()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_main.c | 2326 struct rtable *rt; in bond_arp_send_all()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 1518 struct rtable *rt; in nes_addr_resolve_neigh()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 406 struct rtable *rt; in find_route()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic.c | 3669 struct rtable *rt; in cnic_get_v4_route()
|