Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/dsa/
Dmv88e6123_61_65.c109 int nexthop; in mv88e6123_61_65_setup_global() local
111 nexthop = 0x1f; in mv88e6123_61_65_setup_global()
113 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6123_61_65_setup_global()
115 REG_WRITE(REG_GLOBAL2, 0x06, 0x8000 | (i << 8) | nexthop); in mv88e6123_61_65_setup_global()
Dmv88e6131.c100 int nexthop; in mv88e6131_setup_global() local
102 nexthop = 0x1f; in mv88e6131_setup_global()
105 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6131_setup_global()
107 REG_WRITE(REG_GLOBAL2, 0x06, 0x8000 | (i << 8) | nexthop); in mv88e6131_setup_global()
Dmv88e6171.c96 int nexthop; in mv88e6171_setup_global() local
98 nexthop = 0x1f; in mv88e6171_setup_global()
100 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6171_setup_global()
102 REG_WRITE(REG_GLOBAL2, 0x06, 0x8000 | (i << 8) | nexthop); in mv88e6171_setup_global()
Dmv88e6352.c102 int nexthop = 0x1f; in mv88e6352_setup_global() local
105 nexthop = ds->pd->rtable[i] & 0x1f; in mv88e6352_setup_global()
107 REG_WRITE(REG_GLOBAL2, 0x06, 0x8000 | (i << 8) | nexthop); in mv88e6352_setup_global()
/linux-4.1.27/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.c178 u32 nexthop; in ip_finish_output2() local
201 nexthop = (__force u32) rt_nexthop(rt, ip_hdr(skb)->daddr); in ip_finish_output2()
202 neigh = __ipv4_neigh_lookup_noref(dev, nexthop); in ip_finish_output2()
204 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.1.27/net/bluetooth/
D6lowpan.c171 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); 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-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.h94 struct fm10k_global_table_data nexthop; member
Dfm10k_type.h573 struct fm10k_swapi_table_info nexthop; member
Dfm10k_pf.c1730 fm10k_record_global_table_data(&err_msg.nexthop, &hw->swapi.nexthop); in fm10k_msg_err_pf()
/linux-4.1.27/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.1.27/include/net/
Dinet_sock.h45 __be32 nexthop; member
/linux-4.1.27/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()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_wr.h195 } nexthop; member
/linux-4.1.27/net/netfilter/
DKconfig859 this clone be rerouted to another nexthop.