Searched refs:packet_pbuf (Results 1 – 1 of 1) sorted by relevance
306 struct pbuf *packet_pbuf = calloc(1, sizeof(struct pbuf)); in sock_recv_task() local308 if (packet == NULL || packet_pbuf == NULL || buf == NULL ) { in sock_recv_task()310 free(packet_pbuf); in sock_recv_task()317 packet_pbuf->next = NULL; in sock_recv_task()318 packet_pbuf->payload = buf; in sock_recv_task()319 packet_pbuf->tot_len = len; in sock_recv_task()320 packet_pbuf->len = len; in sock_recv_task()322 packet->pb = packet_pbuf; in sock_recv_task()