Lines Matching refs:recv_pkt
400 struct net_pkt *recv_pkt; member
3292 sock->recv_cb(sock->context, sock->recv_pkt, in notify_all_tcp_sockets_closed()
3872 if (sock->recv_pkt != NULL) { in sock_notif_cb_work()
4053 (sock->recv_pkt != NULL) ? net_pkt_get_len(sock->recv_pkt) : 0); in sockreadrecv_cb_work()
4055 pkt = sock->recv_pkt; in sockreadrecv_cb_work()
4056 sock->recv_pkt = NULL; in sockreadrecv_cb_work()
4103 sock->recv_pkt = net_pkt_rx_alloc_with_buffer( in sock_read()
4106 if (!sock->recv_pkt) { in sock_read()
4112 net_pkt_set_context(sock->recv_pkt, sock->context); in sock_read()
4115 hdr_len = pkt_setup_ip_data(sock->recv_pkt, sock); in sock_read()
4122 if (net_pkt_write_u8(sock->recv_pkt, c)) { in sock_read()
4192 net_pkt_cursor_init(sock->recv_pkt); in sock_read()
4193 net_pkt_set_overwrite(sock->recv_pkt, true); in sock_read()
4196 net_pkt_skip(sock->recv_pkt, hdr_len); in sock_read()
4206 net_pkt_unref(sock->recv_pkt); in sock_read()
4207 sock->recv_pkt = NULL; in sock_read()