Searched refs:hwtype (Results 1 – 11 of 11) sorted by relevance
/external/toybox/toys/pending/ |
D | arp.c | 55 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()
|
D | dhcp6.c | 103 uint16_t hwtype; member 192 duid->hwtype = htons(1); in fill_clientID()
|
D | dhcpd.c | 215 uint16_t hwtype; member 1863 (*server_duid_p).hwtype = htons(1); in dhcpd_main()
|
/external/syslinux/core/lwip/src/netif/ |
D | undiif.c | 123 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()
|
D | etharp.c | 702 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/ |
D | etharp.h | 116 PACK_STRUCT_FIELD(u16_t hwtype);
|
/external/dhcpcd-6.8.2/ |
D | dhcp.h | 163 uint8_t hwtype; /* hardware address type */ member
|
D | dhcp.c | 750 dhcp->hwtype = (uint8_t)ifp->family; in make_message()
|
/external/dnsmasq/src/ |
D | dnsmasq.h | 806 unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr,
|
D | rfc2131.c | 1310 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/ |
D | regression.uts | 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" 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…
|