Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/esp_eth/test_apps/main/
Desp_eth_test.c180 emac_frame_t *pkt = malloc(1024); variable
181 pkt->proto = 0x2222;
182 memset(pkt->dest, 0xff, 6); // broadcast addr
184 pkt->data[i] = i & 0xff;
187 TEST_ASSERT_EQUAL(ESP_OK, esp_eth_transmit(eth_handle, pkt, 1024));
189 free(pkt);
203 emac_frame_t *pkt = (emac_frame_t *) buffer; in l2_packet_txrx_test_cb() local
205 if (pkt->proto == 0x2222 && length == 1024) { in l2_packet_txrx_test_cb()
208 if (pkt->data[i] != (i & 0xff)) { in l2_packet_txrx_test_cb()
212 if (memcmp(pkt->dest, "\xff\xff\xff\xff\xff\xff", 6) == 0) { in l2_packet_txrx_test_cb()
[all …]
/hal_espressif-3.5.0/components/bt/host/bluedroid/hci/
Dhci_hal_h4.c319 BT_HDR *pkt; in host_recv_pkt_cb() local
327 pkt = (BT_HDR *) osi_calloc(pkt_size); in host_recv_pkt_cb()
329 if (!pkt) { in host_recv_pkt_cb()
333 pkt->offset = 0; in host_recv_pkt_cb()
334 pkt->len = len; in host_recv_pkt_cb()
335 pkt->layer_specific = 0; in host_recv_pkt_cb()
336 memcpy(pkt->data, data, len); in host_recv_pkt_cb()
337 fixed_queue_enqueue(hci_hal_env.rx_q, pkt, FIXED_QUEUE_MAX_TIMEOUT); in host_recv_pkt_cb()
341 BTTRC_DUMP_BUFFER("Recv Pkt", pkt->data, len); in host_recv_pkt_cb()
Dhci_layer.c223 BT_HDR *pkt = packet_fragmenter->fragment_current_packet(); in hci_host_thread_handler() local
224 if (pkt != NULL) { in hci_host_thread_handler()
225 packet_fragmenter->fragment_and_dispatch(pkt); in hci_host_thread_handler()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avdt/include/
Davdt_defs.h148 #define AVDT_MSG_PRS_HDR(p, lbl, pkt, msg) \ argument
150 pkt = (*(p) >> 2) & 0x03; \
165 #define AVDT_MSG_PRS_PKT_TYPE(p, pkt) \ argument
166 pkt = (*(p) >> 2) & 0x03;
183 #define AVDT_MSG_BLD_HDR(p, lbl, pkt, msg) \ argument
184 *(p)++ = (UINT8) ((lbl) << 4) | ((pkt) << 2) | (msg);
/hal_espressif-3.5.0/components/esptool_py/esptool/flasher_stub/
Dslip.c36 void SLIP_send(const void *pkt, uint32_t size) { in SLIP_send() argument
38 SLIP_send_frame_data_buf(pkt, size); in SLIP_send()
80 uint32_t SLIP_recv(void *pkt, uint32_t max_len) { in SLIP_recv() argument
83 uint8_t *p = (uint8_t *) pkt; in SLIP_recv()
/hal_espressif-3.5.0/components/esptool_py/esptool/flasher_stub/include/
Dslip.h24 void SLIP_send(const void *pkt, uint32_t size);
38 uint32_t SLIP_recv(void *pkt, uint32_t max_len);
/hal_espressif-3.5.0/components/bt/common/btc/profile/esp/include/
Dbtc_blufi_prf.h50 uint8_t *pkt; member
105 void btc_blufi_send_notify(uint8_t *pkt, int pkt_len);
/hal_espressif-3.5.0/components/esptool_py/esptool/esptool/
Dloader.py393 pkt = struct.pack(b"<BBHI", 0x00, op, len(data), chk) + data
394 self.write(pkt)
870 pkt = struct.pack("<I", int(not reboot))
872 self.check_command("leave Flash mode", self.ESP_FLASH_END, pkt)
1054 pkt = struct.pack("<I", int(not reboot))
1055 self.check_command("leave compressed flash mode", self.ESP_FLASH_DEFL_END, pkt)
/hal_espressif-3.5.0/components/esp_http_server/include/
Desp_http_server.h1627 esp_err_t httpd_ws_recv_frame(httpd_req_t *req, httpd_ws_frame_t *pkt, size_t max_len);
1639 esp_err_t httpd_ws_send_frame(httpd_req_t *req, httpd_ws_frame_t *pkt);
/hal_espressif-3.5.0/components/bt/common/btc/profile/esp/blufi/
Dblufi_prf.c85 void btc_blufi_send_notify(uint8_t *pkt, int pkt_len) in btc_blufi_send_notify() argument
88 pkts.pkt = pkt; in btc_blufi_send_notify()
/hal_espressif-3.5.0/components/bt/common/btc/profile/esp/blufi/nimble_host/
Desp_blufi.c429 om = ble_hs_mbuf_from_flat(pkts->pkt, pkts->pkt_len); in esp_blufi_send_notify()
/hal_espressif-3.5.0/components/bt/common/btc/profile/esp/blufi/bluedroid_host/
Desp_blufi.c359 pkts->pkt, rsp); in esp_blufi_send_notify()