Home
last modified time | relevance | path

Searched refs:hdr_len (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/hci_driver/
A Dhci_driver.c68 uint8_t hdr_len; member
83 net_buf_add_mem(buf, rx.hdr, rx.hdr_len); in copy_hdr()
91 rx.hdr_len = 0; in reset_rx()
99 rx.hdr_len = sizeof(struct bt_hci_evt_hdr); in get_evt_hdr()
100 memcpy((uint8_t *)hdr, data, rx.hdr_len); in get_evt_hdr()
103 memcpy((uint8_t *)hdr + rx.hdr_len, data + rx.hdr_len, 1); in get_evt_hdr()
104 rx.hdr_len++; in get_evt_hdr()
117 return rx.hdr_len; in get_evt_hdr()
124 rx.hdr_len = sizeof(struct bt_hci_acl_hdr); in get_acl_hdr()
125 memcpy((uint8_t *)hdr, data, rx.hdr_len); in get_acl_hdr()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/hci/
A Dhci_h4.c32 uint8_t hdr_len; member
99 len = offset + hci_h4.hdr_len + hci_h4.payload_len; in hci_h4_alloc_buf()
104 memcpy(hci_h4.rx_buf + offset, hci_h4.hdr_buf, hci_h4.hdr_len); in hci_h4_alloc_buf()
105 hci_h4.rx_offset = offset + hci_h4.hdr_len; in hci_h4_alloc_buf()
144 while (hci_h4.hdr_offset == 0 || hci_h4.hdr_offset < hci_h4.hdr_len) in hci_h4_recv()
161 hci_h4.hdr_len = HCI_ACL_HDR_LEN; in hci_h4_recv()
165 hci_h4.hdr_len = HCI_EVT_HDR_LEN; in hci_h4_recv()
176 else if (hci_h4.hdr_offset == hci_h4.hdr_len) in hci_h4_recv()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/httpd/makefsdata/
A Dmakefsdata.c618 if (hdr_len > 0) { in write_checksums()
816 size_t hdr_len = 0; in file_write_http_header() local
852 hdr_len += cur_len; in file_write_http_header()
862 hdr_len += cur_len; in file_write_http_header()
902 hdr_len += cur_len; in file_write_http_header()
912 hdr_len += cur_len; in file_write_http_header()
938 hdr_len += cur_len; in file_write_http_header()
948 hdr_len += cur_len; in file_write_http_header()
967 hdr_len += cur_len; in file_write_http_header()
996 hdr_len += cur_len; in file_write_http_header()
[all …]
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dmonitor.c90 hdr->ext[hdr->hdr_len++] = type; in encode_drops()
91 hdr->ext[hdr->hdr_len++] = MIN(count, 255); in encode_drops()
112 hdr->hdr_len = sizeof(*ts); in encode_hdr()
124 hdr->data_len = sys_cpu_to_le16(4 + hdr->hdr_len + len); in encode_hdr()
167 monitor_send(&hdr, BT_MONITOR_BASE_HDR_LEN + hdr.hdr_len); in bt_monitor_send()
298 monitor_send(&hdr, BT_MONITOR_BASE_HDR_LEN + hdr.hdr_len); in monitor_log_put()
A Dmonitor.h54 u8_t hdr_len; member
/AliOS-Things-master/components/ble_host/bt_host/hci_driver/
A Dh4_driver.c62 uint8_t hdr_len; member
303 net_buf_add_mem(buf, hci_h4.rx.hdr, hci_h4.rx.hdr_len); in copy_hdr()
311 hci_h4.rx.hdr_len = 0; in reset_rx()
339 hci_h4.rx.hdr_len = hci_h4.rx.remaining; in h4_get_type()
344 hci_h4.rx.hdr_len = hci_h4.rx.remaining; in h4_get_type()
369 int32_t to_read = hci_h4.rx.hdr_len - hci_h4.rx.remaining; in get_evt_hdr()
373 hci_h4.rx.remaining = hdr->len - (hci_h4.rx.hdr_len - sizeof(*hdr)); in get_evt_hdr()
419 hci_h4.rx.cur_len = hci_h4.rx.hdr_len + 1; in read_payload()
/AliOS-Things-master/components/py_engine/modules/network/http/
A Dhttputility.c106 uint32_t hdr_len; in pyamp_httpc_construct_header() local
114 hdr_len = strlen(name); in pyamp_httpc_construct_header()
116 hdr_length = hdr_len + hdr_data_len + 4; in pyamp_httpc_construct_header()
122 memcpy(buf, name, hdr_len); in pyamp_httpc_construct_header()
123 buf += hdr_len; in pyamp_httpc_construct_header()
A Dmodhttp.c114 uint32_t hdr_len; in pyamp_httpc_construct_header() local
122 hdr_len = strlen(name); in pyamp_httpc_construct_header()
124 hdr_length = hdr_len + hdr_data_len + 4; in pyamp_httpc_construct_header()
130 memcpy(buf, name, hdr_len); in pyamp_httpc_construct_header()
131 buf += hdr_len; in pyamp_httpc_construct_header()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/network/http/
A Dmodule_http.c112 uint32_t hdr_len; in httpc_construct_header() local
120 hdr_len = strlen(name); in httpc_construct_header()
122 hdr_length = hdr_len + hdr_data_len + 4; in httpc_construct_header()
128 memcpy(buf, name, hdr_len); in httpc_construct_header()
129 buf += hdr_len; in httpc_construct_header()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/http/
A Dmodule_http.c97 uint32_t hdr_len; in httpc_construct_header() local
105 hdr_len = strlen(name); in httpc_construct_header()
107 hdr_length = hdr_len + hdr_data_len + 4; in httpc_construct_header()
113 memcpy(buf, name, hdr_len); in httpc_construct_header()
114 buf += hdr_len; in httpc_construct_header()
/AliOS-Things-master/components/lwip/lwip2.0.0/core/
A Daf_packet.c282 int hdr_len; in packet_recvfrom() local
353 hdr_len = packet_eth_hdr_info(p, sll, sock->ifindex, direct); in packet_recvfrom()
356 msg_len = p->tot_len - hdr_len - ETH_PAD_SIZE; in packet_recvfrom()
357 copy_offset = (u16_t)(hdr_len + ETH_PAD_SIZE); in packet_recvfrom()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/httpd/
A Dhttpd.c1755 u16_t hdr_len = LWIP_MIN(data_len, crlfcrlf + 4 - data); local
1766 u16_t start_offset = hdr_len;

Completed in 24 milliseconds