Home
last modified time | relevance | path

Searched refs:nexthop (Results 1 – 15 of 15) sorted by relevance

/linux-4.4.14/net/ipv4/
Dip_options.c583 if (memcmp(&opt->nexthop, &optptr[srrptr-1], 4) == 0) in ip_forward_options()
588 ip_hdr(skb)->daddr = opt->nexthop; in ip_forward_options()
611 __be32 nexthop; in ip_options_rcv_srr() local
638 memcpy(&nexthop, &optptr[srrptr-1], 4); in ip_options_rcv_srr()
642 err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, skb->dev); in ip_options_rcv_srr()
653 iph->daddr = nexthop; in ip_options_rcv_srr()
658 opt->nexthop = nexthop; in ip_options_rcv_srr()
Dip_output.c182 u32 nexthop; in ip_finish_output2() local
205 nexthop = (__force u32) rt_nexthop(rt, ip_hdr(skb)->daddr); in ip_finish_output2()
206 neigh = __ipv4_neigh_lookup_noref(dev, nexthop); in ip_finish_output2()
208 neigh = __neigh_create(&arp_tbl, &nexthop, dev, false); in ip_finish_output2()
Dtcp_ipv4.c147 __be32 daddr, nexthop; in tcp_v4_connect() local
159 nexthop = daddr = usin->sin_addr.s_addr; in tcp_v4_connect()
165 nexthop = inet_opt->opt.faddr; in tcp_v4_connect()
171 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in tcp_v4_connect()
/linux-4.4.14/drivers/net/
Dvrf.c410 struct in6_addr *nexthop; in vrf_finish_output6() local
417 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in vrf_finish_output6()
418 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop); in vrf_finish_output6()
420 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false); in vrf_finish_output6()
521 u32 nexthop; in vrf_finish_output() local
542 nexthop = (__force u32)rt_nexthop(rt, ip_hdr(skb)->daddr); in vrf_finish_output()
543 neigh = __ipv4_neigh_lookup_noref(dev, nexthop); in vrf_finish_output()
545 neigh = __neigh_create(&arp_tbl, &nexthop, dev, false); in vrf_finish_output()
/linux-4.4.14/net/bluetooth/
D6lowpan.c168 struct in6_addr *nexthop; in peer_lookup_dst() local
187 nexthop = &lowpan_cb(skb)->gw; in peer_lookup_dst()
189 if (ipv6_addr_any(nexthop)) in peer_lookup_dst()
192 nexthop = rt6_nexthop(rt, daddr); in peer_lookup_dst()
198 memcpy(&lowpan_cb(skb)->gw, nexthop, sizeof(struct in6_addr)); in peer_lookup_dst()
201 BT_DBG("gw %pI6c", nexthop); in peer_lookup_dst()
210 if (!ipv6_addr_cmp(&peer->peer_addr, nexthop)) { in peer_lookup_dst()
/linux-4.4.14/Documentation/networking/
Dswitchdev.txt316 forwards the packet to the matching FIB entry's nexthop(s) egress ports.
340 referenced in the route's nexthop list don't all have the same switch ID, the
353 nexthop via 11.0.0.1 dev sw1p1 weight 1
354 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
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.h94 struct fm10k_global_table_data nexthop; member
Dfm10k_type.h572 struct fm10k_swapi_table_info nexthop; member
Dfm10k_pf.c1756 fm10k_record_global_table_data(&err_msg.nexthop, &hw->swapi.nexthop); in fm10k_msg_err_pf()
/linux-4.4.14/net/dccp/
Dipv4.c48 __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-4.4.14/include/net/
Dinet_sock.h45 __be32 nexthop; member
/linux-4.4.14/net/ipv6/
Dip6_output.c65 struct in6_addr *nexthop; in ip6_finish_output2() local
108 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in ip6_finish_output2()
109 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop); in ip6_finish_output2()
111 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false); in ip6_finish_output2()
/linux-4.4.14/drivers/net/dsa/
Dmv88e6xxx.c2244 int nexthop = 0x1f; in mv88e6xxx_setup_global() local
2248 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6xxx_setup_global()
2253 nexthop); in mv88e6xxx_setup_global()
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_wr.h195 } nexthop; member
/linux-4.4.14/net/netfilter/
DKconfig875 this clone be rerouted to another nexthop.