Lines Matching refs:pcap_t
119 typedef int (*activate_op_t)(pcap_t *);
120 typedef int (*can_set_rfmon_op_t)(pcap_t *);
121 typedef int (*read_op_t)(pcap_t *, int cnt, pcap_handler, u_char *);
122 typedef int (*inject_op_t)(pcap_t *, const void *, size_t);
123 typedef int (*setfilter_op_t)(pcap_t *, struct bpf_program *);
124 typedef int (*setdirection_op_t)(pcap_t *, pcap_direction_t);
125 typedef int (*set_datalink_op_t)(pcap_t *, int);
126 typedef int (*getnonblock_op_t)(pcap_t *, char *);
127 typedef int (*setnonblock_op_t)(pcap_t *, int, char *);
128 typedef int (*stats_op_t)(pcap_t *, struct pcap_stat *);
130 typedef int (*setbuff_op_t)(pcap_t *, int);
131 typedef int (*setmode_op_t)(pcap_t *, int);
132 typedef int (*setmintocopy_op_t)(pcap_t *, int);
133 typedef Adapter *(*getadapter_op_t)(pcap_t *);
135 typedef void (*cleanup_op_t)(pcap_t *);
150 int (*next_packet_op)(pcap_t *, struct pcap_pkthdr *, u_char **);
338 pcap_t *pd;
348 int pcap_offline_read(pcap_t *, int, pcap_handler, u_char *);
349 int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *);
380 int pcap_getnonblock_fd(pcap_t *, char *);
381 int pcap_setnonblock_fd(pcap_t *p, int, char *);
392 * "pcap_create_common()" allocates and fills in a pcap_t, for use
395 pcap_t *pcap_create_interface(const char *, char *);
396 pcap_t *pcap_create_common(const char *, char *, size_t);
397 int pcap_do_addexit(pcap_t *);
398 void pcap_add_to_pcaps_to_close(pcap_t *);
399 void pcap_remove_from_pcaps_to_close(pcap_t *);
400 void pcap_cleanup_live_common(pcap_t *);
401 int pcap_not_initialized(pcap_t *);
402 int pcap_check_activated(pcap_t *);
432 * "pcap_open_offline_common()" allocates and fills in a pcap_t, for use
435 * "sf_cleanup()" closes the file handle associated with a pcap_t, if
439 pcap_t *pcap_open_offline_common(char *ebuf, size_t size);
440 void sf_cleanup(pcap_t *p);
455 int install_bpf_program(pcap_t *, struct bpf_program *);