Searched refs:hdr (Results 1 - 25 of 63) sorted by relevance

123

/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_command.cpp36 l2cap_cmd_hdr_t hdr; member in struct:_cmd_rej
42 l2cap_cmd_hdr_t hdr; member in struct:_con_req
47 l2cap_cmd_hdr_t hdr; member in struct:_con_rsp
52 l2cap_cmd_hdr_t hdr; member in struct:_cfg_req
57 l2cap_cmd_hdr_t hdr; member in struct:_cfg_rsp
62 l2cap_cmd_hdr_t hdr; member in struct:_discon_req
67 l2cap_cmd_hdr_t hdr; member in struct:_discon_rsp
72 l2cap_cmd_hdr_t hdr; member in struct:_info_req
77 l2cap_cmd_hdr_t hdr; member in struct:_info_rsp
84 l2cap_cfg_opt_t hdr; member in struct:_cfg_opt_flow
90 l2cap_cfg_opt_t hdr; member in struct:_cfg_opt_flush
95 l2cap_cfg_opt_t hdr; member in struct:_cfg_opt_mtu
[all...]
H A Dl2cap_signal.cpp372 getNextSignalOption(net_buffer* nbuf, size_t* off, l2cap_cfg_opt_t* hdr, argument
380 if (len < 0 || len < sizeof(*hdr))
383 gBufferModule->read(nbuf, *off, hdr, sizeof(*hdr));
384 *off += sizeof(*hdr);
385 len -= sizeof(*hdr);
387 hint = L2CAP_OPT_HINT(hdr->type);
388 hdr->type &= L2CAP_OPT_HINT_MASK;
390 switch (hdr->type) {
392 if (hdr
445 l2cap_cfg_opt_t hdr; local
575 l2cap_cfg_opt_t hdr; local
[all...]
/haiku/src/libs/libunwind/dwarf/
H A DGfind_unwind_table.c46 struct dwarf_eh_frame_hdr *hdr; local
129 hdr = (struct dwarf_eh_frame_hdr *) (peh_hdr->p_offset
131 if (hdr->version != DW_EH_VERSION)
134 path, hdr->version);
139 addr = (unw_word_t) (hdr + 1);
143 &addr, hdr->eh_frame_ptr_enc, edi->di_cache.gp, 0,
149 &addr, hdr->fde_count_enc, edi->di_cache.gp, 0,
153 if (hdr->table_enc != (DW_EH_PE_datarel | DW_EH_PE_sdata4))
162 if (hdr->table_enc == DW_EH_PE_omit)
166 hdr
[all...]
H A DGfind_proc_info-lsb.c615 struct dwarf_eh_frame_hdr *hdr = (struct dwarf_eh_frame_hdr *)hdr_addr; local
617 if (hdr->version != DW_EH_VERSION)
620 name, hdr->version);
625 addr = (unw_word_t) (uintptr_t) (hdr + 1);
629 &addr, hdr->eh_frame_ptr_enc, gp, 0,
635 &addr, hdr->fde_count_enc, gp, 0,
639 if (hdr->table_enc != (DW_EH_PE_datarel | DW_EH_PE_sdata4))
645 if (hdr->table_enc == DW_EH_PE_omit)
650 name, hdr->table_enc);
652 if (hdr
697 struct dwarf_eh_frame_hdr *hdr; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_fw.c119 const struct r92c_fw_hdr *hdr; local
135 if (len < sizeof(*hdr) || len > sc->fwsize_limit) {
141 hdr = (const struct r92c_fw_hdr *)ptr;
143 if ((le16toh(hdr->signature) >> 4) == sc->fwsig) {
144 sc->fwver = le16toh(hdr->version);
148 le16toh(hdr->version), le16toh(hdr->subversion),
149 hdr->month, hdr->date, hdr
[all...]
/haiku/src/bin/fwcontrol/
H A Dfwdv.c276 u_int32_t iso_data, iso_empty, hdr[TNBUF + NEMPTY][3]; local
313 bzero(hdr[0], sizeof(hdr[0]));
314 hdr[0][0] = iso_data;
315 ciph = (struct ciphdr *)&hdr[0][1];
323 bcopy(hdr[0], hdr[i], sizeof(hdr[0]));
328 htonl(hdr[0]), htonl(hdr[
[all...]
H A Dfwcrom.c93 struct csrhdr *hdr; local
95 hdr = (struct csrhdr *)p;
96 if (hdr->info_len <= 1) {
101 p += 1 + hdr->info_len;
510 struct csrhdr *hdr; local
535 len = 1 + src->hdr.info_len;
537 if (crom_copy((uint32_t *)&src->hdr, buf, &count, len, maxlen) < 0)
548 hdr = (struct csrhdr *)buf;
549 hdr->crc_len = count - 1;
550 hdr
[all...]
/haiku/3rdparty/proj2make/
H A Dproj2make.cpp55 struct hdr struct
133 ParseGenB(hdr* data)
135 hdr* child = (hdr*)data->Data();
166 Parse(hdr* current, hdr* parent)
219 hdr* child = (hdr*)(current->Data() + off);
222 off += child->Size() + sizeof(hdr);
223 child = (hdr*)(chil
[all...]
/haiku/src/add-ons/kernel/drivers/network/emulex_oce/dev/oce/
H A Doce_mbox.c104 mbx_common_req_hdr_init(&fwcmd->hdr, 0, 0,
231 * @param hdr mailbox header
240 mbx_common_req_hdr_init(struct mbx_hdr *hdr, argument
246 hdr->u0.req.opcode = opcode;
247 hdr->u0.req.subsystem = subsys;
248 hdr->u0.req.port_number = port;
249 hdr->u0.req.domain = dom;
251 hdr->u0.req.timeout = timeout;
252 hdr->u0.req.request_length = pyld_len - sizeof(struct mbx_hdr);
253 hdr
[all...]
H A Doce_hw.h1062 struct mbx_hdr hdr; member in struct:mbx_query_common_link_config
1106 struct mbx_hdr hdr; member in struct:mbx_set_common_link_speed
1137 struct mbx_hdr hdr; member in struct:mbx_query_common_iface_mac
1160 struct mbx_hdr hdr; member in struct:mbx_set_common_iface_mac
1188 struct mbx_hdr hdr; member in struct:mbx_set_common_iface_multicast
1233 struct mbx_hdr hdr; member in struct:mbx_create_common_iface
1255 struct mbx_hdr hdr; member in struct:mbx_destroy_common_iface
1314 struct mbx_hdr hdr; member in struct:mbx_create_common_eq
1330 struct mbx_hdr hdr; member in struct:mbx_destroy_common_eq
1447 struct mbx_hdr hdr; member in struct:mbx_create_common_cq
1463 struct mbx_hdr hdr; member in struct:mbx_destroy_common_cq
1528 struct mbx_hdr hdr; member in struct:mbx_create_common_mq
1543 struct mbx_hdr hdr; member in struct:mbx_create_common_mq_ex
1561 struct mbx_hdr hdr; member in struct:mbx_destroy_common_mq
1581 struct mbx_hdr hdr; member in struct:mbx_get_common_fw_version
1596 struct mbx_hdr hdr; member in struct:mbx_common_cev_modify_msi_messages
1611 struct mbx_hdr hdr; member in struct:mbx_common_get_set_flow_control
1630 struct mbx_hdr hdr; member in struct:mbx_common_read_write_flashrom
1651 struct mbx_hdr hdr; member in struct:mbx_common_phy_info
1667 struct mbx_hdr hdr; member in struct:mbx_lancer_common_write_object::__anon759::__anon760
1701 struct mbx_hdr hdr; member in struct:mbx_common_query_fw_config
1811 struct mbx_hdr hdr; member in struct:mbx_common_config_vlan
1852 struct mbx_hdr hdr; member in struct:mbx_set_common_iface_rx_filter
1867 struct mbx_hdr hdr; member in struct:mbx_modify_common_eq_delay
1943 struct mbx_hdr hdr; member in struct:mbx_common_get_cntl_attr
1956 struct mbx_hdr hdr; member in struct:mbx_add_common_iface_mac
1971 struct mbx_hdr hdr; member in struct:mbx_del_common_iface_mac
1985 struct mbx_hdr hdr; member in struct:mbx_query_common_max_mbx_buffer_size
1993 struct mbx_hdr hdr; member in struct:ioctl_common_function_reset
1998 struct mbx_hdr hdr; member in struct:mbx_read_common_transrecv_data
2015 struct mbx_hdr hdr; member in struct:mbx_common_func_link_cfg
2031 struct mbx_hdr hdr; member in struct:mbx_common_set_function_cap
2046 struct mbx_hdr hdr; member in struct:mbx_lowlevel_test_loopback_mode
2067 struct mbx_hdr hdr; member in struct:mbx_lowlevel_set_loopback_mode
2087 struct mbx_hdr hdr; member in struct:mbx_common_get_func_config
2105 struct mbx_hdr hdr; member in struct:mbx_common_get_profile_config
2737 struct mbx_hdr hdr; member in struct:mbx_config_nic_promiscuous
2850 struct mbx_hdr hdr; member in struct:mbx_create_nic_wq
2880 struct mbx_hdr hdr; member in struct:mbx_delete_nic_wq
2902 struct mbx_hdr hdr; member in struct:mbx_create_nic_rq
2929 struct mbx_hdr hdr; member in struct:mbx_delete_nic_rq
3322 struct mbx_hdr hdr; member in struct:mbx_get_pport_stats
3385 struct mbx_hdr hdr; member in struct:mbx_get_vport_stats
3426 struct mbx_hdr hdr; member in struct:mbx_get_queue_stats
3454 struct mbx_hdr hdr; member in struct:mbx_config_nic_rss
3833 struct mbx_hdr hdr; member in struct:mbx_nic_query_lro_capabilities
3855 struct mbx_hdr hdr; member in struct:mbx_nic_set_iface_lro_config
3890 struct mbx_hdr hdr; member in struct:mbx_create_nic_rq_v2
3990 struct mbx_hdr hdr; member in struct:mbx_delete_nic_rq_v1
[all...]
H A Doce_user.h100 void (*common_req_hdr_init)(struct mbx_hdr *hdr,
/haiku/src/add-ons/kernel/drivers/network/ipro1000/dev/e1000/
H A De1000_manage.c132 struct e1000_host_mng_dhcp_cookie *hdr = &hw->mng_cookie; local
163 hdr_csum = hdr->checksum;
164 hdr->checksum = 0;
165 csum = e1000_calculate_checksum((u8 *)hdr,
171 if ((hdr_csum != csum) || (hdr->signature != E1000_IAMT_SIGNATURE)) {
177 if (!(hdr->status & E1000_MNG_DHCP_COOKIE_STATUS_PARSING))
186 * @hdr: pointer to the host interface command header
191 struct e1000_host_mng_command_header *hdr)
199 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, lengt
190 e1000_mng_write_cmd_header_generic(struct e1000_hw *hw, struct e1000_host_mng_command_header *hdr) argument
299 struct e1000_host_mng_command_header hdr; local
[all...]
H A De1000_manage.h45 struct e1000_host_mng_command_header *hdr);
/haiku/src/add-ons/translators/ppm/
H A DPPMTranslator.cpp407 TranslatorBitmap hdr; local
408 hdr.magic = B_HOST_TO_BENDIAN_INT32(B_TRANSLATOR_BITMAP);
409 hdr.bounds.left = B_HOST_TO_BENDIAN_FLOAT(0);
410 hdr.bounds.top = B_HOST_TO_BENDIAN_FLOAT(0);
411 hdr.bounds.right = B_HOST_TO_BENDIAN_FLOAT(width - 1);
412 hdr.bounds.bottom = B_HOST_TO_BENDIAN_FLOAT(height - 1);
413 hdr.rowBytes = B_HOST_TO_BENDIAN_INT32(out_rowbytes);
414 hdr.colors = (color_space) B_HOST_TO_BENDIAN_INT32(out_space);
415 hdr.dataSize = B_HOST_TO_BENDIAN_INT32(out_rowbytes * height);
418 err = outDestination->Write(&hdr, sizeo
800 TranslatorBitmap hdr; local
[all...]
/haiku/src/libs/libunwind/ia64/
H A DGtables.c142 unw_word_t hdr_addr, info_addr, hdr, directives, pers, cookie, off; local
197 if ((ret = read_mem (as, hdr_addr, &hdr, arg)) < 0)
200 if (IA64_UNW_VER (hdr) != 1
201 || IA64_UNW_FLAG_EHANDLER (hdr) || IA64_UNW_FLAG_UHANDLER (hdr))
206 if (IA64_UNW_LENGTH (hdr) != 1)
255 unw_word_t addr, hdr_addr, info_addr, info_end_addr, hdr, *wp; local
313 if ((ret = read_mem (as, hdr_addr, &hdr, arg)) < 0)
316 if (IA64_UNW_VER (hdr) != 1)
318 Debug (1, "Unknown header version %ld (hdr wor
[all...]
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwmem.cpp67 xfer->send.hdr.mode.hdr.dst = FWLOCALBUS | fwdev->dst;
98 fp = &xfer->send.hdr;
134 fp = &xfer->send.hdr;
171 fp = &xfer->send.hdr;
209 fp = &xfer->send.hdr;
H A Dfirewire.cpp159 fp = &xfer->send.hdr;
318 fw_dump_hdr(&xfer->send.hdr, "send");
675 src->hdr.info_len = 4;
1050 fp->mode.hdr.dst & 0x3f,
1051 fp->mode.hdr.tlrt >> 2, fp->mode.hdr.tlrt & 3,
1052 fp->mode.hdr.tcode, fp->mode.hdr.pri,
1053 fp->mode.hdr.src);
1078 fw_dump_hdr(&xfer->send.hdr, "sen
1606 struct csrhdr *hdr; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/virtio/
H A Dvirtio_net.h96 struct virtio_net_hdr hdr; member in struct:virtio_net_hdr_mrg_rxbuf
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DMixerCore.cpp562 media_header* hdr = buffer->Header(); local
563 hdr->type = B_MEDIA_RAW_AUDIO;
564 hdr->size_used = size;
565 hdr->time_source = fTimeSource->ID();
566 hdr->start_time = fEventTime;
691 media_header* hdr = buffer->Header(); local
692 hdr->type = B_MEDIA_RAW_AUDIO;
693 hdr->size_used
695 hdr->time_source = fTimeSource->ID();
696 hdr
[all...]
/haiku/src/kits/game/
H A DGameProducer.cpp541 media_header* hdr = buf->Header(); local
542 hdr->type = B_MEDIA_RAW_AUDIO;
543 hdr->size_used = fBufferSize;
544 hdr->time_source = TimeSource()->ID();
563 hdr->start_time = stamp;
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto_tkip.c848 michael_mic_hdr(const struct ieee80211_frame *wh0, uint8_t hdr[16]) argument
855 IEEE80211_ADDR_COPY(hdr, wh->i_addr1); /* DA */
856 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2);
859 IEEE80211_ADDR_COPY(hdr, wh->i_addr3); /* DA */
860 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr2);
863 IEEE80211_ADDR_COPY(hdr, wh->i_addr1); /* DA */
864 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr3);
867 IEEE80211_ADDR_COPY(hdr, wh->i_addr3); /* DA */
868 IEEE80211_ADDR_COPY(hdr + IEEE80211_ADDR_LEN, wh->i_addr4);
875 hdr[1
886 uint8_t hdr[16]; local
891 michael_mic_hdr(mtod(m, struct ieee80211_frame *), hdr); local
[all...]
/haiku/src/add-ons/kernel/drivers/bus/firewire/
H A Dfw_raw.c318 fp = &xfer->recv.hdr;
323 tinfo = &xfer->fc->tcode[fp->mode.hdr.tcode];
473 tinfo = &d->fc->tcode[pkt.mode.hdr.tcode];
491 bcopy(&pkt, &xfer->send.hdr, sizeof(struct fw_pkt));
761 tinfo = &fc->tcode[fp->mode.hdr.tcode];
781 fp->mode.hdr.dst = FWLOCALBUS | fwdev->dst;
791 bcopy(fp, (void *)&xfer->send.hdr, tinfo->hdr_len);
810 tinfo = &fc->tcode[xfer->recv.hdr.mode.hdr.tcode];
811 if (xfer->recv.hdr
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/iwm/
H A Dif_iwm_util.c223 hdrlen = sizeof(cmd->hdr);
273 cmd->hdr.code = iwm_cmd_opcode(code);
274 cmd->hdr.flags = 0;
275 cmd->hdr.qid = ring->qid;
276 cmd->hdr.idx = ring->cur;
386 if (pkt->hdr.flags & IWM_CMD_FAILED_MSK) {
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dif_bwi.c2524 struct bwi_rxbuf_hdr *hdr; local
2581 hdr = mtod(rxbuf->rb_mbuf, struct bwi_rxbuf_hdr *);
2582 bzero(hdr, sizeof(*hdr));
2589 rxbuf->rb_mbuf->m_len - sizeof(*hdr));
2622 struct bwi_rxbuf_hdr *hdr; local
2639 hdr = mtod(m, struct bwi_rxbuf_hdr *);
2640 flags2 = le16toh(hdr->rxh_flags2);
2647 buflen = le16toh(hdr->rxh_buflen);
2657 bcopy((uint8_t *)(hdr
2942 struct bwi_txbuf_hdr *hdr; local
3133 struct bwi_txbuf_hdr *hdr; local
3358 const struct bwi_txbuf_hdr *hdr = local
3760 bwi_calc_rssi(struct bwi_softc *sc, const struct bwi_rxbuf_hdr *hdr) argument
3791 bwi_rx_radiotap(struct bwi_softc *sc, struct mbuf *m, struct bwi_rxbuf_hdr *hdr, const void *plcp, int rate, int rssi, int noise) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/
H A Dif_ipw.c410 const struct ipw_firmware_hdr *hdr; local
447 if (fp->datasize < sizeof *hdr) {
454 hdr = (const struct ipw_firmware_hdr *)fp->data;
455 if (fp->datasize < sizeof *hdr + le32toh(hdr->mainsz) +
456 le32toh(hdr->ucodesz)) {
1591 KASSERT(shdr != NULL && sbuf != NULL, ("empty sw hdr/buf pool"));
1593 shdr->hdr.type = htole32(IPW_HDR_TYPE_SEND);
1594 shdr->hdr.subtype = 0;
1595 shdr->hdr
2317 const struct ipw_firmware_hdr *hdr; local
[all...]

Completed in 388 milliseconds

123