HomeSort by relevance Sort by last modified time
    Searched refs:pcap_t (Results 1 - 25 of 30) sorted by null

1 2

  /external/libpcap/
pcap-septel.h 14 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
pcap.h 74 typedef struct pcap pcap_t; typedef in typeref:struct:pcap
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 **)
    [all...]
pcap1.h 71 typedef struct pcap pcap_t; typedef in typeref:struct:pcap
217 pcap_t *pcap_open_live(const char *, int, int, int, char *);
218 pcap_t *pcap_open_dead(int, int);
219 pcap_t *pcap_open_offline(const char *, char *);
220 void pcap_close(pcap_t *);
221 int pcap_loop(pcap_t *, int, pcap_handler, u_char *);
222 int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *);
224 pcap_next(pcap_t *, struct pcap_pkthdr *);
225 int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **);
226 void pcap_breakloop(pcap_t *);
    [all...]
pcap-dag.h 13 pcap_t *dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
pcap-int.h 187 int (*read_op)(pcap_t *, int cnt, pcap_handler, u_char *);
188 int (*inject_op)(pcap_t *, const void *, size_t);
189 int (*setfilter_op)(pcap_t *, struct bpf_program *);
190 int (*setdirection_op)(pcap_t *, pcap_direction_t);
191 int (*set_datalink_op)(pcap_t *, int);
192 int (*getnonblock_op)(pcap_t *, char *);
193 int (*setnonblock_op)(pcap_t *, int, char *);
194 int (*stats_op)(pcap_t *, struct pcap_stat *);
195 void (*close_op)(pcap_t *);
282 int pcap_offline_read(pcap_t *, int, pcap_handler, u_char *)
    [all...]
