Home
last modified time | relevance | path

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

123

/openbmc/linux/include/trace/events/
H 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),
/openbmc/linux/net/6lowpan/
H 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
287 lowpan_iphc_uncompress_eui48_lladdr(ipaddr, lladdr); in lowpan_iphc_uncompress_lladdr()
290 lowpan_iphc_uncompress_eui64_lladdr(ipaddr, lladdr); in lowpan_iphc_uncompress_lladdr()
306 u8 address_mode, const void *lladdr) in lowpan_iphc_uncompress_addr() argument
337 lowpan_iphc_uncompress_802154_lladdr(ipaddr, lladdr); in lowpan_iphc_uncompress_addr()
340 lowpan_iphc_uncompress_lladdr(dev, ipaddr, lladdr); in lowpan_iphc_uncompress_addr()
367 u8 address_mode, const void *lladdr) in lowpan_iphc_uncompress_ctx_addr() argument
398 lowpan_iphc_uncompress_802154_lladdr(ipaddr, lladdr); in lowpan_iphc_uncompress_ctx_addr()
[all …]
/openbmc/linux/include/net/
H 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()
H 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,
/openbmc/phosphor-networkd/src/
H A Dneighbor.cpp27 stdplus::InAnyAddr addr, stdplus::EtherAddr lladdr, in Neighbor() argument
29 Neighbor(bus, makeObjPath(objRoot, addr), parent, addr, lladdr, state) in Neighbor()
35 stdplus::InAnyAddr addr, stdplus::EtherAddr lladdr, in Neighbor() argument
41 NeighborObj::macAddress(stdplus::toStr(lladdr), true); in Neighbor()
H A Dneighbor.hpp43 stdplus::InAnyAddr addr, stdplus::EtherAddr lladdr, State state);
70 stdplus::InAnyAddr addr, stdplus::EtherAddr lladdr, State state);
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H 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)
H A Drtnetlink.sh535 ip -4 neigh add 192.0.2.2 lladdr de:ad:be:ef:13:37 nud perm dev $swp1
536 ip -6 neigh add 2001:db8:1::2 lladdr de:ad:be:ef:13:37 nud perm \
662 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
674 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
711 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
713 ip neigh replace 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm \
715 ip neigh replace 2001:db8:1::2 lladdr 00:11:22:33:44:55 nud perm \
771 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \
773 ip neigh replace 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm \
775 ip neigh replace 2001:db8:1::2 lladdr 00:11:22:33:44:55 nud perm \
[all …]
H A Degress_vid_classification.sh122 ip neigh replace dev $swp3.20 192.0.2.18 lladdr $(mac_get $h3.20)
208 ip neigh replace dev br0 192.0.2.1 lladdr $(mac_get $h1.10)
243 ip neigh replace dev br0 192.0.2.1 lladdr $(mac_get $h1.10)
/openbmc/linux/tools/testing/selftests/net/
H A Dfib_nexthops.sh1544 local lladdr
1547 lladdr=$(get_linklocal veth2 peer)
1548 run_cmd "$IP nexthop add id 11 via ${lladdr} dev veth1"
1552 check_route "172.16.101.1" "172.16.101.1 nhid 11 via inet6 ${lladdr} dev veth1"
1561 …check_route "172.16.101.1" "172.16.101.1 nhid 101 nexthop via inet6 ${lladdr} dev veth1 weight 1 n…
1563 run_cmd "$IP ro replace 172.16.101.1/32 via inet6 ${lladdr} dev veth1"
1565 check_route "172.16.101.1" "172.16.101.1 via inet6 ${lladdr} dev veth1"
1573 local lladdr
1688 lladdr=$(get_linklocal veth2 peer)
1689 run_cmd "$IP nexthop add id 24 via ${lladdr} dev veth1"
[all …]
H 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 \
/openbmc/linux/net/ipv6/
H A Dndisc.c781 const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type, in ndisc_update() argument
784 neigh_update(neigh, lladdr, new, flags, 0); in ndisc_update()
794 u8 *lladdr = NULL; in ndisc_recv_ns() local
829 lladdr = ndisc_opt_addr_data(ndopts.nd_opts_src_lladdr, dev); in ndisc_recv_ns()
830 if (!lladdr) { in ndisc_recv_ns()
952 !inc || lladdr || !dev->addr_len); in ndisc_recv_ns()
954 ndisc_update(dev, neigh, lladdr, NUD_STALE, in ndisc_recv_ns()
998 u8 *lladdr = NULL; in ndisc_recv_na() local
1036 lladdr = ndisc_opt_addr_data(ndopts.nd_opts_tgt_lladdr, dev); in ndisc_recv_na()
1037 if (!lladdr) { in ndisc_recv_na()
[all …]
/openbmc/linux/net/mctp/
H 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()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/
H A D0003-rarpd.c-bug-fix.patch54 - unsigned char lladdr[16];
60 + unsigned char lladdr[16];
101 memcpy(ifl->lladdr, ifrp->ifr_hwaddr.sa_data, 14);
163 - if (ether_ntohost(ename, lladdr) != 0 ||
164 + if (ether_ntohost(ename, (struct ether_addr *)lladdr) != 0 ||
188 @@ -388,7 +394,7 @@ void arp_advise(int ifindex, unsigned char *lladdr, int lllen, __u32 ipaddr)
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_bridge_1d_vlan.sh95 ip neigh replace 192.0.2.130 lladdr $(mac_get $h3) \
102 ip neigh replace 2001:db8:2::2 lladdr $(mac_get $h3) \
H A Dmirror_gre_bridge_1d.sh97 ip neigh replace 192.0.2.130 lladdr $(mac_get $h3) \
105 ip neigh replace 2001:db8:2::2 lladdr $(mac_get $h3) \
H A Dmirror_gre_bridge_1q.sh93 ip neigh replace 192.0.2.130 lladdr $(mac_get $h3) \
101 ip neigh replace 2001:db8:2::2 lladdr $(mac_get $h3) \
H 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 \
H 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)
H 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) \
H 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
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A DMakefile7 bond-lladdr-target.sh \
/openbmc/linux/tools/testing/selftests/bpf/
H 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
/openbmc/linux/net/bluetooth/
H 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()
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H 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

123