/openbmc/linux/include/trace/events/ |
H A D | neigh.h | 74 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 D | iphc.c | 158 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 …]
|
/openbmc/linux/include/net/ |
H A D | 6lowpan.h | 186 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 D | ndisc.h | 357 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 D | neighbor.cpp | 27 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 D | neighbor.hpp | 43 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 D | rif_mac_profiles.sh | 108 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 D | rtnetlink.sh | 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 \ 854 ip neigh replace 192.0.2.2 lladdr 00:11:22:33:44:55 nud perm \ [all …]
|
H A D | egress_vid_classification.sh | 122 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 D | fib_nexthops.sh | 1544 local lladdr 1547 lladdr=$(get_linklocal veth2 peer) 1548 run_cmd "$IP nexthop add id 11 via ${lladdr} dev veth1" 1573 local lladdr 1688 lladdr=$(get_linklocal veth2 peer) 1689 run_cmd "$IP nexthop add id 24 via ${lladdr} dev veth1" 1695 $IP neigh sh | grep -q "${lladdr} dev veth1" 1697 echo " WARNING: Neigh entry missing for ${lladdr}" 1723 $IP neigh sh | grep -q "${lladdr} dev veth1" 1725 echo " WARNING: Neigh entry missing for ${lladdr}" [all …]
|
H A D | fib-onlink-tests.sh | 423 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/mctp/ |
H A D | neigh.c | 26 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/linux/net/ipv6/ |
H A D | ndisc.c | 784 neigh_update(neigh, lladdr, new, flags, 0); in ndisc_update() 794 u8 *lladdr = NULL; in ndisc_recv_ns() local 830 if (!lladdr) { in ndisc_recv_ns() 998 u8 *lladdr = NULL; in ndisc_recv_na() local 1037 if (!lladdr) { in ndisc_recv_na() 1104 if (lladdr && !memcmp(lladdr, dev->dev_addr, dev->addr_len) && in ndisc_recv_na() 1111 ndisc_update(dev, neigh, lladdr, in ndisc_recv_na() 1140 u8 *lladdr = NULL; in ndisc_recv_rs() local 1170 if (!lladdr) in ndisc_recv_rs() 1474 u8 *lladdr = NULL; in ndisc_router_discovery() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/ |
H A D | 0003-rarpd.c-bug-fix.patch | 54 - 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 D | mirror_gre_bridge_1d.sh | 97 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 D | mirror_gre_bridge_1q.sh | 93 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 D | mirror_gre_bridge_1d_vlan.sh | 95 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 D | vxlan_asymmetric.sh | 117 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 D | ip6gre_lib.sh | 235 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 D | vxlan_asymmetric_ipv6.sh | 117 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 D | no_forwarding.sh | 45 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 D | Makefile | 7 bond-lladdr-target.sh \
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-phosphor/mctp/files/ |
H A D | mctp-local.service | 10 ExecStart=/usr/bin/mctp neigh add 8 dev mctpi2c3 lladdr 0x10
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_xdp_redirect_multi.sh | 95 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/tools/testing/selftests/drivers/net/dsa/ |
H A D | no_forwarding.sh | 45 ip neigh add $H2_IPV4 lladdr $dmac dev $if_name 62 ip -6 neigh add $H2_IPV6 lladdr $dmac dev $if_name
|