/linux-4.4.14/include/net/ |
D | route.h | 52 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 …]
|
D | l3mdev.h | 30 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()
|
D | ip_fib.h | 52 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;
|
D | dsa.h | 66 s8 *rtable; member 197 return ds->pd->rtable[dst->cpu_switch]; in dsa_upstream_port()
|
D | ip.h | 94 struct rtable; 125 struct rtable **rt, 141 struct ipcm_cookie *ipc, struct rtable **rtp, 531 __be32 daddr, struct rtable *rt, int is_frag);
|
D | udp_tunnel.h | 81 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb,
|
D | inet_sock.h | 136 struct rtable;
|
D | ip_tunnels.h | 277 int iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb,
|
D | dst.h | 107 struct rtable __rcu *rt_next;
|
D | xfrm.h | 944 struct rtable rt;
|
/linux-4.4.14/net/ipv4/ |
D | route.c | 433 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 …]
|
D | ip_output.c | 139 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 …]
|
D | icmp.c | 289 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()
|
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 | netfilter.c | 23 struct rtable *rt; in ip_route_me_harder() 178 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
|
D | xfrm4_policy.c | 27 struct rtable *rt; in __xfrm4_dst_lookup() 83 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
|
D | arp.c | 430 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()
|
D | ip_forward.c | 82 struct rtable *rt; /* Route we use */ in ip_forward()
|
D | udp_tunnel.c | 77 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, in udp_tunnel_xmit_skb()
|
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() 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()
|
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() 1058 nexthop_nh->nh_pcpu_rth_output = alloc_percpu(struct rtable __rcu *); in fib_create_info()
|
D | ip_gre.c | 506 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()
|
D | inet_connection_sock.c | 416 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()
|
D | ip_input.c | 317 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() 491 struct rtable *rt = NULL; in raw_sendmsg()
|
D | syncookies.c | 306 struct rtable *rt; in cookie_v4_check()
|
D | ip_tunnel_core.c | 51 int iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, in iptunnel_xmit()
|
D | af_inet.c | 1106 struct rtable *rt; in inet_sk_reselect_saddr() 1152 struct rtable *rt = (struct rtable *)__sk_dst_check(sk, 0); in inet_sk_rebuild_header()
|
D | udp.c | 887 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()
|
D | igmp.c | 328 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()
|
D | ping.c | 705 struct rtable *rt = NULL; in ping_v4_sendmsg()
|
D | fib_frontend.c | 282 struct rtable *rt; in fib_compute_spec_dst()
|
D | ipmr.c | 1698 struct rtable *rt; in ipmr_queue_xmit() 1925 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.4.14/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.4.14/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.4.14/drivers/net/ |
D | vrf.c | 60 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()
|
D | geneve.c | 639 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()
|
D | vxlan.c | 1771 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/ |
D | vport.h | 201 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/ |
D | mpls_iptunnel.c | 49 struct rtable *rt = NULL; in mpls_output() 59 rt = (struct rtable *)dst; in mpls_output()
|
D | af_mpls.c | 442 struct rtable *rt; in inet_fib_lookup_dev()
|
/linux-4.4.14/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() 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/ |
D | dsa.c | 620 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/ |
D | br_nf_core.c | 77 struct rtable *rt = &br->fake_rtable; in br_netfilter_rtable_init()
|
D | br_netfilter_ipv6.c | 166 struct rtable *rt; in br_nf_pre_routing_finish_ipv6()
|
D | br_private.h | 263 struct rtable fake_rtable;
|
D | br_netfilter_hooks.c | 347 struct rtable *rt; in br_nf_pre_routing_finish()
|
/linux-4.4.14/include/net/netfilter/ |
D | br_netfilter.h | 36 static inline struct rtable *bridge_parent_rtable(const struct net_device *dev) in bridge_parent_rtable()
|
/linux-4.4.14/net/netfilter/ |
D | nf_conntrack_broadcast.c | 30 struct rtable *rt = skb_rtable(skb); in nf_conntrack_broadcast_help()
|
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.4.14/net/ipv4/netfilter/ |
D | nf_dup_ipv4.c | 30 struct rtable *rt; in nf_dup_ipv4_route()
|
D | ipt_rpfilter.c | 68 const struct rtable *rt = skb_rtable(skb); in rpfilter_is_local()
|
D | nf_nat_masquerade_ipv4.c | 34 const struct rtable *rt; in nf_nat_masquerade_ipv4()
|
D | nf_nat_l3proto_ipv4.c | 131 struct rtable *rt = skb_rtable(skb); in nf_nat_ipv4_csum_recalc()
|
/linux-4.4.14/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.4.14/net/atm/ |
D | clip.c | 335 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/ |
D | l2tp_ip.c | 395 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/ |
D | ar-peer.c | 38 struct rtable *rt; in rxrpc_assess_MTU_size()
|
/linux-4.4.14/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.4.14/drivers/net/ppp/ |
D | pptp.c | 186 struct rtable *rt; in pptp_xmit() 456 struct rtable *rt; in pptp_connect()
|
/linux-4.4.14/net/sctp/ |
D | protocol.c | 427 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/ |
D | ipv4.c | 50 struct rtable *rt; in dccp_v4_connect() 450 struct rtable *rt; in dccp_v4_route_skb()
|
/linux-4.4.14/net/tipc/ |
D | udp_media.c | 159 struct rtable *rt; in tipc_udp_send_msg()
|
/linux-4.4.14/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.4.14/drivers/infiniband/core/ |
D | addr.c | 230 struct rtable *rt; in addr4_resolve()
|
/linux-4.4.14/drivers/net/ipvlan/ |
D | ipvlan_core.c | 350 struct rtable *rt; in ipvlan_process_v4_outbound()
|
/linux-4.4.14/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 | 637 struct rtable *rt; in ip4ip6_err()
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 583 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/ |
D | skbuff.h | 792 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/ |
D | mv88e6xxx.c | 2246 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/ |
D | main.c | 1813 wl->rtable = wl12xx_rtable; in wl12xx_setup()
|
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 1899 wl->rtable = wl18xx_rtable; in wl18xx_setup()
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_l3_main.c | 2727 struct rtable *rt = (struct rtable *) dst; in qeth_l3_fill_header()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | sunvnet.c | 1281 struct rtable *rt = NULL; in vnet_start_xmit()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_main.c | 2347 struct rtable *rt; in bond_arp_send_all()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 1518 struct rtable *rt; in nes_addr_resolve_neigh()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 417 struct rtable *rt; in find_route()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | cnic.c | 3680 struct rtable *rt; in cnic_get_v4_route()
|