HomeSort by relevance Sort by last modified time
    Searched refs:hdr (Results 126 - 150 of 389) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/wpa_supplicant_8/wpa_supplicant/
ibss_rsn.c 69 struct ieee802_1x_hdr *hdr; local
74 *msg_len = sizeof(*hdr) + data_len;
75 hdr = os_malloc(*msg_len);
76 if (hdr == NULL)
79 hdr->version = 2;
80 hdr->type = type;
81 hdr->length = host_to_be16(data_len);
84 os_memcpy(hdr + 1, data, data_len);
86 os_memset(hdr + 1, 0, data_len);
89 *data_pos = hdr + 1
501 const struct ieee802_1x_hdr *hdr; local
    [all...]
eapol_test.c 178 const struct eap_hdr *hdr; local
194 hdr = (const struct eap_hdr *) eap;
195 pos = (const u8 *) (hdr + 1);
196 if (len > sizeof(*hdr) && hdr->code == EAP_CODE_RESPONSE &&
200 e->eap_identity_len = len - sizeof(*hdr) - 1;
507 struct ieee802_1x_hdr *hdr; local
510 hdr = (struct ieee802_1x_hdr *) buf;
511 hdr->version = EAPOL_VERSION;
512 hdr->type = IEEE802_1X_TYPE_EAP_PACKET
562 struct eap_hdr *hdr; local
700 struct radius_hdr *hdr = radius_msg_get_hdr(msg); local
    [all...]
  /external/webp/src/dec/
vp8.c 130 static void ResetSegmentHeader(VP8SegmentHeader* const hdr) {
131 assert(hdr);
132 hdr->use_segment_ = 0;
133 hdr->update_map_ = 0;
134 hdr->absolute_delta_ = 1;
135 memset(hdr->quantizer_, 0, sizeof(hdr->quantizer_));
136 memset(hdr->filter_strength_, 0, sizeof(hdr->filter_strength_));
141 VP8SegmentHeader* hdr, VP8Proba* proba)
209 VP8FilterHeader* const hdr = &dec->filter_hdr_; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_internal.c 442 struct asn1_hdr hdr; local
451 if (asn1_get_next(buf, len, &hdr) < 0 ||
452 hdr.class != ASN1_CLASS_UNIVERSAL ||
453 hdr.tag != ASN1_TAG_SEQUENCE) {
458 pos = hdr.payload;
459 end = pos + hdr.length;
462 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
463 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) {
466 hdr.class, hdr.tag)
    [all...]
  /external/webp/src/enc/
webpenc.c 67 VP8SegmentHeader* const hdr = &enc->segment_hdr_; local
68 hdr->num_segments_ = enc->config_->segments;
69 hdr->update_map_ = (hdr->num_segments_ > 1);
70 hdr->size_ = 0;
74 VP8FilterHeader* const hdr = &enc->filter_hdr_; local
75 hdr->simple_ = 1;
76 hdr->level_ = 0;
77 hdr->sharpness_ = 0;
78 hdr->i4x4_lf_delta_ = 0
    [all...]
  /external/wpa_supplicant/
eapol_test.c 142 const struct eap_hdr *hdr; local
158 hdr = (const struct eap_hdr *) eap;
159 pos = (const u8 *) (hdr + 1);
160 if (len > sizeof(*hdr) && hdr->code == EAP_CODE_RESPONSE &&
164 e->eap_identity_len = len - sizeof(*hdr) - 1;
223 if (e->last_recv_radius && e->last_recv_radius->hdr->code ==
425 struct ieee802_1x_hdr *hdr; local
428 hdr = (struct ieee802_1x_hdr *) buf;
429 hdr->version = EAPOL_VERSION
480 struct eap_hdr *hdr; local
    [all...]
l2_packet_pcap.c 127 struct pcap_pkthdr hdr; local
133 packet = pcap_next(pcap, &hdr);
135 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
141 len = hdr.caplen;
144 len = hdr.caplen - sizeof(*ethhdr);
152 static void l2_packet_receive_cb(u_char *user, const struct pcap_pkthdr *hdr,
160 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr))
166 len = hdr->caplen;
169 len = hdr->caplen - sizeof(*ethhdr);
eap_peap.c 242 static int eap_peap_phase2_nak(struct eap_peap_data *data, struct eap_hdr *hdr,
246 u8 *pos = (u8 *) (hdr + 1);
261 resp_hdr->identifier = hdr->identifier;
280 struct eap_hdr *hdr,
283 size_t len = be_to_host16(hdr->length);
293 pos = (u8 *) (hdr + 1);
297 *resp = eap_sm_buildIdentity(sm, hdr->identifier, resp_len, 1);
301 if (eap_tlv_process(sm, &iret, hdr, resp, resp_len,
338 if (eap_peap_phase2_nak(data, hdr, resp, resp_len))
364 &iret, (u8 *) hdr, len
399 struct eap_hdr *hdr, *rhdr; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/
eapol_test.c 176 const struct eap_hdr *hdr; local
192 hdr = (const struct eap_hdr *) eap;
193 pos = (const u8 *) (hdr + 1);
194 if (len > sizeof(*hdr) && hdr->code == EAP_CODE_RESPONSE &&
198 e->eap_identity_len = len - sizeof(*hdr) - 1;
266 if (e->last_recv_radius && e->last_recv_radius->hdr->code ==
479 struct ieee802_1x_hdr *hdr; local
482 hdr = (struct ieee802_1x_hdr *) buf;
483 hdr->version = EAPOL_VERSION
534 struct eap_hdr *hdr; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/
SDL_syscdrom.c 247 struct cd_toc_header hdr; local
251 if ( ioctl(cdrom->id, CDROM_TOC_HEADER, &hdr) ) {
255 cdrom->numtracks = hdr.th_ending_track - hdr.th_starting_track + 1;
260 fprintf(stderr,"hdr.th_data_len1 = %d\n", hdr.th_data_len1);
261 fprintf(stderr,"hdr.th_data_len0 = %d\n", hdr.th_data_len0);
262 fprintf(stderr,"hdr.th_starting_track = %d\n", hdr.th_starting_track)
    [all...]
  /external/blktrace/btreplay/
btrecord.c 223 * @hdr: Header to write
225 static void write_file_hdr(struct io_stream *stream, struct io_file_hdr *hdr)
227 hdr->version = mk_btversion(btver_mjr, btver_mnr, btver_sub);
232 (long long unsigned)hdr->version,
233 (long long unsigned)hdr->genesis,
234 (long long unsigned)hdr->nbunches,
235 (long long unsigned)hdr->total_pkts);
239 if (fwrite(hdr, sizeof(*hdr), 1, stream->ofp) != 1) {
240 fatal(stream->file_name, ERR_SYSCALL, "Hdr write failed\n")
    [all...]
btrecord.h 55 * @hdr: Header describing stall and how many IO packets follow
59 struct io_bunch_hdr hdr; member in struct:io_bunch
  /external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
l2_packet_pcap.c 127 struct pcap_pkthdr hdr; local
133 packet = pcap_next(pcap, &hdr);
135 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
141 len = hdr.caplen;
144 len = hdr.caplen - sizeof(*ethhdr);
152 static void l2_packet_receive_cb(u_char *user, const struct pcap_pkthdr *hdr,
160 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr))
166 len = hdr->caplen;
169 len = hdr->caplen - sizeof(*ethhdr);
  /external/wpa_supplicant_8/src/l2_packet/
l2_packet_pcap.c 127 struct pcap_pkthdr hdr; local
133 packet = pcap_next(pcap, &hdr);
135 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
141 len = hdr.caplen;
144 len = hdr.caplen - sizeof(*ethhdr);
152 static void l2_packet_receive_cb(u_char *user, const struct pcap_pkthdr *hdr,
160 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr))
166 len = hdr->caplen;
169 len = hdr->caplen - sizeof(*ethhdr);
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_peap.c 451 * the buffer is large enough to contain full request (hdr->length bytes) and
617 struct eap_hdr *hdr = wpabuf_mhead(req); local
618 size_t len = be_to_host16(hdr->length);
628 pos = (u8 *) (hdr + 1);
632 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1);
669 hdr->identifier);
708 hdr, resp))
749 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len);
764 struct eap_hdr *hdr, *rhdr; local
809 hdr = wpabuf_mhead(in_decrypted)
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_peap.c 451 * the buffer is large enough to contain full request (hdr->length bytes) and
617 struct eap_hdr *hdr = wpabuf_mhead(req); local
618 size_t len = be_to_host16(hdr->length);
628 pos = (u8 *) (hdr + 1);
632 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1);
669 hdr->identifier);
708 hdr, resp))
749 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len);
764 struct eap_hdr *hdr, *rhdr; local
809 hdr = wpabuf_mhead(in_decrypted)
    [all...]
  /external/wpa_supplicant_8/src/drivers/
