/AliOS-Things-master/hardware/chip/rtl872xd/hci_driver/ |
A D | hci_driver.c | 68 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 D | hci_h4.c | 32 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 D | makefsdata.c | 618 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 D | monitor.c | 90 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 D | monitor.h | 54 u8_t hdr_len; member
|
/AliOS-Things-master/components/ble_host/bt_host/hci_driver/ |
A D | h4_driver.c | 62 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 D | httputility.c | 106 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 D | modhttp.c | 114 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 D | module_http.c | 112 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 D | module_http.c | 97 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 D | af_packet.c | 282 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 D | httpd.c | 1755 u16_t hdr_len = LWIP_MIN(data_len, crlfcrlf + 4 - data); local 1766 u16_t start_offset = hdr_len;
|