Lines Matching defs:pcap_t
74 typedef struct pcap pcap_t;
221 pcap_t *pcap_open_live(const char *, int, int, int, char *);
222 pcap_t *pcap_open_dead(int, int);
223 pcap_t *pcap_open_offline(const char *, char *);
224 pcap_t *pcap_fopen_offline(FILE *, char *);
225 void pcap_close(pcap_t *);
226 int pcap_loop(pcap_t *, int, pcap_handler, u_char *);
227 int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *);
229 pcap_next(pcap_t *, struct pcap_pkthdr *);
230 int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **);
231 void pcap_breakloop(pcap_t *);
232 int pcap_stats(pcap_t *, struct pcap_stat *);
233 int pcap_setfilter(pcap_t *, struct bpf_program *);
234 int pcap_setdirection(pcap_t *, pcap_direction_t);
235 int pcap_getnonblock(pcap_t *, char *);
236 int pcap_setnonblock(pcap_t *, int, char *);
237 void pcap_perror(pcap_t *, char *);
238 int pcap_inject(pcap_t *, const void *, size_t);
239 int pcap_sendpacket(pcap_t *, const u_char *, int);
241 char *pcap_geterr(pcap_t *);
242 int pcap_compile(pcap_t *, struct bpf_program *, const char *, int,
247 int pcap_datalink(pcap_t *);
248 int pcap_list_datalinks(pcap_t *, int **);
249 int pcap_set_datalink(pcap_t *, int);
253 int pcap_snapshot(pcap_t *);
254 int pcap_is_swapped(pcap_t *);
255 int pcap_major_version(pcap_t *);
256 int pcap_minor_version(pcap_t *);
259 FILE *pcap_file(pcap_t *);
260 int pcap_fileno(pcap_t *);
262 pcap_dumper_t *pcap_dump_open(pcap_t *, const char *);
263 pcap_dumper_t *pcap_dump_fopen(pcap_t *, FILE *fp);
287 int pcap_setbuff(pcap_t *p, int dim);
288 int pcap_setmode(pcap_t *p, int mode);
289 int pcap_setmintocopy(pcap_t *p, int size);
306 int pcap_stats_ex (pcap_t *, struct pcap_stat_ex *);
307 void pcap_set_wait (pcap_t *p, void (*yield)(void), int wait);
316 int pcap_get_selectable_fd(pcap_t *);