Home
last modified time | relevance | path

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

/external/iputils/
Drarpd.c53 unsigned char lladdr[16]; member
73 unsigned char lladdr[16]; member
156 memcpy(ifl->lladdr, ifrp->ifr_hwaddr.sa_data, 14); in load_if()
281 int halen, unsigned char *lladdr) in rarp_lookup() argument
292 if (memcmp(r->lladdr, lladdr, halen) == 0) in rarp_lookup()
308 if (ether_ntohost(ename, lladdr) != 0 || in rarp_lookup()
320 memcpy(emap.lladdr, lladdr, 6); in rarp_lookup()
358 memcpy(*ptr_p, ifl->lladdr, alen); in put_mylladdr()
387 void arp_advise(int ifindex, unsigned char *lladdr, int lllen, __u32 ipaddr) in arp_advise() argument
408 memcpy(req.arp_ha.sa_data, lladdr, lllen); in arp_advise()
[all …]
/external/iproute2/lib/
Dll_addr.c50 int ll_addr_a2n(char *lladdr, int len, const char *arg) in ll_addr_a2n() argument
60 memcpy(lladdr, pfx.data, 4); in ll_addr_a2n()
80 lladdr[i] = temp; in ll_addr_a2n()
/external/linux-kselftest/tools/testing/selftests/net/
Dfib-onlink-tests.sh408 local lladdr
410 lladdr=$(get_linklocal ${NETIFS[p1]}) || return 1
414 run_ip6 254 ${TEST_NET6[1]}::12 ${lladdr} ${NETIFS[p1]} 2 \
419 lladdr=$(get_linklocal ${NETIFS[p5]}) || return 1
422 run_ip6 ${VRF_TABLE} ${TEST_NET6[2]}::12 ${lladdr} ${NETIFS[p5]} 2 \
/external/libnl/lib/route/
Dneigh.c290 __ADD(NEIGH_ATTR_LLADDR, lladdr)
438 char dst[INET6_ADDRSTRLEN+5], lladdr[INET6_ADDRSTRLEN+5]; in neigh_dump_line() local
457 nl_addr2str(n->n_lladdr, lladdr, sizeof(lladdr))); in neigh_dump_line()
/external/iproute2/include/
Drt_names.h27 int ll_addr_a2n(char *lladdr, int len, const char *arg);
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dmirror_gre_neigh.sh67 ip neigh replace dev $swp3 $addr lladdr 00:11:22:33:44:55
/external/ltp/testcases/network/iproute/
Dip_tests.sh147 ip neigh replace $taddr lladdr 00:00:00:00:00:00 dev $tdev nud reachable
/external/toybox/toys/pending/
Ddhcp6.c105 uint8_t lladdr[6]; member
196 memcpy(duid->lladdr,mac, 6); in fill_clientID()
Ddhcpd.c217 uint8_t lladdr[]; //flexible member
1866 memcpy((*server_duid_p).lladdr, gconfig.server_mac, in dhcpd_main()
1868 memcpy(&client_lla, (*(struct optval_duid_llt*)client_duid).lladdr, in dhcpd_main()
1896 memcpy(client_lla, (*(struct optval_duid_llt*)client_duid).lladdr, in dhcpd_main()
/external/scapy/scapy/layers/
Dinet6.py109 p /= ICMPv6NDOptSrcLLAddr(lladdr=get_if_hwaddr(iface))
149 mac = res[ICMPv6NDOptDstLLAddr].lladdr
3448 rep /= ICMPv6NDOptDstLLAddr(lladdr=reply_mac)
3572 rep /= ICMPv6NDOptDstLLAddr(lladdr=reply_mac)
3696 pkt /= ICMPv6NDOptSrcLLAddr(lladdr=src_lladdr)
3800 mac = req[ICMPv6NDOptSrcLLAddr].lladdr
3803 rep /= ICMPv6NDOptSrcLLAddr(lladdr=mac)
Ddhcp6.py1347 self.duid = DUID_LLT(timeval = timeval, lladdr = mac)
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c6809 struct sockaddr_ll lladdr; in handle_eapol() local
6812 socklen_t fromlen = sizeof(lladdr); in handle_eapol()
6815 (struct sockaddr *)&lladdr, &fromlen); in handle_eapol()
6822 if (have_ifidx(drv, lladdr.sll_ifindex, IFIDX_ANY)) in handle_eapol()
6823 drv_event_eapol_rx(drv->ctx, lladdr.sll_addr, buf, len); in handle_eapol()
/external/scapy/test/
Dregression.uts2396 raw(ICMPv6NDOptSrcLLAddr(len=2, lladdr="11:11:11:11:11:11")) == b'\x01\x02\x11\x11\x11\x11\x11\x11'
2400 a.type == 1 and a.len == 1 and a.lladdr == "00:00:00:00:00:00"
2404 a.type == 1 and a.len == 2 and a.lladdr == "11:11:11:11:11:11"
2415 raw(ICMPv6NDOptDstLLAddr(len=2, lladdr="11:11:11:11:11:11")) == b'\x02\x02\x11\x11\x11\x11\x11\x11'
2419 a.type == 2 and a.len == 1 and a.lladdr == "00:00:00:00:00:00"
2423 a.type == 2 and a.len == 2 and a.lladdr == "11:11:11:11:11:11"
3373 …mock_srp1.return_value = Ether()/IPv6()/ICMPv6ND_NA()/ICMPv6NDOptDstLLAddr(lladdr="05:04:03:02:01:…
3378 ICMPv6NDOptDstLLAddr in p and p[ICMPv6NDOptDstLLAddr].lladdr == "05:04:03:02:01:00"
3503 raw(DUID_LLT(lladdr="ff:ff:ff:ff:ff:ff", timeval=0x11111111, hwtype=0x2222)) == b'\x00\x01""\x11\x1…
3507 a.type == 1 and a.hwtype == 1 and a.timeval == 0 and a.lladdr == "00:00:00:00:00:00"
[all …]
/external/libnl/doc/
Dcore.txt2346 struct nl_msg *build_msg(int ifindex, struct nl_addr *lladdr, int mtu)
2367 NLA_PUT_ADDR(msg, IFLA_ADDRESS, lladdr);