Lines Matching refs:first_packet
78 struct packet* first_packet; // fist packet to be delivered to app member
123 struct packet* p = sock->first_packet; in packet_get_head_l()
127 if (data) *data = sock->first_packet->data; in packet_get_head_l()
128 if (len) *len = sock->first_packet->len; in packet_get_head_l()
129 sock->first_packet = p->next; in packet_get_head_l()
130 if (sock->first_packet) in packet_get_head_l()
131 sock->first_packet->prev = NULL; in packet_get_head_l()
167 p->next = sock->first_packet; in packet_put_head_l()
168 sock->first_packet = p; in packet_put_head_l()
194 sock->first_packet = p; in packet_put_tail_l()
317 sock->first_packet = NULL; in btsock_l2cap_alloc_l()