/external/wpa_supplicant_8/src/ap/ |
drv_callbacks.c | 329 const struct ieee80211_hdr *hdr; local 333 hdr = (const struct ieee80211_hdr *) rx_mgmt->frame; 334 bssid = get_hdr_bssid(hdr, rx_mgmt->frame_len); 341 fc = le_to_host16(hdr->frame_control); 375 struct ieee80211_hdr *hdr; local 387 hdr = (struct ieee80211_hdr *) buf; 388 hdr->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 395 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); 397 os_memcpy(hdr->addr1, rx_action->da, ETH_ALEN); 398 os_memcpy(hdr->addr2, rx_action->sa, ETH_ALEN) 413 struct ieee80211_hdr *hdr; local 471 const struct ieee80211_hdr *hdr; local [all...] |
ieee802_11_auth.c | 410 struct radius_hdr *hdr = radius_msg_get_hdr(msg); local 416 if (query->radius_id == hdr->identifier) 433 if (hdr->code != RADIUS_CODE_ACCESS_ACCEPT && 434 hdr->code != RADIUS_CODE_ACCESS_REJECT) { 436 "query", hdr->code); 449 if (hdr->code == RADIUS_CODE_ACCESS_ACCEPT) {
|
wpa_auth_ie.c | 29 struct wpa_ie_hdr *hdr; local 33 hdr = (struct wpa_ie_hdr *) buf; 34 hdr->elem_id = WLAN_EID_VENDOR_SPECIFIC; 35 RSN_SELECTOR_PUT(hdr->oui, WPA_OUI_TYPE); 36 WPA_PUT_LE16(hdr->version, WPA_VERSION); 37 pos = (u8 *) (hdr + 1); 105 hdr->len = (pos - buf) - 2; 114 struct rsn_ie_hdr *hdr; local 119 hdr = (struct rsn_ie_hdr *) buf; 120 hdr->elem_id = WLAN_EID_RSN [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
preauth_test.c | 57 struct ieee802_1x_hdr *hdr; local 59 *msg_len = sizeof(*hdr) + data_len; 60 hdr = os_malloc(*msg_len); 61 if (hdr == NULL) 64 hdr->version = wpa_s->conf->eapol_version; 65 hdr->type = type; 66 hdr->length = htons(data_len); 69 os_memcpy(hdr + 1, data, data_len); 71 os_memset(hdr + 1, 0, data_len); 74 *data_pos = hdr + 1 [all...] |
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
test_wpa.c | 97 struct ieee802_1x_hdr *hdr; local 102 *msg_len = sizeof(*hdr) + data_len; 103 hdr = os_malloc(*msg_len); 104 if (hdr == NULL) 107 hdr->version = 2; 108 hdr->type = type; 109 hdr->length = host_to_be16(data_len); 112 os_memcpy(hdr + 1, data, data_len); 114 os_memset(hdr + 1, 0, data_len); 117 *data_pos = hdr + 1 [all...] |
/prebuilts/gcc/linux-x86/host/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
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
elf-fdpic.h | 38 struct elfhdr hdr; /* ref copy of ELF header */ member in struct:elf_fdpic_params
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
elf-fdpic.h | 38 struct elfhdr hdr; /* ref copy of ELF header */ member in struct:elf_fdpic_params
|
/system/core/libcorkscrew/ |
symbol_table.c | 69 Elf32_Ehdr *hdr = (Elf32_Ehdr*)base; local 70 if (!IS_ELF(*hdr)) { 73 Elf32_Shdr *shdr = (Elf32_Shdr*)(base + hdr->e_shoff); 78 for (Elf32_Half i = 0; i < hdr->e_shnum; i++) {
|
/system/extras/ext4_utils/ |
contents.c | 263 u32 *hdr; local 276 hdr = (u32 *) (inode + 1); 277 *hdr = cpu_to_le32(EXT4_XATTR_MAGIC); 278 entry = (struct ext4_xattr_entry *) (hdr+1);
|
/bionic/libc/kernel/common/linux/ |
if_fddi.h | 95 } hdr; member in struct:fddihdr
|
/bootable/bootloader/legacy/usbloader/ |
usbloader.c | 188 boot_img_hdr *hdr = (void*) kernel_addr; local 194 if((kernel_size < 2048) || memcmp(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE)){ 199 if(hdr->page_size != 2048) { 204 kernel_actual = (hdr->kernel_size + page_mask) & (~page_mask); 205 ramdisk_actual = (hdr->ramdisk_size + page_mask) & (~page_mask); 206 second_actual = (hdr->second_size + page_mask) & (~page_mask); 214 if(hdr->cmdline[0]){ 215 hdr->cmdline[BOOT_ARGS_SIZE - 1] = 0; 216 memcpy(cmdline, hdr->cmdline, BOOT_ARGS_SIZE); 220 ramdisk_addr = hdr->ramdisk_addr [all...] |
/cts/tools/cfassembler/src/dxconvext/ |
ClassFileAssembler.java | 87 String hdr; local 89 hdr = dexHdr; 91 hdr = classHdr; 93 if (!firstLine.startsWith(hdr)) throw new RuntimeException("wrong format:"+firstLine +" isDex=" + isDex); 98 String classO = firstLine.substring(hdr.length()).trim();
|
/development/ndk/platforms/android-3/include/linux/ |
if_fddi.h | 80 } hdr; member in struct:fddihdr
|
/external/bluetooth/bluez/cups/ |
hcrp.c | 84 struct hcrp_pdu_hdr hdr; local 90 hdr.pid = htons(HCRP_PDU_CREDIT_GRANT); 91 hdr.tid = htons(tid); 92 hdr.plen = htons(HCRP_CREDIT_GRANT_CP_SIZE); 94 memcpy(buf, &hdr, HCRP_PDU_HDR_SIZE); 104 memcpy(&hdr, buf, HCRP_PDU_HDR_SIZE); 117 struct hcrp_pdu_hdr hdr; local 122 hdr.pid = htons(HCRP_PDU_CREDIT_REQUEST); 123 hdr.tid = htons(tid); 124 hdr.plen = htons(0) 150 struct hcrp_pdu_hdr hdr; local [all...] |
/external/bluetooth/hcidump/src/ |
bpasniff.c | 179 uint8_t type, addr, temp, hdr; local 232 hdr = bt_get_unaligned((uint8_t *) (buf + 20)); 233 plen = ((hdr & 0x10) >> 4) | ((hdr & 0x08) >> 2) | (hdr & 0x04) | ((hdr & 0x02) << 2) | ((hdr & 0x01) << 4); 234 pflow = ((hdr & 0x20) >> 5); 235 llid = ((hdr & 0x80) >> 7) | ((hdr & 0x40) >> 5) [all...] |
/external/chromium/base/ |
pickle.cc | 426 const Header* hdr = reinterpret_cast<const Header*>(start); local 428 const char* payload_end = payload_base + hdr->payload_size;
|
/external/clang/test/CodeGen/ |
2009-01-21-InvalidIterator.c | 72 const struct unw_eh_frame_hdr *hdr; local
|
/external/dhcpcd/ |
if-bsd.c | 193 struct rt_msghdr hdr; member in struct:rtm 214 rtm.hdr.rtm_version = RTM_VERSION; 215 rtm.hdr.rtm_seq = 1; 217 rtm.hdr.rtm_type = RTM_CHANGE; 219 rtm.hdr.rtm_type = RTM_ADD; 221 rtm.hdr.rtm_type = RTM_DELETE; 222 rtm.hdr.rtm_flags = RTF_UP; 227 rtm.hdr.rtm_flags |= RTF_STATIC; 228 rtm.hdr.rtm_addrs = RTA_DST | RTA_GATEWAY; 230 rtm.hdr.rtm_flags |= RTF_HOST [all...] |
if-linux.c | 389 send_netlink(struct nlmsghdr *hdr) 397 iov.iov_base = hdr; 398 iov.iov_len = hdr->nlmsg_len; 405 hdr->nlmsg_flags |= NLM_F_ACK; 406 hdr->nlmsg_seq = ++seq; 461 struct nlmsghdr hdr; member in struct:nlma 468 struct nlmsghdr hdr; member in struct:nlmr 482 nlm->hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); 483 nlm->hdr.nlmsg_flags = NLM_F_REQUEST; 485 nlm->hdr.nlmsg_flags |= NLM_F_CREATE | NLM_F_REPLACE [all...] |
/external/elfutils/libelf/ |
elf_begin.c | 659 struct ar_hdr *hdr; local 671 hdr = (struct ar_hdr *) (elf->map_address + offset); 681 hdr = &hdrm; 684 len = atol (hdr->ar_size); 686 if (memcmp (hdr->ar_name, "// ", 16) == 0) [all...] |
/external/iproute2/misc/ |
lnstat.c | 156 char *hdr[HDR_LINES]; member in struct:table_hdr 168 th.hdr[i] = malloc(HDR_LINE_LENGTH); 169 memset(th.hdr[i], 0, sizeof(th.hdr[i])); 179 snprintf(th.hdr[0]+ofs, width+2, fmt, 185 snprintf(th.hdr[h]+ofs, width+2, fmt, ""); 188 snprintf(th.hdr[h]+ofs, width+2, fmt, cname); 197 if (th.hdr[h][i] == '\0') 198 th.hdr[h][i] = ' '; 210 fputs(th->hdr[i], of) 223 int hdr = 2; local [all...] |
/external/iproute2/tc/ |
m_ematch.c | 180 struct tcf_ematch_hdr hdr = { local 185 hdr.flags |= TCF_EM_INVERT; 191 addraw_l(n, MAX_MSG, &hdr, sizeof(hdr)); 216 hdr.kind = num; 217 if (e->parse_eopt(n, &hdr, t->args->next) < 0) 341 struct tcf_ematch_tree_hdr hdr = { local 348 addattr_l(n, MAX_MSG, TCA_EMATCH_TREE_HDR, &hdr, sizeof(hdr)); 370 struct tcf_ematch_hdr *hdr; local 470 struct tcf_ematch_tree_hdr *hdr; local [all...] |
/external/openfst/src/include/fst/ |
add-on.h | 202 FstHeader hdr; local 204 hdr.Read(strm, nopts.source); 205 nopts.header = &hdr; 208 if (!impl->ReadHeader(strm, nopts, kMinFileVersion, &hdr)) 241 FstHeader hdr; local 245 WriteHeader(strm, nopts, kFileVersion, &hdr);
|
mutable-fst.h | 90 FstHeader hdr; local 92 hdr = *opts.header; 94 if (!hdr.Read(strm, opts.source)) 96 ropts.header = &hdr; 98 if (!(hdr.Properties() & kMutable)) { 104 registr->GetReader(hdr.FstType()); 106 LOG(ERROR) << "MutableFst::Read: Unknown FST type \"" << hdr.FstType()
|