Home
last modified time | relevance | path

Searched refs:lladdr (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.3-rc2/include/trace/events/
A Dneigh.h74 TP_PROTO(struct neighbour *n, const u8 *lladdr, u8 new,
77 TP_ARGS(n, lladdr, new, flags, nlmsg_pid),
82 __array(u8, lladdr, MAX_ADDR_LEN)
108 memcpy(__entry->lladdr, n->ha, lladdr_len);
134 if (lladdr)
135 memcpy(__entry->new_lladdr, lladdr, lladdr_len);
146 __print_hex_str(__entry->lladdr, __entry->lladdr_len),
162 __array(u8, lladdr, MAX_ADDR_LEN)
185 memcpy(__entry->lladdr, n->ha, lladdr_len);
219 __print_hex_str(__entry->lladdr, __entry->lladdr_len),
/linux-6.3-rc2/net/6lowpan/
A Diphc.c158 const void *lladdr) in lowpan_iphc_uncompress_802154_lladdr() argument
160 const struct ieee802154_addr *addr = lladdr; in lowpan_iphc_uncompress_802154_lladdr()
283 const void *lladdr) in lowpan_iphc_uncompress_lladdr() argument
367 u8 address_mode, const void *lladdr) in lowpan_iphc_uncompress_ctx_addr() argument
793 const void *lladdr) in lowpan_iphc_compress_ctx_802154_lladdr() argument
795 const struct ieee802154_addr *addr = lladdr; in lowpan_iphc_compress_ctx_802154_lladdr()
834 const void *lladdr) in lowpan_iphc_addr_equal() argument
849 const unsigned char *lladdr, bool sam) in lowpan_compress_ctx_addr() argument
857 lladdr)) { in lowpan_compress_ctx_addr()
906 const void *lladdr) in lowpan_iphc_compress_802154_lladdr() argument
[all …]
/linux-6.3-rc2/include/net/
A D6lowpan.h186 const void *lladdr) in lowpan_iphc_uncompress_eui64_lladdr() argument
194 memcpy(&ipaddr->s6_addr[8], lladdr, EUI64_ADDR_LEN); in lowpan_iphc_uncompress_eui64_lladdr()
202 const void *lladdr) in lowpan_iphc_uncompress_eui48_lladdr() argument
210 memcpy(&ipaddr->s6_addr[8], lladdr, 3); in lowpan_iphc_uncompress_eui48_lladdr()
213 memcpy(&ipaddr->s6_addr[13], lladdr + 3, 3); in lowpan_iphc_uncompress_eui48_lladdr()
A Dndisc.h357 u8 *lladdr = (u8 *)(p + 1); in __ndisc_opt_addr_data() local
361 return lladdr + prepad; in __ndisc_opt_addr_data()
471 const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type,
/linux-6.3-rc2/tools/testing/selftests/net/
A Dfib_nexthops.sh1415 local lladdr
1418 lladdr=$(get_linklocal veth2 peer)
1419 run_cmd "$IP nexthop add id 11 via ${lladdr} dev veth1"
1444 local lladdr
1559 lladdr=$(get_linklocal veth2 peer)
1560 run_cmd "$IP nexthop add id 24 via ${lladdr} dev veth1"
1566 $IP neigh sh | grep -q "${lladdr} dev veth1"
1568 echo " WARNING: Neigh entry missing for ${lladdr}"
1594 $IP neigh sh | grep -q "${lladdr} dev veth1"
1596 echo " WARNING: Neigh entry missing for ${lladdr}"
[all …]
A Dfib-onlink-tests.sh423 local lladdr
425 lladdr=$(get_linklocal ${NETIFS[p1]}) || return 1
429 run_ip6 254 ${TEST_NET6[1]}::12 ${lladdr} ${NETIFS[p1]} 2 \
434 lladdr=$(get_linklocal ${NETIFS[p5]}) || return 1
437 run_ip6 ${VRF_TABLE} ${TEST_NET6[2]}::12 ${lladdr} ${NETIFS[p5]} 2 \
/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/
A Drif_mac_profiles.sh108 ip neigh replace dev $rp2 198.51.100.1 lladdr $(mac_get $h2)
135 ip neigh del dev $rp2 198.51.100.1 lladdr $(mac_get $h2)
145 ip neigh replace dev $rp1 192.0.2.1 lladdr $(mac_get $h1)
168 ip neigh del dev $rp1 192.0.2.1 lladdr $(mac_get $h1)
A Degress_vid_classification.sh123 ip neigh replace dev $swp3.20 192.0.2.18 lladdr $(mac_get $h3.20)
209 ip neigh replace dev br0 192.0.2.1 lladdr $(mac_get $h1.10)
244 ip neigh replace dev br0 192.0.2.1 lladdr $(mac_get $h1.10)
A Drtnetlink.sh567 ip -6 neigh add 2001:db8:1::2 lladdr de:ad:be:ef:13:37 nud perm \
693 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
705 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
742 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
744 ip neigh replace 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm \
746 ip neigh replace 2001:db8:1::2 lladdr 00:11:22:33:44:55 nud perm \
802 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
804 ip neigh replace 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm \
806 ip neigh replace 2001:db8:1::2 lladdr 00:11:22:33:44:55 nud perm \
885 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
[all …]
/linux-6.3-rc2/net/mctp/
A Dneigh.c26 size_t lladdr_len, const void *lladdr) in mctp_neigh_add() argument
53 memcpy(neigh->ha, lladdr, lladdr_len); in mctp_neigh_add()
125 void *lladdr; in mctp_rtm_newneigh() local
151 lladdr = nla_data(tb[NDA_LLADDR]); in mctp_rtm_newneigh()
170 lladdr_len, lladdr); in mctp_rtm_newneigh()
/linux-6.3-rc2/net/ipv6/
A Dndisc.c781 neigh_update(neigh, lladdr, new, flags, 0); in ndisc_update()
791 u8 *lladdr = NULL; in ndisc_recv_ns() local
827 if (!lladdr) { in ndisc_recv_ns()
995 u8 *lladdr = NULL; in ndisc_recv_na() local
1034 if (!lladdr) { in ndisc_recv_na()
1101 if (lladdr && !memcmp(lladdr, dev->dev_addr, dev->addr_len) && in ndisc_recv_na()
1108 ndisc_update(dev, neigh, lladdr, in ndisc_recv_na()
1137 u8 *lladdr = NULL; in ndisc_recv_rs() local
1167 if (!lladdr) in ndisc_recv_rs()
1469 u8 *lladdr = NULL; in ndisc_router_discovery() local
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/
A Dmirror_gre_bridge_1d_vlan.sh94 ip neigh replace 192.0.2.130 lladdr $(mac_get $h3) \
101 ip neigh replace 2001:db8:2::2 lladdr $(mac_get $h3) \
A Dvxlan_asymmetric.sh117 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \
414 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
416 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
493 ip neigh replace 10.1.1.102 lladdr $(in_ns ns1 mac_get w2) nud noarp \
495 ip neigh replace 10.1.2.102 lladdr $(in_ns ns1 mac_get w4) nud noarp \
557 ip neigh add 10.1.1.102 lladdr $(in_ns ns1 mac_get w2) nud noarp \
A Dip6gre_lib.sh235 ip neigh replace dev $ol2 203.0.113.1 lladdr $(mac_get $h2)
236 ip -6 neigh replace dev $ol2 2001:db8:2::1 lladdr $(mac_get $h2)
316 ip neigh replace dev $ol2 203.0.113.1 lladdr $(mac_get $h2)
317 ip -6 neigh replace dev $ol2 2001:db8:2::1 lladdr $(mac_get $h2)
A Dvxlan_asymmetric_ipv6.sh117 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \
409 ip neigh add $ip1 lladdr $mac1 nud noarp dev vlan10 \
411 ip neigh add $ip2 lladdr $mac2 nud noarp dev vlan20 \
491 ip neigh replace 2001:db8:1::4 lladdr $(in_ns ns1 mac_get w2) \
493 ip neigh replace 2001:db8:2::4 lladdr $(in_ns ns1 mac_get w4) \
A Dno_forwarding.sh45 ip neigh add $H2_IPV4 lladdr $dmac dev $if_name
62 ip -6 neigh add $H2_IPV6 lladdr $dmac dev $if_name
A Dmirror_gre_neigh.sh67 ip neigh replace dev $swp3 $addr lladdr 00:11:22:33:44:55
A Dvxlan_symmetric.sh127 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \
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
A Dvxlan_symmetric_ipv6.sh129 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \
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
A Drouter.sh318 ip neigh add 169.254.1.1 lladdr 00:11:22:33:44:55 dev $rp2
329 ip neigh del 169.254.1.1 lladdr 00:11:22:33:44:55 dev $rp2
/linux-6.3-rc2/tools/testing/selftests/drivers/net/bonding/
A DMakefile7 bond-lladdr-target.sh \
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_xdp_redirect_multi.sh95 ip -n ${NS[$i]} neigh add 192.0.2.253 lladdr 00:00:00:00:00:01 dev veth0
128 ip netns exec ${NS[1]} ip neigh add 2001:db8::2 dev veth0 lladdr 00:00:00:00:00:02
/linux-6.3-rc2/tools/testing/selftests/drivers/net/dsa/
A Dno_forwarding.sh45 ip neigh add $H2_IPV4 lladdr $dmac dev $if_name
62 ip -6 neigh add $H2_IPV6 lladdr $dmac dev $if_name
/linux-6.3-rc2/net/bluetooth/
A D6lowpan.c61 unsigned char lladdr[ETH_ALEN]; member
184 if (!memcmp(neigh->ha, peer->lladdr, ETH_ALEN)) { in peer_lookup_dst()
251 saddr = peer->lladdr; in iphc_decompress()
400 daddr = peer->lladdr; in setup_header()
645 baswap((void *)peer->lladdr, &chan->dst); in add_peer_chan()
647 lowpan_iphc_uncompress_eui48_lladdr(&peer->peer_addr, peer->lladdr); in add_peer_chan()
/linux-6.3-rc2/net/core/
A Dneighbour.c1370 lladdr = neigh->ha; in __neigh_update()
1371 } else if (lladdr) { in __neigh_update()
1379 lladdr = neigh->ha; in __neigh_update()
1389 lladdr = neigh->ha; in __neigh_update()
1408 lladdr = neigh->ha; in __neigh_update()
1423 if (new != old || lladdr != neigh->ha) in __neigh_update()
1439 if (lladdr != neigh->ha) { in __neigh_update()
1531 u8 *lladdr, void *saddr, in neigh_event_ns() argument
1535 lladdr || !dev->addr_len); in neigh_event_ns()
1537 neigh_update(neigh, lladdr, NUD_STALE, in neigh_event_ns()
[all …]

Completed in 48 milliseconds

12