Searched refs:hdr3 (Results 1 – 2 of 2) sorted by relevance
| /freebsd/contrib/wpa/src/eap_peer/ |
| H A D | eap_psk.c | 181 const struct eap_psk_hdr_3 *hdr3; in eap_psk_process_3() local 195 hdr3 = (const struct eap_psk_hdr_3 *) pos; in eap_psk_process_3() 196 if (pos == NULL || len < sizeof(*hdr3)) { in eap_psk_process_3() 200 (unsigned long) sizeof(*hdr3)); in eap_psk_process_3() 204 left = len - sizeof(*hdr3); in eap_psk_process_3() 205 pchannel = (const u8 *) (hdr3 + 1); in eap_psk_process_3() 206 wpa_printf(MSG_DEBUG, "EAP-PSK: Flags=0x%x", hdr3->flags); in eap_psk_process_3() 207 if (EAP_PSK_FLAGS_GET_T(hdr3->flags) != 2) { in eap_psk_process_3() 209 EAP_PSK_FLAGS_GET_T(hdr3->flags)); in eap_psk_process_3() 214 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_S", hdr3->rand_s, in eap_psk_process_3() [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | efuse_be.c | 201 #define invalid_efuse_header_be(hdr1, hdr2, hdr3) \ argument 202 ((hdr1) == 0xff || (hdr2) == 0xff || (hdr3) == 0xff) 205 #define get_efuse_blk_idx_be(hdr1, hdr2, hdr3) \ argument 206 (((hdr1) << 16) | ((hdr2) << 8) | (hdr3)) 224 u8 hdr1, hdr2, hdr3; in rtw89_eeprom_parser_be() local 257 hdr3 = phy_map[phy_idx + 2]; in rtw89_eeprom_parser_be() 258 if (invalid_efuse_header_be(hdr1, hdr2, hdr3)) in rtw89_eeprom_parser_be() 263 hdr = get_efuse_blk_idx_be(hdr1, hdr2, hdr3); in rtw89_eeprom_parser_be()
|