pcap-septel.c 58 static int septel_setfilter(pcap_t *p, struct bpf_program *fp);
59 static int septel_stats(pcap_t *p, struct pcap_stat *ps);
60 static int septel_setnonblock(pcap_t *p, int nonblock, char *errbuf);
62 static void septel_platform_close(pcap_t *p) {
73 static int septel_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) {
194 septel_inject(pcap_t *handle, const void *buf _U_, size_t size _U_)
209 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf) {
210 pcap_t *handle;
252 static int septel_stats(pcap_t *p, struct pcap_stat *ps) {
280 static int septel_setfilter(pcap_t *p, struct bpf_program *fp)
    [all...]
pcap-null.c 42 pcap_t *
pcap.c 74 pcap_dispatch(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
84 pcap_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
91 pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
135 pcap_next(pcap_t *p, struct pcap_pkthdr *h)
161 pcap_next_ex(pcap_t *p, struct pcap_pkthdr **pkt_header,
213 pcap_breakloop(pcap_t *p)
219 pcap_datalink(pcap_t *p)
225 pcap_list_datalinks(pcap_t *p, int **dlt_buffer)
256 pcap_set_datalink(pcap_t *p, int dlt)
517 pcap_snapshot(pcap_t *p
    [all...]
pcap-win32.c 51 static int pcap_setfilter_win32_npf(pcap_t *, struct bpf_program *);
52 static int pcap_setfilter_win32_dag(pcap_t *, struct bpf_program *);
53 static int pcap_getnonblock_win32(pcap_t *, char *);
54 static int pcap_setnonblock_win32(pcap_t *, int, char *);
56 #define PcapBufSize 256000 /*dimension of the buffer in the pcap_t structure*/
92 pcap_stats_win32(pcap_t *p, struct pcap_stat *ps)
104 pcap_read_win32_npf(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
189 pcap_read_win32_dag(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
350 pcap_inject_win32(pcap_t *p, const void *buf, size_t size){
379 pcap_close_win32(pcap_t *p
    [all...]
pcap-linux.c 190 static void map_arphrd_to_dlt(pcap_t *, int, int);
191 static int live_open_old(pcap_t *, const char *, int, int, char *);
192 static int live_open_new(pcap_t *, const char *, int, int, char *);
193 static int pcap_read_linux(pcap_t *, int, pcap_handler, u_char *);
194 static int pcap_read_packet(pcap_t *, pcap_handler, u_char *);
195 static int pcap_inject_linux(pcap_t *, const void *, size_t);
196 static int pcap_stats_linux(pcap_t *, struct pcap_stat *);
197 static int pcap_setfilter_linux(pcap_t *, struct bpf_program *);
198 static int pcap_setdirection_linux(pcap_t *, pcap_direction_t);
199 static void pcap_close_linux(pcap_t *);
    [all...]
pcap-nit.c 75 pcap_stats_nit(pcap_t *p, struct pcap_stat *ps)
99 pcap_read_nit(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
196 pcap_inject_nit(pcap_t *p, const void *buf, size_t size)
242 pcap_close_nit(pcap_t *p)
249 pcap_t *
255 register pcap_t *p;
257 p = (pcap_t *)malloc(sizeof(*p));
savefile.c 885 sf_getnonblock(pcap_t *p, char *errbuf)
895 sf_setnonblock(pcap_t *p, int nonblock, char *errbuf)
905 sf_stats(pcap_t *p, struct pcap_stat *ps)
913 sf_inject(pcap_t *p, const void *buf _U_, size_t size _U_)
925 sf_setdirection(pcap_t *p, pcap_direction_t d)
933 sf_close(pcap_t *p)
941 pcap_t *
945 pcap_t *p;
978 pcap_t *
981 register pcap_t *p
    [all...]
pcap-bpf.c 107 static int pcap_setfilter_bpf(pcap_t *p, struct bpf_program *fp);
108 static int pcap_setdirection_bpf(pcap_t *, pcap_direction_t);
109 static int pcap_set_datalink_bpf(pcap_t *p, int dlt);
112 pcap_stats_bpf(pcap_t *p, struct pcap_stat *ps)
141 pcap_read_bpf(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
321 pcap_inject_bpf(pcap_t *p, const void *buf, size_t size)
523 bpf_open(pcap_t *p, char *errbuf)
592 pcap_t *
606 pcap_t *p;
621 p = (pcap_t *)malloc(sizeof(*p))
    [all...]
pcap-snit.c 88 pcap_stats_snit(pcap_t *p, struct pcap_stat *ps)
113 pcap_read_snit(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
208 pcap_inject_snit(pcap_t *p, const void *buf, size_t size)
264 pcap_t *
273 register pcap_t *p;
275 p = (pcap_t *)malloc(sizeof(*p));
pcap-snoop.c 62 pcap_read_snoop(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
139 pcap_inject_snoop(pcap_t *p, const void *buf, size_t size)
157 pcap_stats_snoop(pcap_t *p, struct pcap_stat *ps)
197 pcap_t *
207 pcap_t *p;
210 p = (pcap_t *)malloc(sizeof(*p));
pcap-dag.c 73 pcap_t *p;
97 static int dag_setfilter(pcap_t *p, struct bpf_program *fp);
98 static int dag_stats(pcap_t *p, struct pcap_stat *ps);
99 static int dag_set_datalink(pcap_t *p, int dlt);
100 static int dag_get_datalink(pcap_t *p);
101 static int dag_setnonblock(pcap_t *p, int nonblock, char *errbuf);
104 delete_pcap_dag(pcap_t *p)
123 * in the pcap_t structure, and closes the file descriptor for the DAG card.
127 dag_platform_close(pcap_t *p)
161 new_pcap_dag(pcap_t *p
    [all...]
pcap-pf.c 77 static int pcap_setfilter_pf(pcap_t *, struct bpf_program *);
88 pcap_read_pf(pcap_t *pc, int cnt, pcap_handler callback, u_char *user)
228 pcap_inject_pf(pcap_t *p, const void *buf, size_t size)
242 pcap_stats_pf(pcap_t *p, struct pcap_stat *ps)
295 pcap_t *
299 pcap_t *p;
305 p = (pcap_t *)malloc(sizeof(*p));
527 pcap_setfilter_pf(pcap_t *p, struct bpf_program *fp)
pcap-dos.c 100 static int pcap_read_dos (pcap_t *p, int cnt, pcap_handler callback,
102 static void pcap_close_dos (pcap_t *p);
103 static int pcap_stats_dos (pcap_t *p, struct pcap_stat *ps);
104 static int pcap_sendpacket_dos (pcap_t *p, const void *buf, size_t len);
105 static int pcap_setfilter_dos (pcap_t *p, struct bpf_program *fp);
149 pcap_t *pcap_open_live (const char *device_name, int snaplen, int promisc,
205 pcap_read_one (pcap_t *p, pcap_handler callback, u_char *data)
317 pcap_read_dos (pcap_t *p, int cnt, pcap_handler callback, u_char *data)
338 static int pcap_stats_dos (pcap_t *p, struct pcap_stat *ps)
371 int pcap_stats_ex (pcap_t *p, struct pcap_stat_ex *se
    [all...]
pcap-dlpi.c 200 pcap_stats_dlpi(pcap_t *p, struct pcap_stat *ps)
244 pcap_read_dlpi(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
376 pcap_inject_dlpi(pcap_t *p, const void *buf, size_t size)
452 pcap_close_dlpi(pcap_t *p)
459 pcap_t *
464 register pcap_t *p;
483 p = (pcap_t *)malloc(sizeof(*p));
    [all...]
  /external/tcpdump/
pcap-missing.h 32 extern int pcap_list_datalinks(pcap_t *, int **);
tcpdump.c 106 static void show_dlts_and_exit(pcap_t *pd) __attribute__((noreturn));
287 static pcap_t *pd;
299 pcap_t *pd;
304 show_dlts_and_exit(pcap_t *pd)
    [all...]
  /external/tcpdump/missing/
datalinks.c 55 pcap_list_datalinks(pcap_t *p, int **dlt_buffer)
  /external/ppp/pppd/include/
pcap-int.h 107 int pcap_offline_read(pcap_t *, int, pcap_handler, u_char *);
108 int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *);
  /external/wpa_supplicant_8/src/l2_packet/
l2_packet_pcap.c 27 pcap_t *pcap;
120 pcap_t *pcap = sock_ctx;
177 pcap_t *pcap = timeout_ctx;
l2_packet_freebsd.c 37 pcap_t *pcap;
78 pcap_t *pcap = sock_ctx;

Completed in 285 milliseconds

1 2