/external/iproute2/tc/ |
em_meta.c | 149 struct tcf_meta_val *hdr) 153 switch (TCF_META_TYPE(hdr->kind)) { 160 if (TCF_META_ID(hdr->kind) == TCF_META_ID_VALUE) { 358 static int meta_parse_eopt(struct nlmsghdr *n, struct tcf_ematch_hdr *hdr, 404 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); 501 static int meta_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
|
/external/wpa_supplicant/ |
eap_ttls.c | 483 static int eap_ttls_phase2_nak(struct eap_ttls_data *data, struct eap_hdr *hdr, 487 u8 *pos = (u8 *) (hdr + 1); 502 resp_hdr->identifier = hdr->identifier; 521 struct eap_hdr *hdr, 524 size_t len = be_to_host16(hdr->length); 534 pos = (u8 *) (hdr + 1); 538 *resp = eap_sm_buildIdentity(sm, hdr->identifier, resp_len, 1); 563 if (eap_ttls_phase2_nak(data, hdr, resp, resp_len)) 587 &iret, (u8 *) hdr, len, 973 struct eap_hdr *hdr, 1081 struct eap_hdr *hdr = NULL; local [all...] |
wpa.c | 366 const struct wpa_ie_hdr *hdr; local 391 hdr = (const struct wpa_ie_hdr *) wpa_ie; 393 if (hdr->elem_id != GENERIC_INFO_ELEM || 394 hdr->len != wpa_ie_len - 2 || 395 os_memcmp(hdr->oui, WPA_OUI_TYPE, WPA_SELECTOR_LEN) != 0 || 396 WPA_GET_LE16(hdr->version) != WPA_VERSION) { 402 pos = (const u8 *) (hdr + 1); 403 left = wpa_ie_len - sizeof(*hdr); 476 const struct rsn_ie_hdr *hdr; local 506 hdr = (const struct rsn_ie_hdr *) rsn_ie 657 struct wpa_ie_hdr *hdr; local 733 struct rsn_ie_hdr *hdr; local 1048 struct rsn_ie_hdr *hdr; local 2258 struct rsn_ie_hdr *hdr; local 3390 struct ieee802_1x_hdr *hdr; local [all...] |
l2_packet_winpcap.c | 108 static void l2_packet_receive_cb(u_char *user, const struct pcap_pkthdr *hdr, 114 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 120 l2->rx_len = hdr->caplen; 123 l2->rx_len = hdr->caplen - sizeof(*ethhdr);
|
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
wpa_common.c | 247 const struct rsn_ie_hdr *hdr; local 277 hdr = (const struct rsn_ie_hdr *) rsn_ie; 279 if (hdr->elem_id != WLAN_EID_RSN || 280 hdr->len != rsn_ie_len - 2 || 281 WPA_GET_LE16(hdr->version) != RSN_VERSION) { 287 pos = (const u8 *) (hdr + 1); 288 left = rsn_ie_len - sizeof(*hdr);
|
/external/qemu/elff/ |
dwarf_cu.cc | 37 DwarfCU* DwarfCU::create_instance(ElfFile* elf, const void* hdr) {
41 if (*reinterpret_cast<const Elf_Word*>(hdr) == 0xFFFFFFFF) {
43 (elf, reinterpret_cast<const Dwarf64_CUHdr*>(hdr));
46 (elf, reinterpret_cast<const Dwarf32_CUHdr*>(hdr));
298 const Dwarf_CUHdr* hdr)
300 cu_header_(hdr) {
305 elf->pull_val(hdr->abbrev_offset)));
308 cu_size_ = elf->pull_val(hdr->size_hdr.size);
309 version_ = elf->pull_val(hdr->version);
310 addr_sizeof_ = hdr->address_size; [all...] |
/dalvik/vm/jdwp/ |
JdwpAdb.c | 428 JdwpReqHeader hdr; local 455 hdr.length = length; 456 hdr.id = id; 457 hdr.cmdSet = cmdSet; 458 hdr.cmd = cmd; 459 dvmJdwpProcessRequest(state, &hdr, buf, dataLen, pReply);
|
/external/grub/netboot/ |
eepro100.c | 220 /* This constitutes two "TBD" entries: hdr and data */ 222 s32 tx_buf_size0; /* Length of Tx hdr. */ 380 } hdr; local 394 memcpy (&hdr.dst_addr, d, ETH_ALEN); 395 memcpy (&hdr.src_addr, nic->node_addr, ETH_ALEN); 397 hdr.type = htons (t); 405 txfd.tx_buf_addr0 = virt_to_bus (&hdr); 406 txfd.tx_buf_size0 = sizeof (hdr);
|
3c90x.c | 485 } hdr; local 504 hdr.type = htons(t); 507 memcpy(hdr.dst_addr, d, ETH_ALEN); 510 memcpy(hdr.src_addr, INF_3C90X.HWAddr, ETH_ALEN); 515 INF_3C90X.TransmitDPD.FrameStartHeader = (s + sizeof(hdr)) | 0x8000; 516 INF_3C90X.TransmitDPD.HdrAddr = virt_to_bus(&hdr); 517 INF_3C90X.TransmitDPD.HdrLength = sizeof(hdr);
|
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/ |
smeSelect.c | 450 if (uLength + 2 + pRsnIe->hdr[ 1 ] > sizeof (uCurRsnData)) 454 uRsnIECount, uLength, pRsnIe->hdr[ 1 ] +2, sizeof (uCurRsnData)); 458 uCurRsnData[ 0 + uLength ] = pRsnIe->hdr[ 0 ]; 459 uCurRsnData[ 1 + uLength ] = pRsnIe->hdr[ 1 ]; 460 os_memoryCopy (pSme->hOS, &uCurRsnData[ 2 + uLength ], pRsnIe->rsnIeData, pRsnIe->hdr[ 1 ]); 461 uLength += pRsnIe->hdr[ 1 ] + 2;
|
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 629 struct bpf_hdr hdr; local 639 if (bpfSize < sizeof(hdr)) { 644 memcpy(&hdr, bpfBuffer + bpfOffset, sizeof(hdr)); 645 if (hdr.bh_caplen != hdr.bh_datalen) { 647 hdr.bh_caplen, hdr.bh_datalen); 651 seglen = hdr.bh_hdrlen + hdr.bh_caplen [all...] |
/external/strace/ |
net.c | 1731 struct opthdr hdr; local [all...] |
/external/tcpdump/ |
sctpHeader.h | 210 struct sctpChunkDesc hdr; member in struct:sctpHBunified 217 struct sctpChunkDesc hdr; member in struct:sctpHBsender
|
/external/elfcopy/ |
hash.c | 70 elf_strptr(elf, symtab_info->hdr->sh_link, sym->st_name)))
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_tls_common.h | 137 struct eap_hdr *hdr, struct wpabuf **resp);
|
eap.c | 849 const struct eap_hdr *hdr = wpabuf_head(req); local 850 const u8 *pos = (const u8 *) (hdr + 1); 866 pos, be_to_host16(hdr->length) - 5); 1062 const struct eap_hdr *hdr; local 1072 if (req == NULL || wpabuf_len(req) < sizeof(*hdr)) 1075 hdr = wpabuf_head(req); 1076 plen = be_to_host16(hdr->length); 1085 sm->reqId = hdr->identifier; 1093 switch (hdr->code) { 1095 if (plen < sizeof(*hdr) + 1) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_winpcap.c | 108 static void l2_packet_receive_cb(u_char *user, const struct pcap_pkthdr *hdr, 114 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 120 l2->rx_len = hdr->caplen; 123 l2->rx_len = hdr->caplen - sizeof(*ethhdr);
|
/system/wlan/ti/wilink_6_1/stad/src/Connection_Managment/ |
smeSelect.c | 408 uCurRsnData[ 0 + uLength ] = pRsnIe->hdr[ 0 ]; 409 uCurRsnData[ 1 + uLength ] = pRsnIe->hdr[ 1 ]; 410 os_memoryCopy (pSme->hOS, &uCurRsnData[ 2 + uLength ], pRsnIe->rsnIeData, pRsnIe->hdr[ 1 ]); 411 uLength += pRsnIe->hdr[ 1 ] + 2;
|
/external/bluetooth/bluez/src/ |
sdpd-server.c | 165 sdp_pdu_hdr_t hdr; local 179 len = recv(sk, &hdr, sizeof(sdp_pdu_hdr_t), MSG_PEEK); 185 size = sizeof(sdp_pdu_hdr_t) + ntohs(hdr.plen);
|
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/ |
dhd_common.c | 708 msgtrace_hdr_t hdr; local 713 memcpy(&hdr, buf, MSGTRACE_HDRLEN); 715 if (hdr.version != MSGTRACE_VERSION) { 718 event_name, MSGTRACE_VERSION, hdr.version); 725 buf[MSGTRACE_HDRLEN + ntoh16(hdr.len)] = '\0'; 727 if (ntoh32(hdr.discarded_bytes) || ntoh32(hdr.discarded_printf)) { 730 ntoh32(hdr.discarded_bytes), ntoh32(hdr.discarded_printf)); 733 nblost = ntoh32(hdr.seqnum) - seqnum_prev - 1 [all...] |
/external/wpa_supplicant/tests/ |
test_aes.c | 67 u8 hdr[] = { 0xFA, 0x3B, 0xFD, 0x48, 0x06, 0xEB, 0x53, 0xFA }; local 74 if (aes_128_eax_encrypt(key, nonce, sizeof(nonce), hdr, sizeof(hdr), 89 if (aes_128_eax_decrypt(key, nonce, sizeof(nonce), hdr, sizeof(hdr),
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
test_aes.c | 67 u8 hdr[] = { 0xFA, 0x3B, 0xFD, 0x48, 0x06, 0xEB, 0x53, 0xFA }; local 74 if (aes_128_eax_encrypt(key, nonce, sizeof(nonce), hdr, sizeof(hdr), 89 if (aes_128_eax_decrypt(key, nonce, sizeof(nonce), hdr, sizeof(hdr),
|
/external/blktrace/btt/ |
output.c | 54 void output_section_hdr(FILE *ofp, char *hdr) 57 fprintf(ofp, "%s", hdr); 61 void output_hdr(FILE *ofp, char *hdr) 64 hdr, "MIN", "AVG", "MAX", "N" ); 68 void __output_avg(FILE *ofp, char *hdr, struct avg_info *ap, int do_easy) 72 fprintf(ofp, "%-15s %13.9f %13.9f %13.9f %11d\n", hdr, 78 hdr, BIT_TIME(ap->min), ap->avg, 109 void output_dip_avg(FILE *ofp, char *hdr, ai_dip_t (*func)(struct d_info *)) 112 output_hdr(ofp, hdr); 505 void output_pip_avg(FILE *ofp, char *hdr, ai_pip_t (*func)(struct p_info *) [all...] |
/external/bluetooth/hcidump/src/ |
hcidump.c | 220 struct btsnoop_hdr *hdr = (void *) buf; local 225 memcpy(hdr->id, btsnoop_id, sizeof(btsnoop_id)); 226 hdr->version = htonl(btsnoop_version); 227 hdr->type = htonl(btsnoop_type); 476 struct btsnoop_hdr *hdr = (struct btsnoop_hdr *) buf; local 500 if (!memcmp(hdr->id, btsnoop_id, sizeof(btsnoop_id))) { 503 btsnoop_version = ntohl(hdr->version); 504 btsnoop_type = ntohl(hdr->type); 533 memcpy(hdr->id, btsnoop_id, sizeof(btsnoop_id)); 534 hdr->version = htonl(btsnoop_version) [all...] |
/external/dnsmasq/src/ |
dnsmasq.c | 89 cap_user_header_t hdr = NULL; local 253 hdr = safe_malloc(sizeof(*hdr)); 256 memset(hdr, 0, sizeof(*hdr)); 257 capget(hdr, NULL); 259 if (hdr->version != LINUX_CAPABILITY_VERSION_1) 262 if (hdr->version != LINUX_CAPABILITY_VERSION_2) 263 hdr->version = LINUX_CAPABILITY_VERSION_3; 396 if (capset(hdr, data) == -1 || prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) == -1 [all...] |