Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_pkt.c1588 struct net_pkt_cursor *c_op = &pkt->cursor; local
1590 while (c_op->buf && length) {
1595 if (c_op->buf == NULL) {
1600 d_len = net_buf_max_len(c_op->buf) -
1601 (c_op->pos - c_op->buf->data);
1603 d_len = c_op->buf->len - (c_op->pos - c_op->buf->data);
1617 memcpy(write ? c_op->pos : data,
1618 write ? data : c_op->pos,
1621 memset(c_op->pos, *(int *)data, len);
1625 net_buf_add(c_op->buf, len);
[all …]