Lines Matching defs:hdr
95 struct ElementHeader *hdr = (struct ElementHeader *)ie;
100 while (ie + len >= ((uint8_t *)hdr + sizeof(*hdr) + hdr->datalen)) {
101 pos = (uint8_t *)hdr + sizeof(*hdr);
102 if (hdr->id == WLAN_EID_SSID) {
103 if (hdr->datalen < MAX_SSID_LEN && memcpy_s(ssid, MAX_SSID_LEN, pos, hdr->datalen) == EOK) {
108 hdr = (struct ElementHeader *)(pos + hdr->datalen);