Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 25 of 497) sorted by relevance

12345678910>>...20

/dragonfly/contrib/wpa_supplicant/src/tls/
HDtlsv1_client_ocsp.c116 struct asn1_hdr hdr; in tls_process_ocsp_single_response() local
141 if (asn1_get_next(resp, len, &hdr) < 0 || in tls_process_ocsp_single_response()
142 hdr.class != ASN1_CLASS_UNIVERSAL || in tls_process_ocsp_single_response()
143 hdr.tag != ASN1_TAG_SEQUENCE) { in tls_process_ocsp_single_response()
146 hdr.class, hdr.tag); in tls_process_ocsp_single_response()
149 pos = hdr.payload; in tls_process_ocsp_single_response()
150 end = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
165 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
166 hdr.class != ASN1_CLASS_UNIVERSAL || in tls_process_ocsp_single_response()
167 hdr.tag != ASN1_TAG_OCTETSTRING) { in tls_process_ocsp_single_response()
[all …]
HDtlsv1_cred.c446 struct asn1_hdr hdr; in pkcs12_certbag() local
458 if (asn1_get_next(buf, len, &hdr) < 0 || in pkcs12_certbag()
459 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs12_certbag()
460 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs12_certbag()
463 hdr.class, hdr.tag); in pkcs12_certbag()
467 pos = hdr.payload; in pkcs12_certbag()
468 end = hdr.payload + hdr.length; in pkcs12_certbag()
485 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_certbag()
486 hdr.class != ASN1_CLASS_CONTEXT_SPECIFIC || in pkcs12_certbag()
487 hdr.tag != 0) { in pkcs12_certbag()
[all …]
HDx509v3.c185 struct asn1_hdr hdr; in x509_parse_algorithm_identifier() local
195 if (asn1_get_next(buf, len, &hdr) < 0 || in x509_parse_algorithm_identifier()
196 hdr.class != ASN1_CLASS_UNIVERSAL || in x509_parse_algorithm_identifier()
197 hdr.tag != ASN1_TAG_SEQUENCE) { in x509_parse_algorithm_identifier()
200 hdr.class, hdr.tag); in x509_parse_algorithm_identifier()
203 if (hdr.length > buf + len - hdr.payload) in x509_parse_algorithm_identifier()
205 pos = hdr.payload; in x509_parse_algorithm_identifier()
206 end = pos + hdr.length; in x509_parse_algorithm_identifier()
223 struct asn1_hdr hdr; in x509_parse_public_key() local
236 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_public_key()
[all …]
HDpkcs8.c21 struct asn1_hdr hdr; in pkcs8_key_import() local
30 if (asn1_get_next(buf, len, &hdr) < 0 || in pkcs8_key_import()
31 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs8_key_import()
32 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs8_key_import()
37 pos = hdr.payload; in pkcs8_key_import()
38 end = pos + hdr.length; in pkcs8_key_import()
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_key_import()
42 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) { in pkcs8_key_import()
45 hdr.class, hdr.tag); in pkcs8_key_import()
53 if (bignum_set_unsigned_bin(zero, hdr.payload, hdr.length) < 0) { in pkcs8_key_import()
[all …]
HDpkcs5.c93 struct asn1_hdr hdr; in pkcs5_get_params_pbes2() local
109 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
110 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs5_get_params_pbes2()
111 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs5_get_params_pbes2()
114 hdr.class, hdr.tag); in pkcs5_get_params_pbes2()
117 pos = hdr.payload; in pkcs5_get_params_pbes2()
118 end = hdr.payload + hdr.length; in pkcs5_get_params_pbes2()
120 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
121 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs5_get_params_pbes2()
122 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs5_get_params_pbes2()
[all …]
HDasn1.c25 static int asn1_valid_der_boolean(struct asn1_hdr *hdr) in asn1_valid_der_boolean() argument
28 if (hdr->length != 1) { in asn1_valid_der_boolean()
30 hdr->length); in asn1_valid_der_boolean()
34 if (hdr->payload[0] != 0 && hdr->payload[0] != 0xff) { in asn1_valid_der_boolean()
37 hdr->payload[0]); in asn1_valid_der_boolean()
45 static int asn1_valid_der(struct asn1_hdr *hdr) in asn1_valid_der() argument
47 if (hdr->class != ASN1_CLASS_UNIVERSAL) in asn1_valid_der()
49 if (hdr->tag == ASN1_TAG_BOOLEAN && !asn1_valid_der_boolean(hdr)) in asn1_valid_der()
55 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) in asn1_get_next() argument
60 os_memset(hdr, 0, sizeof(*hdr)); in asn1_get_next()
[all …]
HDpkcs1.c205 struct asn1_hdr hdr; in pkcs1_v15_sig_ver() local
234 if (asn1_get_next(decrypted, decrypted_len, &hdr) < 0 || in pkcs1_v15_sig_ver()
235 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs1_v15_sig_ver()
236 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs1_v15_sig_ver()
239 hdr.class, hdr.tag); in pkcs1_v15_sig_ver()
244 pos = hdr.payload; in pkcs1_v15_sig_ver()
245 end = pos + hdr.length; in pkcs1_v15_sig_ver()
255 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs1_v15_sig_ver()
256 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs1_v15_sig_ver()
257 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs1_v15_sig_ver()
[all …]
/dragonfly/sys/dev/misc/tbridge/
HDsafe_mem.c74 struct safe_mem_hdr *hdr, *hdrp; in _alloc_safe_mem() local
83 hdr = (struct safe_mem_hdr *)(user_mem - sizeof(*hdr)); in _alloc_safe_mem()
86 strcpy(hdr->sig, "SAFEMEM"); in _alloc_safe_mem()
88 hdr->tail = tail; in _alloc_safe_mem()
89 hdr->alloc_sz = alloc_sz; in _alloc_safe_mem()
90 hdr->file = file; in _alloc_safe_mem()
91 hdr->line = line; in _alloc_safe_mem()
92 hdr->next = NULL; in _alloc_safe_mem()
95 safe_mem_hdr_first = hdr; in _alloc_safe_mem()
100 hdr->prev = hdrp; in _alloc_safe_mem()
[all …]
/dragonfly/sbin/cryptdisks/
HDsafe_mem.c57 struct safe_mem_hdr *hdr, *hdrp; in _alloc_safe_mem() local
62 alloc_sz = req_sz + sizeof(*hdr) + sizeof(*tail); in _alloc_safe_mem()
73 hdr = (struct safe_mem_hdr *)mem; in _alloc_safe_mem()
75 user_mem = mem + sizeof(*hdr); in _alloc_safe_mem()
77 strcpy(hdr->sig, "SAFEMEM"); in _alloc_safe_mem()
79 hdr->tail = tail; in _alloc_safe_mem()
80 hdr->alloc_sz = alloc_sz; in _alloc_safe_mem()
81 hdr->file = file; in _alloc_safe_mem()
82 hdr->line = line; in _alloc_safe_mem()
83 hdr->next = NULL; in _alloc_safe_mem()
[all …]
/dragonfly/lib/libtcplay/
HDsafe_mem.c57 struct safe_mem_hdr *hdr, *hdrp; in _alloc_safe_mem() local
62 alloc_sz = req_sz + sizeof(*hdr) + sizeof(*tail); in _alloc_safe_mem()
73 hdr = (struct safe_mem_hdr *)mem; in _alloc_safe_mem()
75 user_mem = mem + sizeof(*hdr); in _alloc_safe_mem()
77 strcpy(hdr->sig, "SAFEMEM"); in _alloc_safe_mem()
79 hdr->tail = tail; in _alloc_safe_mem()
80 hdr->alloc_sz = alloc_sz; in _alloc_safe_mem()
81 hdr->file = file; in _alloc_safe_mem()
82 hdr->line = line; in _alloc_safe_mem()
83 hdr->next = NULL; in _alloc_safe_mem()
[all …]
/dragonfly/sys/dev/drm/radeon/
HDradeon_ucode.c30 static void radeon_ucode_print_common_hdr(const struct common_firmware_header *hdr) in radeon_ucode_print_common_hdr() argument
32 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in radeon_ucode_print_common_hdr()
33 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); in radeon_ucode_print_common_hdr()
34 DRM_DEBUG("header_version_major: %u\n", le16_to_cpu(hdr->header_version_major)); in radeon_ucode_print_common_hdr()
35 DRM_DEBUG("header_version_minor: %u\n", le16_to_cpu(hdr->header_version_minor)); in radeon_ucode_print_common_hdr()
36 DRM_DEBUG("ip_version_major: %u\n", le16_to_cpu(hdr->ip_version_major)); in radeon_ucode_print_common_hdr()
37 DRM_DEBUG("ip_version_minor: %u\n", le16_to_cpu(hdr->ip_version_minor)); in radeon_ucode_print_common_hdr()
38 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in radeon_ucode_print_common_hdr()
39 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in radeon_ucode_print_common_hdr()
41 le32_to_cpu(hdr->ucode_array_offset_bytes)); in radeon_ucode_print_common_hdr()
[all …]
/dragonfly/contrib/cryptsetup/luks/
HDkeymanage.c84 struct luks_phdr *hdr, in LUKS_hdr_backup() argument
97 r = LUKS_read_phdr(device, hdr, 0, ctx); in LUKS_hdr_backup()
101 buffer_size = hdr->payloadOffset << SECTOR_SHIFT; in LUKS_hdr_backup()
109 sizeof(*hdr), buffer_size - LUKS_ALIGN_KEYSLOTS); in LUKS_hdr_backup()
125 memset(buffer + sizeof(*hdr), 0, LUKS_ALIGN_KEYSLOTS - sizeof(*hdr)); in LUKS_hdr_backup()
150 struct luks_phdr *hdr, in LUKS_hdr_restore() argument
193 r = LUKS_read_phdr(device, hdr, 0, ctx); in LUKS_hdr_restore()
196 if(hdr->payloadOffset != hdr_file.payloadOffset || in LUKS_hdr_restore()
197 hdr->keyBytes != hdr_file.keyBytes) { in LUKS_hdr_restore()
202 if (memcmp(hdr->uuid, hdr_file.uuid, UUID_STRING_L)) in LUKS_hdr_restore()
[all …]
/dragonfly/sys/netgraph7/bluetooth/l2cap/
HDng_l2cap_cmds.h54 ng_l2cap_cmd_hdr_t hdr; \
64 c->hdr.code = NG_L2CAP_CMD_REJ; \
65 c->hdr.ident = (_ident); \
66 c->hdr.length = sizeof(c->param); \
72 c->hdr.length += sizeof(c->data.mtu); \
76 c->hdr.length += sizeof(c->data.cid); \
79 (_m)->m_pkthdr.len = (_m)->m_len = sizeof(c->hdr) + \
80 c->hdr.length; \
82 c->hdr.length = htole16(c->hdr.length); \
89 ng_l2cap_cmd_hdr_t hdr; \
[all …]
HDng_l2cap_evnt.c89 ng_l2cap_hdr_t *hdr = NULL; in ng_l2cap_receive() local
93 if (con->rx_pkt->m_pkthdr.len < sizeof(*hdr)) { in ng_l2cap_receive()
103 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive()
107 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *); in ng_l2cap_receive()
108 hdr->length = le16toh(hdr->length); in ng_l2cap_receive()
109 hdr->dcid = le16toh(hdr->dcid); in ng_l2cap_receive()
112 if (hdr->length != con->rx_pkt->m_pkthdr.len - sizeof(*hdr)) { in ng_l2cap_receive()
115 __func__, NG_NODE_NAME(l2cap->node), hdr->length, in ng_l2cap_receive()
116 con->rx_pkt->m_pkthdr.len - sizeof(*hdr)); in ng_l2cap_receive()
122 switch (hdr->dcid) { in ng_l2cap_receive()
[all …]
/dragonfly/sys/kern/
HDsubr_module.c50 u_int32_t *hdr; in preload_search_by_name() local
60 hdr = (u_int32_t *)curp; in preload_search_by_name()
61 if (hdr[0] == 0 && hdr[1] == 0) in preload_search_by_name()
68 if (hdr[0] == MODINFO_NAME) { in preload_search_by_name()
79 next = sizeof(u_int32_t) * 2 + hdr[1]; in preload_search_by_name()
93 u_int32_t *hdr; in preload_search_by_type() local
101 hdr = (u_int32_t *)curp; in preload_search_by_type()
102 if (hdr[0] == 0 && hdr[1] == 0) in preload_search_by_type()
106 if (hdr[0] == MODINFO_NAME) in preload_search_by_type()
110 if ((hdr[0] == MODINFO_TYPE) && in preload_search_by_type()
[all …]
/dragonfly/contrib/libpcap/
HDsf-pcap.c111 static int pcap_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char **datap);
157 struct pcap_file_header hdr; in pcap_check_header() local
189 hdr.magic = magic_int; in pcap_check_header()
190 amt_read = fread(((char *)&hdr) + sizeof hdr.magic, 1, in pcap_check_header()
191 sizeof(hdr) - sizeof(hdr.magic), fp); in pcap_check_header()
192 if (amt_read != sizeof(hdr) - sizeof(hdr.magic)) { in pcap_check_header()
199 sizeof(hdr), amt_read); in pcap_check_header()
209 hdr.version_major = SWAPSHORT(hdr.version_major); in pcap_check_header()
210 hdr.version_minor = SWAPSHORT(hdr.version_minor); in pcap_check_header()
211 hdr.thiszone = SWAPLONG(hdr.thiszone); in pcap_check_header()
[all …]
/dragonfly/sbin/gpt/
HDexpand.c76 struct gpt_hdr *hdr; in expand() local
136 hdr = gpt->map_data; in expand()
137 delta = last - hdr->hdr_lba_alt; in expand()
138 hdr->hdr_lba_alt = htole64(last); in expand()
152 hdr = gpt2->map_data; in expand()
153 *hdr = *(struct gpt_hdr *)gpt->map_data; in expand()
155 hdr->hdr_lba_self = htole64(gpt2->map_start); in expand()
156 hdr->hdr_lba_table = htole64(tbl2->map_start); in expand()
157 hdr->hdr_lba_alt = htole64(1); in expand()
161 for (i = 0; i < le32toh(hdr->hdr_entries); ++i) { in expand()
[all …]
HDadd.c62 struct gpt_hdr *hdr; in add() local
87 hdr = gpt->map_data; in add()
88 if (entry != NOENTRY && entry > le32toh(hdr->hdr_entries)) { in add()
90 entry, le32toh(hdr->hdr_entries)); in add()
97 le32toh(hdr->hdr_entsz)); in add()
106 for (i = 0; i < le32toh(hdr->hdr_entries); i++) { in add()
108 le32toh(hdr->hdr_entsz)); in add()
112 if (i == le32toh(hdr->hdr_entries)) { in add()
129 hdr->hdr_crc_table = htole32(crc32(tbl->map_data, in add()
130 le32toh(hdr->hdr_entries) * le32toh(hdr->hdr_entsz))); in add()
[all …]
/dragonfly/sys/dev/raid/mfi/
HDmfi_debug.c66 mfi_print_sgl(struct mfi_frame_header *hdr, union mfi_sgl *sgl, int count) in mfi_print_sgl() argument
72 if (hdr->flags & MFI_FRAME_IEEE_SGL) { in mfi_print_sgl()
80 } else if (hdr->flags & MFI_FRAME_SGL64) { in mfi_print_sgl()
107 struct mfi_frame_header *hdr; in mfi_print_ldio() local
110 hdr = &io->header; in mfi_print_ldio()
113 "lba=%d\n", (hdr->cmd == MFI_CMD_LD_READ) ? "LD_READ":"LD_WRITE", in mfi_print_ldio()
114 hdr->target_id, hdr->sg_count, hdr->data_len, io->lba_lo); in mfi_print_ldio()
115 mfi_print_frame_flags(dev, hdr->flags); in mfi_print_ldio()
116 mfi_print_sgl(hdr, &io->sgl, hdr->sg_count); in mfi_print_ldio()
124 struct mfi_frame_header *hdr; in mfi_print_dcmd() local
[all …]
/dragonfly/sys/dev/drm/amd/amdgpu/
HDamdgpu_ucode.c31 static void amdgpu_ucode_print_common_hdr(const struct common_firmware_header *hdr) in amdgpu_ucode_print_common_hdr() argument
33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in amdgpu_ucode_print_common_hdr()
34 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); in amdgpu_ucode_print_common_hdr()
35 DRM_DEBUG("header_version_major: %u\n", le16_to_cpu(hdr->header_version_major)); in amdgpu_ucode_print_common_hdr()
36 DRM_DEBUG("header_version_minor: %u\n", le16_to_cpu(hdr->header_version_minor)); in amdgpu_ucode_print_common_hdr()
37 DRM_DEBUG("ip_version_major: %u\n", le16_to_cpu(hdr->ip_version_major)); in amdgpu_ucode_print_common_hdr()
38 DRM_DEBUG("ip_version_minor: %u\n", le16_to_cpu(hdr->ip_version_minor)); in amdgpu_ucode_print_common_hdr()
39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in amdgpu_ucode_print_common_hdr()
40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_ucode_print_common_hdr()
42 le32_to_cpu(hdr->ucode_array_offset_bytes)); in amdgpu_ucode_print_common_hdr()
[all …]
/dragonfly/sys/vfs/ext2fs/
HDext2_extents.h107 #define EXT_FIRST_EXTENT(hdr) ((struct ext4_extent *)(((char *)(hdr)) + \ argument
109 #define EXT_FIRST_INDEX(hdr) ((struct ext4_extent_index *)(((char *)(hdr)) + \ argument
111 #define EXT_LAST_EXTENT(hdr) (EXT_FIRST_EXTENT((hdr)) + le16toh((hdr)->eh_ecount) - 1) argument
112 #define EXT_LAST_INDEX(hdr) (EXT_FIRST_INDEX((hdr)) + le16toh((hdr)->eh_ecount) - 1) argument
113 #define EXT4_EXTENT_TAIL_OFFSET(hdr) (sizeof(struct ext4_extent_header) + \ argument
114 (sizeof(struct ext4_extent) * le16toh((hdr)->eh_max)))
117 #define EXT_MAX_EXTENT(hdr) (EXT_FIRST_EXTENT(hdr) + le16toh((hdr)->eh_max) - 1) argument
118 #define EXT_MAX_INDEX(hdr) (EXT_FIRST_INDEX((hdr)) + le16toh((hdr)->eh_max) - 1) argument
/dragonfly/lib/libkvm/
HDkvm_minidump_x86_64.c139 struct minidumphdr1 *hdr);
141 struct minidumphdr2 *hdr);
183 struct minidumphdr1 *hdr) in _kvm_minidump_init_hdr1() argument
188 off = PAGE_SIZE + round_page(hdr->msgbufsize); in _kvm_minidump_init_hdr1()
190 vmst->bitmap = _kvm_malloc(kd, hdr->bitmapsize); in _kvm_minidump_init_hdr1()
194 (intmax_t)hdr->bitmapsize); in _kvm_minidump_init_hdr1()
197 if (pread(kd->pmfd, vmst->bitmap, hdr->bitmapsize, off) != in _kvm_minidump_init_hdr1()
198 hdr->bitmapsize) { in _kvm_minidump_init_hdr1()
201 (intmax_t)hdr->bitmapsize); in _kvm_minidump_init_hdr1()
206 vmst->ptemap = _kvm_malloc(kd, hdr->ptesize); in _kvm_minidump_init_hdr1()
[all …]
/dragonfly/stand/boot/pc32/btxld/
HDbtxld.c62 struct hdr { struct
109 static void gethdr(int, struct hdr *);
110 static void puthdr(int, struct hdr *);
192 struct hdr ihdr, ohdr; in btxld()
306 gethdr(int fd, struct hdr *hdr) in gethdr() argument
315 memset(hdr, 0, sizeof(*hdr)); in gethdr()
320 hdr->size = sb.st_size; in gethdr()
321 if ((p = mmap(NULL, hdr->size, PROT_READ, MAP_SHARED, fd, in gethdr()
324 for (fmt = F_CNT - 1; !hdr->fmt && fmt; fmt--) in gethdr()
328 if (hdr->size >= sizeof(struct exec) && !N_BADMAG(*ex)) { in gethdr()
[all …]
/dragonfly/contrib/gdb-7/bfd/
HDarchive.c466 struct ar_hdr hdr; in _bfd_generic_read_ar_hdr_mag() local
467 char *hdrp = (char *) &hdr; in _bfd_generic_read_ar_hdr_mag()
485 if (strncmp (hdr.ar_fmag, ARFMAG, 2) != 0 in _bfd_generic_read_ar_hdr_mag()
487 || strncmp (hdr.ar_fmag, mag, 2) != 0)) in _bfd_generic_read_ar_hdr_mag()
494 fmag_save = hdr.ar_fmag[0]; in _bfd_generic_read_ar_hdr_mag()
495 hdr.ar_fmag[0] = 0; in _bfd_generic_read_ar_hdr_mag()
496 scan = sscanf (hdr.ar_size, "%" BFD_VMA_FMT "u", &parsed_size); in _bfd_generic_read_ar_hdr_mag()
497 hdr.ar_fmag[0] = fmag_save; in _bfd_generic_read_ar_hdr_mag()
507 if ((hdr.ar_name[0] == '/' in _bfd_generic_read_ar_hdr_mag()
508 || (hdr.ar_name[0] == ' ' in _bfd_generic_read_ar_hdr_mag()
[all …]
/dragonfly/contrib/wpa_supplicant/src/eap_common/
HDeap_common.c27 const struct eap_hdr *hdr; in eap_hdr_len_valid() local
33 hdr = wpabuf_head(msg); in eap_hdr_len_valid()
35 if (wpabuf_len(msg) < sizeof(*hdr)) { in eap_hdr_len_valid()
40 len = be_to_host16(hdr->length); in eap_hdr_len_valid()
41 if (len < sizeof(*hdr) + min_payload || len > wpabuf_len(msg)) { in eap_hdr_len_valid()
69 const struct eap_hdr *hdr; in eap_hdr_validate() local
76 hdr = wpabuf_head(msg); in eap_hdr_validate()
77 len = be_to_host16(hdr->length); in eap_hdr_validate()
78 pos = (const u8 *) (hdr + 1); in eap_hdr_validate()
83 if (len < sizeof(*hdr) + 8) { in eap_hdr_validate()
[all …]

12345678910>>...20