Home
last modified time | relevance | path

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

12

/linux/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/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/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()
478 const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type,
A Dneighbour.h340 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, u32 flags,
351 u8 *lladdr, void *saddr,
/linux/tools/testing/selftests/net/
A Dfib_nexthops.sh1384 local lladdr
1387 lladdr=$(get_linklocal veth2 peer)
1388 run_cmd "$IP nexthop add id 11 via ${lladdr} dev veth1"
1413 local lladdr
1528 lladdr=$(get_linklocal veth2 peer)
1529 run_cmd "$IP nexthop add id 24 via ${lladdr} dev veth1"
1535 $IP neigh sh | grep -q "${lladdr} dev veth1"
1537 echo " WARNING: Neigh entry missing for ${lladdr}"
1563 $IP neigh sh | grep -q "${lladdr} dev veth1"
1565 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 \
A Drtnetlink.sh1144 ip neigh add $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1148 ip neigh del $dstip lladdr $dstmac dev "$devdummy" > /dev/null
1160 ip neigh add $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
1164 ip neigh del $dstip6 lladdr $dstmac dev "$devdummy" > /dev/null
/linux/net/ipv6/
A Dndisc.c765 neigh_update(neigh, lladdr, new, flags, 0); in ndisc_update()
775 u8 *lladdr = NULL; in ndisc_recv_ns() local
814 if (!lladdr) { in ndisc_recv_ns()
959 u8 *lladdr = NULL; in ndisc_recv_na() local
998 if (!lladdr) { in ndisc_recv_na()
1041 if (lladdr && !memcmp(lladdr, dev->dev_addr, dev->addr_len) && in ndisc_recv_na()
1048 ndisc_update(dev, neigh, lladdr, in ndisc_recv_na()
1076 u8 *lladdr = NULL; in ndisc_recv_rs() local
1107 if (!lladdr) in ndisc_recv_rs()
1404 u8 *lladdr = NULL; in ndisc_router_discovery() local
[all …]
A Daddrconf.c3882 struct in6_addr lladdr; in addrconf_rs_timer() local
3897 if (!ipv6_get_lladdr(dev, &lladdr, IFA_F_TENTATIVE)) in addrconf_rs_timer()
3898 ndisc_send_rs(dev, &lladdr, in addrconf_rs_timer()
4169 struct in6_addr lladdr; in addrconf_dad_completed() local
4214 if (ipv6_get_lladdr(dev, &lladdr, IFA_F_TENTATIVE)) in addrconf_dad_completed()
4216 ndisc_send_rs(dev, &lladdr, &in6addr_linklocal_allrouters); in addrconf_dad_completed()
/linux/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/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 Drtnetlink.sh566 ip -6 neigh add 2001:db8:1::2 lladdr de:ad:be:ef:13:37 nud perm \
692 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
704 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
741 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
743 ip neigh replace 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm \
745 ip neigh replace 2001:db8:1::2 lladdr 00:11:22:33:44:55 nud perm \
801 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
803 ip neigh replace 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm \
805 ip neigh replace 2001:db8:1::2 lladdr 00:11:22:33:44:55 nud perm \
884 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
[all …]
A Ddevlink_trap_control.sh473 ip -4 neigh add 192.0.2.3 lladdr 00:11:22:33:44:55 nud permanent \
475 ip -6 neigh add 2001:db8:1::3 lladdr 00:11:22:33:44:55 nud permanent \
/linux/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_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 Dmirror_gre_neigh.sh67 ip neigh replace dev $swp3 $addr lladdr 00:11:22:33:44:55
A Drouter.sh300 ip neigh add 169.254.1.1 lladdr 00:11:22:33:44:55 dev $rp2
311 ip neigh del 169.254.1.1 lladdr 00:11:22:33:44:55 dev $rp2
/linux/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()
646 baswap((void *)peer->lladdr, &chan->dst); in add_peer_chan()
648 lowpan_iphc_uncompress_eui48_lladdr(&peer->peer_addr, peer->lladdr); in add_peer_chan()
/linux/net/core/
A Dneighbour.c1309 lladdr = neigh->ha; in __neigh_update()
1310 } else if (lladdr) { in __neigh_update()
1318 lladdr = neigh->ha; in __neigh_update()
1328 lladdr = neigh->ha; in __neigh_update()
1347 lladdr = neigh->ha; in __neigh_update()
1362 if (new != old || lladdr != neigh->ha) in __neigh_update()
1378 if (lladdr != neigh->ha) { in __neigh_update()
1470 u8 *lladdr, void *saddr, in neigh_event_ns() argument
1474 lladdr || !dev->addr_len); in neigh_event_ns()
1476 neigh_update(neigh, lladdr, NUD_STALE, in neigh_event_ns()
[all …]
/linux/tools/testing/selftests/bpf/
A Dtest_xdp_redirect_multi.sh93 ip -n ns$i neigh add 192.0.2.253 lladdr 00:00:00:00:00:01 dev veth0
126 ip netns exec ns1 ip neigh add 2001:db8::2 dev veth0 lladdr 00:00:00:00:00:02
A Dtest_tunnel.sh172 ip neigh add 10.1.1.200 lladdr 52:54:00:d9:02:00 dev $DEV_NS
179 ip neigh add 10.1.1.100 lladdr 52:54:00:d9:01:00 dev $DEV
/linux/Documentation/networking/
A Dvrf.rst264 10.2.1.254 dev eth1 lladdr a6:d9:c7:4f:06:23 REACHABLE
265 10.2.2.254 dev eth2 lladdr 5e:54:01:6a:ee:80 REACHABLE
268 2002:1::64 dev eth1 lladdr a6:d9:c7:4f:06:23 REACHABLE

Completed in 82 milliseconds

12