Searched refs:nexthop (Results 1 – 7 of 7) sorted by relevance
/net/ipv4/ |
D | ip_options.c | 581 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()
|
D | ip_output.c | 173 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()
|
D | tcp_ipv4.c | 147 __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/ |
D | 6lowpan.c | 167 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/ |
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()
|
/net/ipv6/ |
D | ip6_output.c | 64 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/ |
D | Kconfig | 853 this clone be rerouted to another nexthop.
|