Searched refs:seg_offset (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/ |
D | main.c | 86 void recv_cb(struct bt_l2cap_chan *l2cap_chan, size_t sdu_len, off_t seg_offset, in recv_cb() argument 89 LOG_DBG("sdu len %u frag offset %u frag len %u", sdu_len, seg_offset, seg->len); in recv_cb() 94 ASSERT(memcmp(seg->data, &tx_data[seg_offset], seg->len) == 0, "RX data doesn't match TX"); in recv_cb() 96 if (seg_offset + seg->len == sdu_len) { in recv_cb() 107 if (!(rx_cnt == 0 && seg_offset == 0)) { in recv_cb()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | l2cap.h | 475 off_t seg_offset, struct net_buf_simple *seg);
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_l2cap.c | 52 static void seg_recv_cb(struct bt_l2cap_chan *l2cap_chan, size_t sdu_len, off_t seg_offset, in seg_recv_cb() argument 61 memcpy(&ev->data[seg_offset], seg->data, seg->len); in seg_recv_cb() 64 if (seg_offset + seg->len == sdu_len) { in seg_recv_cb()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | l2cap.c | 2529 uint16_t seg_offset; in l2cap_chan_le_recv_seg_direct() local 2553 seg_offset = chan->_sdu_len_done; in l2cap_chan_le_recv_seg_direct() 2566 chan->chan.ops->seg_recv(&chan->chan, chan->_sdu_len, seg_offset, &seg->b); in l2cap_chan_le_recv_seg_direct()
|