Home
last modified time | relevance | path

Searched refs:frame_length (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_cyclonev.c644 uint32_t index, frame_length, rx_search, wrap, data_remaining, last_desc_index, buf_size; in eth_cyclonev_receive() local
666 frame_length = data_remaining = (ETH_DMARXDESC_FL & rx_desc->status) >> 16; in eth_cyclonev_receive()
679 LOG_DBG("Frame length = %d, Last descriptor = %d", frame_length, last_desc_index); in eth_cyclonev_receive()
683 pkt = net_pkt_rx_alloc_with_buffer(p->iface, frame_length, AF_UNSPEC, 0, K_NO_WAIT); in eth_cyclonev_receive()
739 LOG_DBG("Received packet %p, len %d", pkt, frame_length); in eth_cyclonev_receive()
Deth_stm32_hal.c647 uint32_t frame_length = 0; in eth_rx() local
656 hal_ret = HAL_ETH_GetRxDataLength(heth, &frame_length); in eth_rx()
663 total_len = frame_length; in eth_rx()
/Zephyr-Core-3.7.0/drivers/ethernet/nxp_enet/
Deth_nxp_enet.c349 uint32_t frame_length = 0U; in eth_nxp_enet_rx() local
356 (uint32_t *)&frame_length, RING_ID); in eth_nxp_enet_rx()
369 if (frame_length > NET_ETH_MAX_FRAME_SIZE) { in eth_nxp_enet_rx()
370 LOG_ERR("Frame too large (%d)", frame_length); in eth_nxp_enet_rx()
375 pkt = net_pkt_rx_alloc_with_buffer(data->iface, frame_length, in eth_nxp_enet_rx()
383 data->rx_frame_buf, frame_length, RING_ID, &ts); in eth_nxp_enet_rx()
391 if (net_pkt_write(pkt, data->rx_frame_buf, frame_length)) { in eth_nxp_enet_rx()
Deth_mcux.c729 uint32_t frame_length = 0U; in eth_rx() local
740 (uint32_t *)&frame_length, RING_ID); in eth_rx()
753 if (frame_length > NET_ETH_MAX_FRAME_SIZE) { in eth_rx()
754 LOG_ERR("frame too large (%d)", frame_length); in eth_rx()
759 pkt = net_pkt_rx_alloc_with_buffer(context->iface, frame_length, in eth_rx()
771 context->rx_frame_buf, frame_length, RING_ID, &ts); in eth_rx()
780 if (net_pkt_write(pkt, context->rx_frame_buf, frame_length)) { in eth_rx()
/Zephyr-Core-3.7.0/subsys/net/l2/wifi/
Dwifi_mgmt.c781 if (raw_scan_result->frame_length > CONFIG_WIFI_MGMT_RAW_SCAN_RESULT_LENGTH) { in wifi_mgmt_raise_raw_scan_result_event()
784 raw_scan_result->frame_length, in wifi_mgmt_raise_raw_scan_result_event()
Dwifi_shell.c205 sizeof(mac_string_buf)), raw->frame_length); in handle_wifi_raw_scan_result()
/Zephyr-Core-3.7.0/include/zephyr/net/
Dwifi_mgmt.h689 int frame_length; member