Lines Matching refs:pcap_t
117 typedef int (*activate_op_t)(pcap_t *);
118 typedef int (*can_set_rfmon_op_t)(pcap_t *);
119 typedef int (*read_op_t)(pcap_t *, int cnt, pcap_handler, u_char *);
120 typedef int (*next_packet_op_t)(pcap_t *, struct pcap_pkthdr *, u_char **);
121 typedef int (*inject_op_t)(pcap_t *, const void *, size_t);
122 typedef void (*save_current_filter_op_t)(pcap_t *, const char *);
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 *);
127 typedef int (*setnonblock_op_t)(pcap_t *, int);
128 typedef int (*stats_op_t)(pcap_t *, struct pcap_stat *);
130 typedef struct pcap_stat *(*stats_ex_op_t)(pcap_t *, int *);
131 typedef int (*setbuff_op_t)(pcap_t *, int);
132 typedef int (*setmode_op_t)(pcap_t *, int);
133 typedef int (*setmintocopy_op_t)(pcap_t *, int);
134 typedef HANDLE (*getevent_op_t)(pcap_t *);
135 typedef int (*oid_get_request_op_t)(pcap_t *, bpf_u_int32, void *, size_t *);
136 typedef int (*oid_set_request_op_t)(pcap_t *, bpf_u_int32, const void *, size_t *);
137 typedef u_int (*sendqueue_transmit_op_t)(pcap_t *, pcap_send_queue *, int);
138 typedef int (*setuserbuffer_op_t)(pcap_t *, int);
139 typedef int (*live_dump_op_t)(pcap_t *, char *, int, int);
140 typedef int (*live_dump_ended_op_t)(pcap_t *, int);
141 typedef PAirpcapHandle (*get_airpcap_handle_op_t)(pcap_t *);
143 typedef void (*cleanup_op_t)(pcap_t *);
377 pcap_t *pd;
384 int pcap_offline_read(pcap_t *, int, pcap_handler, u_char *);
400 int pcap_getnonblock_fd(pcap_t *);
401 int pcap_setnonblock_fd(pcap_t *p, int);
415 pcap_t *pcap_create_interface(const char *, char *);
416 pcap_t *pcap_create_common(char *, size_t);
417 int pcap_do_addexit(pcap_t *);
418 void pcap_add_to_pcaps_to_close(pcap_t *);
419 void pcap_remove_from_pcaps_to_close(pcap_t *);
420 void pcap_cleanup_live_common(pcap_t *);
421 int pcap_check_activated(pcap_t *);
479 pcap_t *pcap_open_offline_common(char *ebuf, size_t size);
480 void sf_cleanup(pcap_t *p);
495 int install_bpf_program(pcap_t *, struct bpf_program *);