Lines Matching refs:pcap_t
71 typedef struct pcap pcap_t; typedef
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 void pcap_close(pcap_t *);
225 int pcap_loop(pcap_t *, int, pcap_handler, u_char *);
226 int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *);
228 pcap_next(pcap_t *, struct pcap_pkthdr *);
229 int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **);
230 void pcap_breakloop(pcap_t *);
231 int pcap_stats(pcap_t *, struct pcap_stat *);
232 int pcap_setfilter(pcap_t *, struct bpf_program *);
233 int pcap_getnonblock(pcap_t *, char *);
234 int pcap_setnonblock(pcap_t *, int, char *);
235 void pcap_perror(pcap_t *, char *);
237 char *pcap_geterr(pcap_t *);
238 int pcap_compile(pcap_t *, struct bpf_program *, char *, int,
243 int pcap_datalink(pcap_t *);
244 int pcap_list_datalinks(pcap_t *, int **);
245 int pcap_set_datalink(pcap_t *, int);
249 int pcap_snapshot(pcap_t *);
250 int pcap_is_swapped(pcap_t *);
251 int pcap_major_version(pcap_t *);
252 int pcap_minor_version(pcap_t *);
255 FILE *pcap_file(pcap_t *);
256 int pcap_fileno(pcap_t *);
258 pcap_dumper_t *pcap_dump_open(pcap_t *, const char *);
280 int pcap_setbuff(pcap_t *p, int dim);
281 int pcap_setmode(pcap_t *p, int mode);
282 int pcap_sendpacket(pcap_t *p, u_char *buf, int size);
283 int pcap_setmintocopy(pcap_t *p, int size);
298 int pcap_get_selectable_fd(pcap_t *);