Home
last modified time | relevance | path

Searched refs:hwtype (Results 1 – 6 of 6) sorted by relevance

/external/toybox/toys/pending/
Darp.c55 struct type hwtype[] = { variable
228 if ((type = get_index(hwtype, TT.hw_type)) != ARPHRD_ETHER) in arp_main()
259 if (((toys.optflags & FLAG_H) && (get_index(hwtype, TT.hw_type) != h_type)) in arp_main()
274 for (i = 0; hwtype[i].name; i++) in arp_main()
275 if (hwtype[i].val & h_type) break; in arp_main()
276 if (!hwtype[i].name) error_exit("unknown h/w type"); in arp_main()
281 } else printf(" %s [%s]", hw_addr, hwtype[i].name); in arp_main()
Ddhcp6.c103 uint16_t hwtype; member
192 duid->hwtype = htons(1); in fill_clientID()
Ddhcpd.c215 uint16_t hwtype; member
1862 (*server_duid_p).hwtype = htons(1); in dhcpd_main()
/external/dnsmasq/src/
Ddnsmasq.h793 unsigned char* extended_hwaddr(int hwtype, int hwlen, unsigned char* hwaddr, int clid_len,
Drfc2131.c1163 unsigned char* extended_hwaddr(int hwtype, int hwlen, unsigned char* hwaddr, int clid_len, in extended_hwaddr() argument
1166 if (clid[0] == hwtype) { in extended_hwaddr()
1172 if (clid[0] == ARPHRD_EUI64 && hwtype == ARPHRD_IEEE1394) { in extended_hwaddr()
/external/scapy/test/
Dregression.uts3503 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"
3511 a.type == 1 and a.hwtype == 0x2222 and a.timeval == 0x11111111 and a.lladdr == "ff:ff:ff:ff:ff:ff"
3547 raw(DUID_LL(hwtype=1, lladdr="ff:ff:ff:ff:ff:ff")) == b'\x00\x03\x00\x01\xff\xff\xff\xff\xff\xff'
3551 a.type == 3 and a.hwtype == 1 and a.lladdr == "00:00:00:00:00:00"
3555 a.hwtype == 1 and a.lladdr == "ff:ff:ff:ff:ff:ff"
3614 …en == 10 and isinstance(a.duid, DUID_LL) and a.duid.type == 3 and a.duid.hwtype == 1 and a.duid.ll…
3618 …n == 14 and isinstance(a.duid, DUID_LLT) and a.duid.type == 1 and a.duid.hwtype == 1 and a.duid.ti…
3660 …en == 10 and isinstance(a.duid, DUID_LL) and a.duid.type == 3 and a.duid.hwtype == 1 and a.duid.ll…
3664 …n == 14 and isinstance(a.duid, DUID_LLT) and a.duid.type == 1 and a.duid.hwtype == 1 and a.duid.ti…