Lines Matching refs:rx_buf
39 while (data->rx_buf && data->rx_buf->len && in skipcrlf()
40 is_crlf(*data->rx_buf->data)) { in skipcrlf()
41 net_buf_pull_u8(data->rx_buf); in skipcrlf()
42 if (!data->rx_buf->len) { in skipcrlf()
43 data->rx_buf = net_buf_frag_del(NULL, data->rx_buf); in skipcrlf()
51 struct net_buf *buf = data->rx_buf; in findcrlf()
214 data->rx_buf = net_buf_skip(data->rx_buf, cmd->cmd_len + parsed_len); in process_cmd()
222 net_buf_push(data->rx_buf, cmd->cmd_len + parsed_len); in process_cmd()
273 starts_with(data->rx_buf, data->cmds[j][i].cmd))) { in find_cmd_direct_match()
289 if (!data->rx_buf) { in cmd_handler_process_iface_data()
290 data->rx_buf = net_buf_alloc(data->buf_pool, in cmd_handler_process_iface_data()
292 if (!data->rx_buf) { in cmd_handler_process_iface_data()
298 last = net_buf_frag_last(data->rx_buf); in cmd_handler_process_iface_data()
339 while (data->rx_buf && data->rx_buf->len) { in cmd_handler_process_rx_buf()
341 if (!data->rx_buf || !data->rx_buf->len) { in cmd_handler_process_rx_buf()
354 data->rx_buf = net_buf_skip(data->rx_buf, ret); in cmd_handler_process_rx_buf()
375 data->rx_buf, 0, len); in cmd_handler_process_rx_buf()
406 if (!data->rx_buf) { in cmd_handler_process_rx_buf()
426 if (frag && data->rx_buf) { in cmd_handler_process_rx_buf()
428 while (frag && data->rx_buf != frag) { in cmd_handler_process_rx_buf()
429 data->rx_buf = net_buf_frag_del(NULL, in cmd_handler_process_rx_buf()
430 data->rx_buf); in cmd_handler_process_rx_buf()
433 net_buf_pull(data->rx_buf, offset); in cmd_handler_process_rx_buf()