/external/qemu/ |
bt-vhci.c | 32 uint8_t hdr[4096]; member in struct:bt_vhci_s 45 s->len = read(s->fd, s->hdr, sizeof(s->hdr)); 52 pkt = s->hdr;
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
elf-fdpic.h | 38 struct elfhdr hdr; /* ref copy of ELF header */ member in struct:elf_fdpic_params
|
/external/wpa_supplicant_8/src/common/ |
wpa_common.c | 249 const struct rsn_ie_hdr *hdr; local 279 hdr = (const struct rsn_ie_hdr *) rsn_ie; 281 if (hdr->elem_id != WLAN_EID_RSN || 282 hdr->len != rsn_ie_len - 2 || 283 WPA_GET_LE16(hdr->version) != RSN_VERSION) { 289 pos = (const u8 *) (hdr + 1); 290 left = rsn_ie_len - sizeof(*hdr); 439 const struct wpa_ie_hdr *hdr; local 465 hdr = (const struct wpa_ie_hdr *) wpa_ie; 467 if (hdr->elem_id != WLAN_EID_VENDOR_SPECIFIC | [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_peap.c | 467 struct eap_hdr *hdr; local 469 req_len = sizeof(*hdr); 470 hdr = os_zalloc(req_len); 471 if (hdr == NULL) 474 hdr->code = success ? EAP_CODE_SUCCESS : EAP_CODE_FAILURE; 475 hdr->identifier = id; 476 hdr->length = host_to_be16(req_len); 479 (u8 *) hdr, req_len); 481 encr_req = eap_server_tls_encrypt(sm, &data->ssl, (u8 *) hdr, req_len); 482 os_free(hdr); 896 const struct eap_hdr *hdr; local 1033 const struct eap_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_peap.c | 469 struct eap_hdr *hdr; local 471 req_len = sizeof(*hdr); 472 hdr = os_zalloc(req_len); 473 if (hdr == NULL) 476 hdr->code = success ? EAP_CODE_SUCCESS : EAP_CODE_FAILURE; 477 hdr->identifier = id; 478 hdr->length = host_to_be16(req_len); 481 (u8 *) hdr, req_len); 483 wpabuf_set(&msgbuf, hdr, req_len); 485 os_free(hdr); 899 const struct eap_hdr *hdr; local 1035 const struct eap_hdr *hdr; local [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
const-fst.h | 164 FstHeader hdr; local 165 if (!impl->ReadHeaderAndSymbols(strm, opts, kMinFileVersion, &hdr)) 167 impl->start_ = hdr.Start(); 168 impl->nstates_ = hdr.NumStates(); 169 impl->narcs_ = hdr.NumArcs(); 198 FstHeader hdr; local 199 hdr.SetStart(start_); 200 hdr.SetNumStates(nstates_); 201 hdr.SetNumArcs(narcs_); 202 WriteHeaderAndSymbols(strm, opts, kFileVersion, &hdr); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eapol_supp/ |
eapol_supp_sm.c | 647 struct ieee802_1x_hdr *hdr; local 666 hdr = (struct ieee802_1x_hdr *) sm->last_rx_key; 667 key = (struct ieee802_1x_eapol_key *) (hdr + 1); 668 if (sizeof(*hdr) + be_to_host16(hdr->length) > sm->last_rx_key_len) { 675 hdr->version, hdr->type, be_to_host16(hdr->length), 722 sm->last_rx_key, sizeof(*hdr) + be_to_host16(hdr->length) 1149 const struct ieee802_1x_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/eapol_supp/ |
eapol_supp_sm.c | 655 struct ieee802_1x_hdr *hdr; local 674 hdr = (struct ieee802_1x_hdr *) sm->last_rx_key; 675 key = (struct ieee802_1x_eapol_key *) (hdr + 1); 676 if (sizeof(*hdr) + be_to_host16(hdr->length) > sm->last_rx_key_len) { 683 hdr->version, hdr->type, be_to_host16(hdr->length), 730 sm->last_rx_key, sizeof(*hdr) + be_to_host16(hdr->length) 1186 const struct ieee802_1x_hdr *hdr; local [all...] |
/external/wpa_supplicant/ |
eap_fast.c | 793 struct eap_hdr *hdr, 797 u8 *pos = (u8 *) (hdr + 1); 812 resp_hdr->identifier = hdr->identifier; 1046 struct eap_hdr *hdr, 1049 size_t len = be_to_host16(hdr->length); 1058 pos = (u8 *) (hdr + 1); 1062 *resp = eap_sm_buildIdentity(sm, hdr->identifier, resp_len, 1); 1087 if (eap_fast_phase2_nak(data, hdr, resp, resp_len)) 1124 &iret, (u8 *) hdr, len, 1381 struct pac_tlv_hdr *hdr; local 1529 struct eap_hdr *hdr; local 1823 struct pac_tlv_hdr *hdr; local [all...] |
l2_packet_freebsd.c | 78 struct pcap_pkthdr hdr; local 84 packet = pcap_next(pcap, &hdr); 86 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 92 len = hdr.caplen; 95 len = hdr.caplen - sizeof(*ethhdr);
|
eap.c | 831 const struct eap_hdr *hdr = (const struct eap_hdr *) req; local 832 const u8 *pos = (const u8 *) (hdr + 1); 848 pos, be_to_host16(hdr->length) - 5); 1010 const struct eap_hdr *hdr = (const struct eap_hdr *) req; local 1015 pos = (const u8 *) (hdr + 1); 1018 msg_len = be_to_host16(hdr->length); 1060 const struct eap_hdr *hdr; local 1070 if (req == NULL || len < sizeof(*hdr)) 1073 hdr = (const struct eap_hdr *) req; 1074 plen = be_to_host16(hdr->length) 1969 const struct eap_hdr *hdr; local 2083 struct eap_hdr *hdr; local [all...] |
eapol_sm.c | 622 struct ieee802_1x_hdr *hdr; local 641 hdr = (struct ieee802_1x_hdr *) sm->last_rx_key; 642 key = (struct ieee802_1x_eapol_key *) (hdr + 1); 643 if (sizeof(*hdr) + be_to_host16(hdr->length) > sm->last_rx_key_len) { 650 hdr->version, hdr->type, be_to_host16(hdr->length), 697 sm->last_rx_key, sizeof(*hdr) + be_to_host16(hdr->length) 1124 const struct ieee802_1x_hdr *hdr; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_ttls.c | 479 struct eap_hdr *hdr, size_t len, 486 wpabuf_set(&msg, hdr, len); 506 struct eap_hdr *hdr, size_t len, 513 return eap_ttls_phase2_eap_process(sm, data, ret, hdr, len, 551 hdr, resp)) 571 return eap_ttls_phase2_eap_process(sm, data, ret, hdr, len, resp); 578 struct eap_hdr *hdr, 581 size_t len = be_to_host16(hdr->length); 590 pos = (u8 *) (hdr + 1); 594 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1) 1221 struct eap_hdr *hdr; local 1272 struct eap_hdr *hdr; local 1518 struct eap_hdr *hdr; local [all...] |
eap_fast.c | 405 struct eap_hdr *hdr, 408 size_t len = be_to_host16(hdr->length); 419 pos = (u8 *) (hdr + 1); 422 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 442 hdr, resp)) 457 wpabuf_set(&msg, hdr, len); 476 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len); 548 struct eap_hdr *hdr; local 551 if (eap_payload_tlv_len < sizeof(*hdr)) { 558 hdr = (struct eap_hdr *) eap_payload_tlv 836 struct pac_tlv_hdr *hdr; local 956 struct pac_tlv_hdr *hdr; local 1310 struct pac_tlv_hdr *hdr; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_ttls.c | 479 struct eap_hdr *hdr, size_t len, 486 wpabuf_set(&msg, hdr, len); 506 struct eap_hdr *hdr, size_t len, 513 return eap_ttls_phase2_eap_process(sm, data, ret, hdr, len, 551 hdr, resp)) 571 return eap_ttls_phase2_eap_process(sm, data, ret, hdr, len, resp); 578 struct eap_hdr *hdr, 581 size_t len = be_to_host16(hdr->length); 590 pos = (u8 *) (hdr + 1); 594 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1) 1224 struct eap_hdr *hdr; local 1275 struct eap_hdr *hdr; local 1521 struct eap_hdr *hdr; local [all...] |
eap_fast.c | 405 struct eap_hdr *hdr, 408 size_t len = be_to_host16(hdr->length); 419 pos = (u8 *) (hdr + 1); 422 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 442 hdr, resp)) 457 wpabuf_set(&msg, hdr, len); 476 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len); 548 struct eap_hdr *hdr; local 551 if (eap_payload_tlv_len < sizeof(*hdr)) { 558 hdr = (struct eap_hdr *) eap_payload_tlv 836 struct pac_tlv_hdr *hdr; local 956 struct pac_tlv_hdr *hdr; local 1310 struct pac_tlv_hdr *hdr; local [all...] |
/external/bluetooth/hcidump/parser/ |
l2cap.c | 712 l2cap_hdr *hdr = (void *)frm->ptr; local 713 uint16_t dlen = btohs(hdr->len); 714 uint16_t cid = btohs(hdr->cid); 724 l2cap_cmd_hdr *hdr = frm->ptr; local 734 switch (hdr->code) { 748 conf_req(level, hdr, frm); 752 conf_rsp(level, hdr, frm); 764 echo_req(level, hdr, frm); 768 echo_rsp(level, hdr, frm); 772 info_req(level, hdr, frm) 941 l2cap_hdr *hdr; local [all...] |
/external/iproute2/tc/ |
q_atm.c | 44 fprintf(stderr, " [ hdr HEX... ] [ excess ( CLASSID | clp ) ] " 55 unsigned char hdr[MAX_HDR_LEN]; local 108 else if (!strcmp(*argv,"hdr")) { 113 ptr = hdr; 117 if (ptr == hdr+MAX_HDR_LEN) { 131 hdr_len = ptr-hdr; 184 if (hdr_len != -1) addattr_l(n,1024,TCA_ATM_HDR,hdr,hdr_len); 214 fprintf(f,"hdr");
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_fast_common.c | 27 struct pac_tlv_hdr hdr; local 28 hdr.type = host_to_be16(type); 29 hdr.len = host_to_be16(len); 30 wpabuf_put_data(buf, &hdr, sizeof(hdr));
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_freebsd.c | 81 struct pcap_pkthdr hdr; local 87 packet = pcap_next(pcap, &hdr); 89 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 95 len = hdr.caplen; 98 len = hdr.caplen - sizeof(*ethhdr);
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_fast_common.c | 27 struct pac_tlv_hdr hdr; local 28 hdr.type = host_to_be16(type); 29 hdr.len = host_to_be16(len); 30 wpabuf_put_data(buf, &hdr, sizeof(hdr));
|
/external/libpcap/ |
pcap-enet.c | 64 struct packet_header hdr; member in union:__anon7378 96 if (bpf_filter(fcode, buf.hdr.packet, cc, caplen)) { 99 (*printit)(buf.hdr.packet, &tv, cc, caplen);
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_mouse.c | 75 cursor->ph_cursor->hdr.type =Ph_RDATA_CURSOR; 106 /* #bytes following the hdr struct */ 107 cursor->ph_cursor->hdr.len =sizeof(PhCursorDef_t) + clen*2 - sizeof(PhRegionDataHdr_t); 148 PtSetArg(&args[2], Pt_ARG_BITMAP_CURSOR, cursor->ph_cursor, (cursor->ph_cursor->hdr.len + sizeof(PhRegionDataHdr_t)));
|
/external/tcpdump/ |
print-udp.c | 111 vat_print(const void *hdr, register const struct udphdr *up) 114 u_int ts = *(u_int16_t *)hdr; 122 u_int32_t i0 = EXTRACT_32BITS(&((u_int *)hdr)[0]); 123 u_int32_t i1 = EXTRACT_32BITS(&((u_int *)hdr)[1]); 137 rtp_print(const void *hdr, u_int len, register const struct udphdr *up) 140 u_int *ip = (u_int *)hdr; 142 u_int32_t i0 = EXTRACT_32BITS(&((u_int *)hdr)[0]); 143 u_int32_t i1 = EXTRACT_32BITS(&((u_int *)hdr)[1]); 177 printf(" %u", EXTRACT_32BITS(&((u_int *)hdr)[2])); 207 rtcp_print(const u_char *hdr, const u_char *ep [all...] |
/external/strace/ |
stream.c | 513 struct t_opthdr hdr; local 515 while (len >= (int) sizeof hdr) { 516 if (umove(tcp, addr, &hdr) < 0) break; 520 else if (len > hdr.len + sizeof hdr) { 524 printxval (xti_level, hdr.level, "???"); 526 switch (hdr.level) { 528 printxval (xti_generic, hdr.name, "XTI_???"); 531 tprintf ("%ld", hdr.name); 535 printxval (transport_user_flags, hdr.status, "T_???") [all...] |