Searched refs:packet_t (Results 1 – 5 of 5) sorted by relevance
/freebsd/usr.sbin/bluetooth/btpand/ |
H A D | btpand.h | 62 typedef struct packet packet_t; typedef 105 bool (*send)(channel_t *, packet_t *); 106 bool (*recv)(packet_t *); 151 packet_t * data; 185 bool bnep_send(channel_t *, packet_t *); 186 bool bnep_recv(packet_t *); 196 void channel_put(channel_t *, packet_t *); 202 packet_t * packet_alloc(channel_t *); 203 void packet_free(packet_t *); 204 void packet_adj(packet_t *, size_t); [all …]
|
H A D | packet.c | 37 packet_t * 40 packet_t *pkt; in packet_alloc() 42 pkt = malloc(sizeof(packet_t) + chan->mru); in packet_alloc() 48 memset(pkt, 0, sizeof(packet_t)); in packet_alloc() 59 packet_free(packet_t *pkt) in packet_free() 79 packet_adj(packet_t *pkt, size_t size) in packet_adj() 90 pkthdr_alloc(packet_t *pkt) in pkthdr_alloc()
|
H A D | tap.c | 50 static bool tap_send(channel_t *, packet_t *); 51 static bool tap_recv(packet_t *); 133 tap_send(channel_t *chan, packet_t *pkt) in tap_send() 155 tap_recv(packet_t *pkt) in tap_recv()
|
H A D | bnep.c | 45 static bool bnep_recv_extension(packet_t *); 55 static bool bnep_pfilter(channel_t *, packet_t *); 56 static bool bnep_mfilter(channel_t *, packet_t *); 87 bnep_recv(packet_t *pkt) in bnep_recv() 181 bnep_recv_extension(packet_t *pkt) in bnep_recv_extension() 580 packet_t *pkt; in bnep_send_control() 635 bnep_send(channel_t *chan, packet_t *pkt) in bnep_send() 721 bnep_pfilter(channel_t *chan, packet_t *pkt) in bnep_pfilter() 743 bnep_mfilter(channel_t *chan, packet_t *pkt) in bnep_mfilter()
|
H A D | channel.c | 48 static void channel_dispatch(packet_t *); 204 packet_t *pkt; in channel_read() 235 channel_dispatch(packet_t *pkt) in channel_dispatch() 277 channel_put(channel_t *chan, packet_t *pkt) in channel_put()
|