Home
last modified time | relevance | path

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

/net/ipv4/
Dip_options.c581 if (memcmp(&opt->nexthop, &optptr[srrptr-1], 4) == 0) in ip_forward_options()
586 ip_hdr(skb)->daddr = opt->nexthop; in ip_forward_options()
609 __be32 nexthop; in ip_options_rcv_srr() local
636 memcpy(&nexthop, &optptr[srrptr-1], 4); in ip_options_rcv_srr()
640 err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, skb->dev); in ip_options_rcv_srr()
651 iph->daddr = nexthop; in ip_options_rcv_srr()
656 opt->nexthop = nexthop; in ip_options_rcv_srr()
Dip_output.c173 u32 nexthop; in ip_finish_output2() local
196 nexthop = (__force u32) rt_nexthop(rt, ip_hdr(skb)->daddr); in ip_finish_output2()
197 neigh = __ipv4_neigh_lookup_noref(dev, nexthop); in ip_finish_output2()
199 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()
/net/bluetooth/
D6lowpan.c167 struct in6_addr *nexthop; in peer_lookup_dst() local
182 nexthop = &lowpan_cb(skb)->gw; in peer_lookup_dst()
184 if (ipv6_addr_any(nexthop)) in peer_lookup_dst()
187 nexthop = rt6_nexthop(rt); in peer_lookup_dst()
193 memcpy(&lowpan_cb(skb)->gw, nexthop, sizeof(struct in6_addr)); in peer_lookup_dst()
196 BT_DBG("gw %pI6c", nexthop); in peer_lookup_dst()
203 if (!ipv6_addr_cmp(&peer->peer_addr, nexthop)) in peer_lookup_dst()
/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()
/net/ipv6/
Dip6_output.c64 struct in6_addr *nexthop; in ip6_finish_output2() local
108 nexthop = rt6_nexthop((struct rt6_info *)dst); 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()
/net/netfilter/
DKconfig853 this clone be rerouted to another nexthop.