Home
last modified time | relevance | path

Searched refs:frag_len (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dserial_util.c44 const uint8_t *frag, int frag_len) in mcumgr_serial_decode_frag() argument
51 frag, frag_len); in mcumgr_serial_decode_frag()
70 const uint8_t *frag, int frag_len) in mcumgr_serial_process_frag() argument
84 if (frag_len < sizeof(op)) { in mcumgr_serial_process_frag()
107 frag_len - sizeof(op)); in mcumgr_serial_process_frag()
Dsmp_dummy.c64 const uint8_t *frag, int frag_len);
68 const uint8_t *frag, uint16_t frag_len);
329 const uint8_t *frag, int frag_len) in mcumgr_dummy_decode_frag() argument
336 frag, frag_len); in mcumgr_dummy_decode_frag()
359 const uint8_t *frag, int frag_len) in mcumgr_dummy_process_frag() argument
373 op = mcumgr_dummy_parse_op(frag, frag_len); in mcumgr_dummy_process_frag()
392 frag_len - sizeof(op)); in mcumgr_dummy_process_frag()
444 const uint8_t *frag, uint16_t frag_len) in mcumgr_dummy_process_frag_outgoing() argument
458 op = mcumgr_dummy_parse_op(frag, frag_len); in mcumgr_dummy_process_frag_outgoing()
477 frag_len - sizeof(op)); in mcumgr_dummy_process_frag_outgoing()
/Zephyr-latest/include/zephyr/mgmt/mcumgr/transport/
Dserial.h69 const uint8_t *frag, int frag_len);
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c574 uint16_t frag_len; in send_l2cap_sdu() local
596 frag_len = MIN(data_len, on_air_size); in send_l2cap_sdu()
603 frag_len -= BT_L2CAP_SDU_HDR_SIZE; in send_l2cap_sdu()
606 frag_len -= BT_L2CAP_HDR_SIZE; in send_l2cap_sdu()
610 net_buf_add_mem(buf, data, frag_len); in send_l2cap_sdu()
611 data = &data[frag_len]; in send_l2cap_sdu()
612 data_len -= frag_len; in send_l2cap_sdu()
/Zephyr-latest/drivers/ethernet/
Deth_gecko.c144 uint16_t frag_len, total_len; in frame_get() local
209 frag_len = MIN(total_len, ETH_RX_BUF_SIZE); in frame_get()
211 frag_len, rx_buf_idx); in frame_get()
213 frag_len) < 0) { in frame_get()
224 total_len -= frag_len; in frame_get()
Deth_w5500.c247 size_t frag_len; in w5500_rx() local
253 frag_len = net_buf_tailroom(pkt_buf); in w5500_rx()
255 if (read_len > frag_len) { in w5500_rx()
256 frame_len = frag_len; in w5500_rx()
Deth_xmc4xxx.c230 uint16_t frag_len; in eth_xmc4xxx_send() local
289 frag_len = frag->len; in eth_xmc4xxx_send()
292 dma_desc->length = frag_len; in eth_xmc4xxx_send()
416 uint16_t frag_len = CONFIG_NET_BUF_DATA_SIZE; in eth_xmc4xxx_rx_pkt() local
420 frag_len = TOTAL_FRAME_LENGTH(dma_desc) - in eth_xmc4xxx_rx_pkt()
443 net_buf_add(frag, frag_len); in eth_xmc4xxx_rx_pkt()
Deth_enc424j600.c401 size_t frag_len; in enc424j600_rx() local
408 frag_len = net_buf_tailroom(pkt_buf); in enc424j600_rx()
410 if (frm_len > frag_len) { in enc424j600_rx()
411 spi_frame_len = frag_len; in enc424j600_rx()
Deth_enc28j60.c573 size_t frag_len; in enc28j60_read_packet() local
580 frag_len = net_buf_tailroom(pkt_buf); in enc28j60_read_packet()
582 if (frm_len > frag_len) { in enc28j60_read_packet()
583 spi_frame_len = frag_len; in enc28j60_read_packet()
Deth_sam_gmac.c1231 uint32_t frag_len; in frame_get() local
1281 frag_len = (rx_desc->w1 & GMAC_RXW1_LEN) - frame_len; in frame_get()
1283 frag_len = CONFIG_NET_BUF_DATA_SIZE; in frame_get()
1286 frame_len += frag_len; in frame_get()
1300 net_buf_add(frag, frag_len); in frame_get()
1413 uint16_t frag_len; in eth_tx() local
1454 frag_len = frag->len; in eth_tx()
1484 tx_desc->w1 = (frag_len & GMAC_TXW1_LEN) in eth_tx()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c557 size_t frag_len = MIN(att_packet->len, on_air_size); in gatt_notify_without_last_fragment() local
562 frag_len -= BT_L2CAP_HDR_SIZE; in gatt_notify_without_last_fragment()
567 net_buf_pull_mem(att_packet, frag_len), in gatt_notify_without_last_fragment()
568 frag_len); in gatt_notify_without_last_fragment()
/Zephyr-latest/subsys/net/ip/
D6lo.c1399 size_t frag_len = nhc ? NET_IPV6UDPH_LEN : NET_IPV6H_LEN; in uncompress_IPHC_header() local
1403 frag = net_pkt_get_frag(pkt, frag_len, NET_6LO_RX_PKT_TIMEOUT); in uncompress_IPHC_header()
1410 net_buf_add(frag, frag_len); in uncompress_IPHC_header()
/Zephyr-latest/subsys/bluetooth/host/
Dconn.c696 uint16_t frag_len = MIN(conn_mtu(conn), len); in send_buf() local
700 if (buf->len > frag_len) { in send_buf()
702 frag = get_data_frag(net_buf_ref(buf), frag_len); in send_buf()
708 frag = get_data_frag(buf, frag_len); in send_buf()
723 LOG_DBG("send frag: buf %p len %d", buf, frag_len); in send_buf()