Lines Matching refs:first_packet
57 struct packet* first_packet; // fist packet to be delivered to app member
102 struct packet* p = sock->first_packet; in packet_get_head_l()
106 if (data) *data = sock->first_packet->data; in packet_get_head_l()
107 if (len) *len = sock->first_packet->len; in packet_get_head_l()
108 sock->first_packet = p->next; in packet_get_head_l()
109 if (sock->first_packet) in packet_get_head_l()
110 sock->first_packet->prev = NULL; in packet_get_head_l()
146 p->next = sock->first_packet; in packet_put_head_l()
147 sock->first_packet = p; in packet_put_head_l()
174 sock->first_packet = p; in packet_put_tail_l()
289 sock->first_packet = NULL; in btsock_l2cap_alloc_l()