/Linux-v4.19/tools/testing/selftests/net/forwarding/ |
D | router_multipath.sh | 19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 46 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1 47 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1 84 nexthop via 169.254.2.22 dev $rp12 \ 85 nexthop via 169.254.3.23 dev $rp13 87 nexthop via fe80:2::22 dev $rp12 \ 88 nexthop via fe80:3::23 dev $rp13 134 nexthop via 169.254.2.12 dev $rp22 \ 135 nexthop via 169.254.3.13 dev $rp23 [all …]
|
D | gre_multipath.sh | 94 nexthop dev g1a \ 95 nexthop dev g1b 140 nexthop dev g2a \ 141 nexthop dev g2b 211 nexthop dev g1a weight $weight1 \ 212 nexthop dev g1b weight $weight2 229 nexthop dev g1a \ 230 nexthop dev g1b
|
D | router_bridge.sh | 14 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2 15 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 28 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129 29 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
|
D | router_broadcast.sh | 18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 19 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.1 43 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1 44 ip route add 198.51.200.0/24 vrf vrf-h2 nexthop via 198.51.100.1 68 ip route add 192.0.2.0/24 vrf vrf-h3 nexthop via 198.51.200.1 69 ip route add 198.51.100.0/24 vrf vrf-h3 nexthop via 198.51.200.1
|
D | router_bridge_vlan.sh | 16 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2 17 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 31 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129 32 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
|
D | router.sh | 19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 46 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1 47 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
|
D | mirror_gre_bridge_1q_lag.sh | 85 ip -4 route add 192.0.2.16/28 vrf vrf-h1 nexthop via 192.0.2.2 97 ip -4 route add 192.0.2.0/28 vrf vrf-h2 nexthop via 192.0.2.17
|
D | mirror_gre_lag_lacp.sh | 83 ip -4 route add 192.0.2.16/28 vrf vrf-h1 nexthop via 192.0.2.2 95 ip -4 route add 192.0.2.0/28 vrf vrf-h2 nexthop via 192.0.2.17
|
/Linux-v4.19/net/ipv4/ |
D | ip_options.c | 579 if (memcmp(&opt->nexthop, &optptr[srrptr-1], 4) == 0) in ip_forward_options() 584 ip_hdr(skb)->daddr = opt->nexthop; in ip_forward_options() 607 __be32 nexthop; in ip_options_rcv_srr() local 634 memcpy(&nexthop, &optptr[srrptr-1], 4); in ip_options_rcv_srr() 638 err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, skb->dev); in ip_options_rcv_srr() 649 iph->daddr = nexthop; in ip_options_rcv_srr() 654 opt->nexthop = nexthop; in ip_options_rcv_srr()
|
D | ip_output.c | 191 u32 nexthop; in ip_finish_output2() local 221 nexthop = (__force u32) rt_nexthop(rt, ip_hdr(skb)->daddr); in ip_finish_output2() 222 neigh = __ipv4_neigh_lookup_noref(dev, nexthop); in ip_finish_output2() 224 neigh = __neigh_create(&arp_tbl, &nexthop, dev, false); in ip_finish_output2()
|
D | tcp_ipv4.c | 208 __be32 daddr, nexthop; in tcp_v4_connect() local 221 nexthop = daddr = usin->sin_addr.s_addr; in tcp_v4_connect() 227 nexthop = inet_opt->opt.faddr; in tcp_v4_connect() 233 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in tcp_v4_connect()
|
/Linux-v4.19/net/netfilter/ |
D | nf_flow_table_ip.c | 226 __be32 nexthop; in nf_flow_offload_ip_hook() local 266 nexthop = rt_nexthop(rt, flow->tuplehash[!dir].tuple.src_v4.s_addr); in nf_flow_offload_ip_hook() 268 neigh_xmit(NEIGH_ARP_TABLE, outdev, &nexthop, skb); in nf_flow_offload_ip_hook() 442 struct in6_addr *nexthop; in nf_flow_offload_ipv6_hook() local 483 nexthop = rt6_nexthop(rt, &flow->tuplehash[!dir].tuple.src_v6); in nf_flow_offload_ipv6_hook() 485 neigh_xmit(NEIGH_ND_TABLE, outdev, nexthop, skb); in nf_flow_offload_ipv6_hook()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | fib_tests.sh | 130 nexthop via 198.51.100.2 dev dummy0 \ 131 nexthop via 192.0.2.2 dev dummy1 133 nexthop via 2001:db8:1::2 dev dummy0 \ 134 nexthop via 2001:db8:2::2 dev dummy1 247 nexthop via 198.51.100.2 dev dummy0 \ 248 nexthop via 192.0.2.2 dev dummy1 250 nexthop via 2001:db8:1::2 dev dummy0 \ 251 nexthop via 2001:db8:2::2 dev dummy1 1383 fib_nexthop_test|nexthop) fib_nexthop_test;;
|
D | fib-onlink-tests.sh | 249 nexthop via ${nh1} nexthop via ${nh2} 345 nexthop via ${nh1} nexthop via ${nh2}
|
/Linux-v4.19/net/bluetooth/ |
D | 6lowpan.c | 171 struct in6_addr *nexthop; in peer_lookup_dst() local 190 nexthop = &lowpan_cb(skb)->gw; in peer_lookup_dst() 192 if (ipv6_addr_any(nexthop)) in peer_lookup_dst() 195 nexthop = rt6_nexthop(rt, daddr); in peer_lookup_dst() 201 memcpy(&lowpan_cb(skb)->gw, nexthop, sizeof(struct in6_addr)); in peer_lookup_dst() 204 BT_DBG("gw %pI6c", nexthop); in peer_lookup_dst() 213 if (!ipv6_addr_cmp(&peer->peer_addr, nexthop)) { in peer_lookup_dst()
|
/Linux-v4.19/drivers/net/ |
D | vrf.c | 358 struct in6_addr *nexthop; in vrf_finish_output6() local 367 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in vrf_finish_output6() 368 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop); in vrf_finish_output6() 370 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false); in vrf_finish_output6() 552 u32 nexthop; in vrf_finish_output() local 575 nexthop = (__force u32)rt_nexthop(rt, ip_hdr(skb)->daddr); in vrf_finish_output() 576 neigh = __ipv4_neigh_lookup_noref(dev, nexthop); in vrf_finish_output() 578 neigh = __neigh_create(&arp_tbl, &nexthop, dev, false); in vrf_finish_output()
|
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pf.h | 81 struct fm10k_global_table_data nexthop; member
|
D | fm10k_type.h | 561 struct fm10k_swapi_table_info nexthop; member
|
D | fm10k_pf.c | 1762 fm10k_record_global_table_data(&err_msg.nexthop, &hw->swapi.nexthop); in fm10k_msg_err_pf()
|
/Linux-v4.19/Documentation/networking/ |
D | switchdev.txt | 315 forwards the packet to the matching FIB entry's nexthop(s) egress ports. 351 nexthop via 11.0.0.1 dev sw1p1 weight 1 352 nexthop via 11.0.0.9 dev sw1p2 weight 1 364 The FIB entry's nexthop list contains the nexthop tuple (gateway, dev), but for 366 nexthop gateways must be resolved to the neighbor's mac address. Neighbor mac 368 arp_tbl neighbor table. To resolve the routes nexthop gateways, the driver
|
D | ip-sysctl.txt | 67 Use status of existing neighbor entry when determining nexthop for 69 packets could be directed to a failed nexthop. Only valid for kernels
|
/Linux-v4.19/net/dccp/ |
D | ipv4.c | 48 __be32 daddr, nexthop; in dccp_v4_connect() local 62 nexthop = daddr = usin->sin_addr.s_addr; in dccp_v4_connect() 69 nexthop = inet_opt->opt.faddr; in dccp_v4_connect() 75 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in dccp_v4_connect()
|
/Linux-v4.19/include/net/ |
D | inet_sock.h | 45 __be32 nexthop; member
|
/Linux-v4.19/net/ipv6/ |
D | ip6_output.c | 67 struct in6_addr *nexthop; in ip6_finish_output2() local 114 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in ip6_finish_output2() 115 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop); in ip6_finish_output2() 117 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false); in ip6_finish_output2()
|
/Linux-v4.19/net/ |
D | Kconfig | 398 bool "Execute BPF program as route nexthop action" 402 Allows to run BPF programs as a nexthop action following a route
|