Lines Matching refs:pcap_t
79 typedef struct pcap pcap_t; typedef
277 pcap_t *pcap_create(const char *, char *);
278 int pcap_set_snaplen(pcap_t *, int);
279 int pcap_set_promisc(pcap_t *, int);
280 int pcap_can_set_rfmon(pcap_t *);
281 int pcap_set_rfmon(pcap_t *, int);
282 int pcap_set_timeout(pcap_t *, int);
283 int pcap_set_tstamp_type(pcap_t *, int);
284 int pcap_set_immediate_mode(pcap_t *, int);
285 int pcap_set_buffer_size(pcap_t *, int);
286 int pcap_set_tstamp_precision(pcap_t *, int);
287 int pcap_get_tstamp_precision(pcap_t *);
288 int pcap_activate(pcap_t *);
290 int pcap_list_tstamp_types(pcap_t *, int **);
349 pcap_t *pcap_open_live(const char *, int, int, int, char *);
350 pcap_t *pcap_open_dead(int, int);
351 pcap_t *pcap_open_dead_with_tstamp_precision(int, int, u_int);
352 pcap_t *pcap_open_offline_with_tstamp_precision(const char *, u_int, char *);
353 pcap_t *pcap_open_offline(const char *, char *);
355 pcap_t *pcap_hopen_offline_with_tstamp_precision(intptr_t, u_int, char *);
356 pcap_t *pcap_hopen_offline(intptr_t, char *);
363 static pcap_t *pcap_fopen_offline_with_tstamp_precision(FILE *, u_int, char *);
364 static pcap_t *pcap_fopen_offline(FILE *, char *);
367 pcap_t *pcap_fopen_offline_with_tstamp_precision(FILE *, u_int, char *);
368 pcap_t *pcap_fopen_offline(FILE *, char *);
371 void pcap_close(pcap_t *);
372 int pcap_loop(pcap_t *, int, pcap_handler, u_char *);
373 int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *);
375 pcap_next(pcap_t *, struct pcap_pkthdr *);
376 int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **);
377 void pcap_breakloop(pcap_t *);
378 int pcap_stats(pcap_t *, struct pcap_stat *);
379 int pcap_setfilter(pcap_t *, struct bpf_program *);
380 int pcap_setdirection(pcap_t *, pcap_direction_t);
381 int pcap_getnonblock(pcap_t *, char *);
382 int pcap_setnonblock(pcap_t *, int, char *);
383 int pcap_inject(pcap_t *, const void *, size_t);
384 int pcap_sendpacket(pcap_t *, const u_char *, int);
387 char *pcap_geterr(pcap_t *);
388 void pcap_perror(pcap_t *, char *);
389 int pcap_compile(pcap_t *, struct bpf_program *, const char *, int,
396 int pcap_datalink(pcap_t *);
397 int pcap_datalink_ext(pcap_t *);
398 int pcap_list_datalinks(pcap_t *, int **);
399 int pcap_set_datalink(pcap_t *, int);
404 int pcap_snapshot(pcap_t *);
405 int pcap_is_swapped(pcap_t *);
406 int pcap_major_version(pcap_t *);
407 int pcap_minor_version(pcap_t *);
410 FILE *pcap_file(pcap_t *);
411 int pcap_fileno(pcap_t *);
413 pcap_dumper_t *pcap_dump_open(pcap_t *, const char *);
414 pcap_dumper_t *pcap_dump_fopen(pcap_t *, FILE *fp);
415 pcap_dumper_t *pcap_dump_open_append(pcap_t *, const char *);
447 int pcap_setbuff(pcap_t *p, int dim);
448 int pcap_setmode(pcap_t *p, int mode);
449 int pcap_setmintocopy(pcap_t *p, int size);
450 Adapter *pcap_get_adapter(pcap_t *p);
467 int pcap_stats_ex (pcap_t *, struct pcap_stat_ex *);
468 void pcap_set_wait (pcap_t *p, void (*yield)(void), int wait);
477 int pcap_get_selectable_fd(pcap_t *);