Lines Matching refs:pcap_t
120 static int TcSetDatalink(pcap_t *p, int dlt);
121 static int TcGetNonBlock(pcap_t *p);
122 static int TcSetNonBlock(pcap_t *p, int nonblock);
123 static void TcCleanup(pcap_t *p);
124 static int TcInject(pcap_t *p, const void *buf, int size);
125 static int TcRead(pcap_t *p, int cnt, pcap_handler callback, u_char *user);
126 static int TcStats(pcap_t *p, struct pcap_stat *ps);
128 static struct pcap_stat *TcStatsEx(pcap_t *p, int *pcap_stat_size);
129 static int TcSetBuff(pcap_t *p, int dim);
130 static int TcSetMode(pcap_t *p, int mode);
131 static int TcSetMinToCopy(pcap_t *p, int size);
132 static HANDLE TcGetReceiveWaitHandle(pcap_t *p);
133 static int TcOidGetRequest(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp);
134 static int TcOidSetRequest(pcap_t *p, bpf_u_int32 oid, const void *data, size_t *lenp);
135 static u_int TcSendqueueTransmit(pcap_t *p, pcap_send_queue *queue, int sync);
136 static int TcSetUserBuffer(pcap_t *p, int size);
137 static int TcLiveDump(pcap_t *p, char *filename, int maxsize, int maxpacks);
138 static int TcLiveDumpEnded(pcap_t *p, int sync);
139 static PAirpcapHandle TcGetAirPcapHandle(pcap_t *p);
480 TcActivate(pcap_t *p) in TcActivate()
642 pcap_t *
650 pcap_t *p; in TcCreate()
721 static int TcSetDatalink(pcap_t *p, int dlt) in TcSetDatalink()
737 static int TcGetNonBlock(pcap_t *p) in TcGetNonBlock()
744 static int TcSetNonBlock(pcap_t *p, int nonblock) in TcSetNonBlock()
751 static void TcCleanup(pcap_t *p) in TcCleanup()
779 static int TcInject(pcap_t *p, const void *buf, int size) in TcInject()
836 static int TcRead(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in TcRead()
989 TcStats(pcap_t *p, struct pcap_stat *ps) in TcStats()
1050 TcStatsEx(pcap_t *p, int *pcap_stat_size) in TcStatsEx()
1110 TcSetBuff(pcap_t *p, int dim) in TcSetBuff()
1121 TcSetMode(pcap_t *p, int mode) in TcSetMode()
1133 TcSetMinToCopy(pcap_t *p, int size) in TcSetMinToCopy()
1155 TcGetReceiveWaitHandle(pcap_t *p) in TcGetReceiveWaitHandle()
1163 TcOidGetRequest(pcap_t *p, bpf_u_int32 oid _U_, void *data _U_, size_t *lenp _U_) in TcOidGetRequest()
1171 TcOidSetRequest(pcap_t *p, bpf_u_int32 oid _U_, const void *data _U_, in TcOidSetRequest()
1180 TcSendqueueTransmit(pcap_t *p, pcap_send_queue *queue _U_, int sync _U_) in TcSendqueueTransmit()
1188 TcSetUserBuffer(pcap_t *p, int size _U_) in TcSetUserBuffer()
1196 TcLiveDump(pcap_t *p, char *filename _U_, int maxsize _U_, int maxpacks _U_) in TcLiveDump()
1204 TcLiveDumpEnded(pcap_t *p, int sync _U_) in TcLiveDumpEnded()
1212 TcGetAirPcapHandle(pcap_t *p _U_) in TcGetAirPcapHandle()