Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Darp.c55 struct type hwtype[] = { variable
233 if ((type = get_index(hwtype, TT.hw_type)) != ARPHRD_ETHER) in arp_main()
264 if (((toys.optflags & FLAG_H) && (get_index(hwtype, TT.hw_type) != h_type)) in arp_main()
279 for (i = 0; hwtype[i].name; i++) in arp_main()
280 if (hwtype[i].val & h_type) break; in arp_main()
281 if (!hwtype[i].name) error_exit("unknown h/w type"); in arp_main()
286 } 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
1863 (*server_duid_p).hwtype = htons(1); in dhcpd_main()
/external/syslinux/core/lwip/src/netif/
Dundiif.c123 PACK_STRUCT_FIELD(u16_t hwtype);
221 hdr->hwtype,
592 hdr->hwtype = htons(MAC_type); in undiarp_request()
1337 if ((hdr->hwtype != htons(MAC_type)) || in undiarp_input()
1343 hdr->hwtype, hdr->hwlen, hdr->proto, hdr->protolen)); in undiarp_input()
Detharp.c702 if ((hdr->hwtype != PP_HTONS(HWTYPE_ETHERNET)) ||
708 hdr->hwtype, hdr->hwlen, hdr->proto, hdr->protolen));
1170 hdr->hwtype = PP_HTONS(HWTYPE_ETHERNET);
/external/syslinux/core/lwip/src/include/netif/
Detharp.h116 PACK_STRUCT_FIELD(u16_t hwtype);
/external/dhcpcd-6.8.2/
Ddhcp.h163 uint8_t hwtype; /* hardware address type */ member
Ddhcp.c750 dhcp->hwtype = (uint8_t)ifp->family; in make_message()
/external/dnsmasq/src/
Ddnsmasq.h806 unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr,
Drfc2131.c1310 unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr, in extended_hwaddr() argument
1315 if (clid[0] == hwtype) in extended_hwaddr()
1322 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…