Lines Matching defs:hdr
41 struct ElementHeader *hdr = (struct ElementHeader *)ie;
46 while ((ie + len) >= ((uint8_t *)hdr + sizeof(*hdr) + hdr->datalen)) {
47 pos = (uint8_t *)hdr + sizeof(*hdr);
48 if (hdr->id == WLAN_EID_SSID) {
49 if (hdr->datalen < MAX_SSID_LEN && memcpy_s(ssid, MAX_SSID_LEN, pos, hdr->datalen) == EOK) {
54 hdr = (struct ElementHeader *)(pos + hdr->datalen);