/linux-master/net/bluetooth/ |
H A D | 6lowpan.c | 140 struct neighbour *neigh; local 181 neigh = __ipv6_neigh_lookup(dev->netdev, nexthop); 182 if (neigh) { 184 if (!memcmp(neigh->ha, peer->lladdr, ETH_ALEN)) { 185 neigh_release(neigh); 190 neigh_release(neigh);
|
/linux-master/net/ipv6/ |
H A D | sit.c | 878 struct neighbour *neigh = NULL; local 882 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); 884 if (!neigh) { 889 addr6 = (const struct in6_addr *)&neigh->primary_key; 898 neigh_release(neigh); 907 struct neighbour *neigh = NULL; local 911 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); 913 if (!neigh) { 918 addr6 = (const struct in6_addr *)&neigh->primary_key; 931 neigh_release(neigh); [all...] |
H A D | route.c | 620 struct neighbour *neigh; local 640 neigh = __ipv6_neigh_lookup_noref(dev, nh_gw); 641 if (neigh) { 642 if (READ_ONCE(neigh->nud_state) & NUD_VALID) 645 write_lock_bh(&neigh->lock); 646 if (!(neigh->nud_state & NUD_VALID) && 648 neigh->updated + 652 __neigh_set_probe_once(neigh); 654 write_unlock_bh(&neigh->lock); 686 struct neighbour *neigh; local 2109 struct neighbour *neigh; local 4121 struct neighbour *neigh; local [all...] |
H A D | ip6_output.c | 68 struct neighbour *neigh; local 124 neigh = __ipv6_neigh_lookup_noref(dev, nexthop); 126 if (unlikely(IS_ERR_OR_NULL(neigh))) { 127 if (unlikely(!neigh)) 128 neigh = __neigh_create(&nd_tbl, nexthop, dev, false); 129 if (IS_ERR(neigh)) { 136 sock_confirm_neigh(skb, neigh); 137 ret = neigh_output(neigh, skb, false);
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_symmetric.sh | 127 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \ 141 ip neigh del $gw_ip dev $if_name 457 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \ 459 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \ 485 ip neigh add $vtep_ip lladdr $mac nud noarp dev vlan4001 extern_learn
|
H A D | vxlan_symmetric_ipv6.sh | 129 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \ 143 ip neigh del $gw_ip dev $if_name 454 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \ 456 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \ 484 ip neigh add $vtep_ip lladdr $mac nud noarp dev vlan4001 extern_learn
|
H A D | mirror_gre_bridge_1q_lag.sh | 237 ip neigh flush dev br1
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | cm.c | 1983 struct neighbour *neigh; local 1994 neigh = dst_neigh_lookup(&rt->dst, &dst_ipaddr); 1995 if (!neigh) 1998 if (neigh->nud_state & NUD_VALID) 1999 rc = irdma_add_arp(iwdev->rf, &dst_ip, true, neigh->ha); 2001 neigh_event_send(neigh, NULL); 2002 if (neigh) 2003 neigh_release(neigh); 2044 struct neighbour *neigh; local 2065 neigh [all...] |
H A D | utils.c | 253 struct neighbour *neigh = ptr; local 254 struct net_device *real_dev, *netdev = (struct net_device *)neigh->dev; 271 p = (__be32 *)neigh->primary_key; 272 if (neigh->tbl->family == AF_INET6) { 281 iwdev->netdev, neigh->nud_state, local_ipaddr, 282 neigh->ha); 284 if (neigh->nud_state & NUD_VALID) 285 irdma_add_arp(iwdev->rf, local_ipaddr, ipv4, neigh->ha); 288 irdma_manage_arp_cache(iwdev->rf, neigh->ha,
|
/linux-master/tools/testing/selftests/net/ |
H A D | fib_nexthops.sh | 634 run_cmd "$IP neigh add ${gws[$dev]} dev $dev nud failed" 639 run_cmd "$IP neigh del ${gws[$dev]} dev $dev" 643 run_cmd "$IP neigh add 172.16.1.2 dev veth1 nud incomplete" 644 run_cmd "$IP neigh add 172.16.2.2 dev veth3 nud incomplete" 687 run_cmd "$IP neigh add ${gws[$dev]} dev $dev nud failed" 692 run_cmd "$IP neigh del ${gws[$dev]} dev $dev" 696 run_cmd "$IP neigh add 2001:db8:91::2 dev veth1 nud incomplete" 697 run_cmd "$IP neigh add 2001:db8:92::2 dev veth3 nud incomplete" 770 run_cmd "$IP -6 neigh add 2001:db8:91::2 lladdr 00:11:22:33:44:55 dev veth1.10" 771 run_cmd "$IP -6 neigh ad [all...] |
H A D | udpgro_fwd.sh | 91 ip -n $BASE$DST neigh add dev vxlan6$DST lladdr $addr_src $OL_NET_V6$SRC 92 ip -n $BASE$SRC neigh add dev vxlan6$SRC lladdr $addr_dst $OL_NET_V6$DST
|
H A D | srv6_end_dt6_l3vpn_test.sh | 294 ip -netns ${rtsrc_name} -6 neigh add proxy ${IPv6_HS_NETWORK}::${hsdst} dev ${rtveth}
|
H A D | fcnal-test.sh | 4084 run_cmd ip neigh flush all 4088 run_cmd ip neigh flush all 4092 run_cmd ip neigh flush all 4096 run_cmd ip neigh flush all 4102 run_cmd ip neigh flush all 4106 run_cmd ip neigh flush all 4110 run_cmd ip neigh flush all 4114 run_cmd ip neigh flush all 4133 run_cmd ip neigh flush all 4137 run_cmd ip neigh flus [all...] |
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | ingress_rif_conf_1q.sh | 115 # to "unresolved neigh". 116 ip neigh replace dev $swp3 192.0.2.18 lladdr $(mac_get $h3)
|
H A D | devlink_trap_control.sh | 474 ip -4 neigh add 192.0.2.3 lladdr 00:11:22:33:44:55 nud permanent \ 476 ip -6 neigh add 2001:db8:1::3 lladdr 00:11:22:33:44:55 nud permanent \ 488 ip -6 neigh del 2001:db8:1::3 dev $rp1 489 ip -4 neigh del 192.0.2.3 dev $rp1
|
H A D | ingress_rif_conf_1d.sh | 120 # to "unresolved neigh". 121 ip neigh replace dev $swp3.10 192.0.2.18 lladdr $(mac_get $h3.10)
|
H A D | ingress_rif_conf_vxlan.sh | 110 # to "unresolved neigh". 111 ip neigh replace dev vlan10 192.0.2.1 lladdr $(mac_get $h1)
|
H A D | devlink_trap_l3_exceptions.sh | 380 ip neigh flush dev $rp2 395 log_test "Unresolved neigh: host miss: $desc" 449 log_test "Unresolved neigh: nexthop does not exist: $desc" 478 log_test "Unresolved neigh: nexthop bucket does not exist: $desc"
|
/linux-master/net/smc/ |
H A D | smc_ib.c | 199 struct neighbour *neigh = NULL; local 213 neigh = dst_neigh_lookup(&rt->dst, &fl4.daddr); 214 if (!neigh) 216 memcpy(nexthop_mac, neigh->ha, ETH_ALEN); 218 neigh_release(neigh);
|
/linux-master/net/ipv4/ |
H A D | ip_output.c | 204 struct neighbour *neigh; local 229 neigh = ip_neigh_for_gw(rt, skb, &is_v6gw); 230 if (!IS_ERR(neigh)) { 233 sock_confirm_neigh(skb, neigh); 235 res = neigh_output(neigh, skb, is_v6gw); 244 return PTR_ERR(neigh);
|
H A D | ip_tunnel.c | 727 struct neighbour *neigh; local 731 neigh = dst_neigh_lookup(skb_dst(skb), 733 if (!neigh) 736 addr6 = (const struct in6_addr *)&neigh->primary_key; 750 neigh_release(neigh);
|
/linux-master/net/batman-adv/ |
H A D | types.h | 677 /** @tq_recv: ring buffer of received TQ values from this neigh node */ 690 * neigh node (relative to orig_node->last_real_seqno) 705 * neigh 731 /** @last_ttl: last received ttl from this neigh node */ 2225 void (*hardif_init)(struct batadv_hardif_neigh_node *neigh); 2307 /** @neigh: callbacks related to neighbors handling */ 2308 struct batadv_algo_neigh_ops neigh; member in struct:batadv_algo_ops
|
/linux-master/drivers/net/plip/ |
H A D | plip.c | 150 static int plip_hard_header_cache(const struct neighbour *neigh, 1043 static int plip_hard_header_cache(const struct neighbour *neigh, argument 1048 ret = eth_header_cache(neigh, hh, type); 1054 plip_rewrite_address (neigh->dev, eth);
|
/linux-master/net/rose/ |
H A D | rose_route.c | 665 struct rose_route *rose_route_free_lci(unsigned int lci, struct rose_neigh *neigh) argument 670 if ((rose_route->neigh1 == neigh && rose_route->lci1 == lci) || 671 (rose_route->neigh2 == neigh && rose_route->lci2 == lci)) 1130 seq_puts(seq, "address mask n neigh neigh neigh\n"); 1260 "lci address callsign neigh <-> lci address callsign neigh\n");
|
/linux-master/net/atm/ |
H A D | proc.c | 162 dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : NULL;
|