driver_wired.c 122 struct ieee8023_hdr *hdr; local
135 hdr = (struct ieee8023_hdr *) buf;
137 switch (ntohs(hdr->ethertype)) {
140 sa = hdr->src;
145 pos = (u8 *) (hdr + 1);
146 left = len - sizeof(*hdr);
152 ntohs(hdr->ethertype));
320 struct ieee8023_hdr *hdr; local
325 len = sizeof(*hdr) + data_len;
326 hdr = os_zalloc(len)
    [all...]
  /external/wpa_supplicant_8/src/ap/
ieee802_1x.c 159 struct ieee802_1x_hdr *hdr; local
168 buf = os_zalloc(sizeof(*hdr) + len);
172 hdr = (struct ieee802_1x_hdr *) buf;
173 key = (struct ieee802_1x_eapol_key *) (hdr + 1);
216 hdr->version = hapd->conf->eapol_version;
217 hdr->type = IEEE802_1X_TYPE_EAPOL_KEY;
218 hdr->length = host_to_be16(len);
219 hmac_md5(sm->eap_if->eapKeyData + 32, 32, buf, sizeof(*hdr) + len,
712 struct ieee802_1x_hdr *hdr; local
731 if (len < sizeof(*hdr)) {
1014 struct eap_hdr *hdr; local
1275 struct radius_hdr *hdr = radius_msg_get_hdr(msg); local
1797 struct ieee80211_hdr *hdr; local
    [all...]
  /external/iproute2/tc/
em_cmp.c 40 static int cmp_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr,
137 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr));
144 static int cmp_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
em_nbyte.c 40 static int nbyte_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr,
99 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr));
107 static int nbyte_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
em_u32.c 36 static int u32_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr,
145 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr));
152 static int u32_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
  /external/ipsec-tools/src/racoon/
privsep.h 57 struct admin_com hdr; member in struct:privsep_com_msg
  /external/jpeg/
jmemmgr.c 96 } hdr; member in union:small_pool_struct
107 } hdr; member in union:large_pool_struct
200 lhdr_ptr = lhdr_ptr->hdr.next) {
202 (long) lhdr_ptr->hdr.bytes_used);
206 shdr_ptr = shdr_ptr->hdr.next) {
208 (long) shdr_ptr->hdr.bytes_used,
209 (long) shdr_ptr->hdr.bytes_left);
280 if (hdr_ptr->hdr.bytes_left >= sizeofobject)
283 hdr_ptr = hdr_ptr->hdr.next;
308 hdr_ptr->hdr.next = NULL
    [all...]
  /external/llvm/test/FrontendC/
2009-01-21-InvalidIterator.c 72 const struct unw_eh_frame_hdr *hdr; local
  /external/qemu/
bt-host.c 42 uint8_t hdr[HCI_MAX_FRAME_SIZE]; member in struct:bt_host_hci_s
91 s->len = read(s->fd, s->hdr, sizeof(s->hdr));
98 pkt = s->hdr;

Completed in 687 milliseconds

1 2 3 4 56 7 8 91011>>