/external/libpcap/ |
D | pcap.h | 74 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 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 …]
|
D | pcap1.h | 71 typedef struct pcap pcap_t; typedef 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 …]
|
D | 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 …]
|
D | pcap.c | 74 pcap_dispatch(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_dispatch() 84 pcap_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read() 91 pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_loop() 135 pcap_next(pcap_t *p, struct pcap_pkthdr *h) in pcap_next() 161 pcap_next_ex(pcap_t *p, struct pcap_pkthdr **pkt_header, in pcap_next_ex() 213 pcap_breakloop(pcap_t *p) in pcap_breakloop() 219 pcap_datalink(pcap_t *p) in pcap_datalink() 225 pcap_list_datalinks(pcap_t *p, int **dlt_buffer) in pcap_list_datalinks() 256 pcap_set_datalink(pcap_t *p, int dlt) in pcap_set_datalink() 517 pcap_snapshot(pcap_t *p) in pcap_snapshot() [all …]
|
D | 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) { in septel_platform_close() 73 static int septel_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) { in septel_read() 194 septel_inject(pcap_t *handle, const void *buf _U_, size_t size _U_) in septel_inject() 209 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf) { in septel_open_live() 210 pcap_t *handle; in septel_open_live() 252 static int septel_stats(pcap_t *p, struct pcap_stat *ps) { in septel_stats() 280 static int septel_setfilter(pcap_t *p, struct bpf_program *fp) { in septel_setfilter() [all …]
|
D | 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 *); 92 pcap_stats_win32(pcap_t *p, struct pcap_stat *ps) in pcap_stats_win32() 104 pcap_read_win32_npf(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read_win32_npf() 189 pcap_read_win32_dag(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read_win32_dag() 350 pcap_inject_win32(pcap_t *p, const void *buf, size_t size){ in pcap_inject_win32() 379 pcap_close_win32(pcap_t *p) in pcap_close_win32() 392 pcap_t * [all …]
|
D | 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 …]
|
D | 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) in delete_pcap_dag() 127 dag_platform_close(pcap_t *p) in dag_platform_close() 161 new_pcap_dag(pcap_t *p) in new_pcap_dag() 189 dag_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in dag_read() [all …]
|
D | savefile.c | 885 sf_getnonblock(pcap_t *p, char *errbuf) in sf_getnonblock() 895 sf_setnonblock(pcap_t *p, int nonblock, char *errbuf) in sf_setnonblock() 905 sf_stats(pcap_t *p, struct pcap_stat *ps) in sf_stats() 913 sf_inject(pcap_t *p, const void *buf _U_, size_t size _U_) in sf_inject() 925 sf_setdirection(pcap_t *p, pcap_direction_t d) in sf_setdirection() 933 sf_close(pcap_t *p) in sf_close() 941 pcap_t * 945 pcap_t *p; in pcap_open_offline() 978 pcap_t * 981 register pcap_t *p; in pcap_fopen_offline() [all …]
|
D | pcap-nit.c | 75 pcap_stats_nit(pcap_t *p, struct pcap_stat *ps) in pcap_stats_nit() 99 pcap_read_nit(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read_nit() 196 pcap_inject_nit(pcap_t *p, const void *buf, size_t size) in pcap_inject_nit() 242 pcap_close_nit(pcap_t *p) in pcap_close_nit() 249 pcap_t * 255 register pcap_t *p; in pcap_open_live() 257 p = (pcap_t *)malloc(sizeof(*p)); in pcap_open_live()
|
D | 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) in pcap_stats_bpf() 141 pcap_read_bpf(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read_bpf() 321 pcap_inject_bpf(pcap_t *p, const void *buf, size_t size) in pcap_inject_bpf() 523 bpf_open(pcap_t *p, char *errbuf) in bpf_open() 592 pcap_t * 606 pcap_t *p; in pcap_open_live() 621 p = (pcap_t *)malloc(sizeof(*p)); in pcap_open_live() [all …]
|
D | 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) in pcap_read_pf() 228 pcap_inject_pf(pcap_t *p, const void *buf, size_t size) in pcap_inject_pf() 242 pcap_stats_pf(pcap_t *p, struct pcap_stat *ps) in pcap_stats_pf() 295 pcap_t * 299 pcap_t *p; in pcap_open_live() 305 p = (pcap_t *)malloc(sizeof(*p)); in pcap_open_live() 527 pcap_setfilter_pf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_pf()
|
D | pcap-snoop.c | 62 pcap_read_snoop(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read_snoop() 139 pcap_inject_snoop(pcap_t *p, const void *buf, size_t size) in pcap_inject_snoop() 157 pcap_stats_snoop(pcap_t *p, struct pcap_stat *ps) in pcap_stats_snoop() 197 pcap_t * 207 pcap_t *p; in pcap_open_live() 210 p = (pcap_t *)malloc(sizeof(*p)); in pcap_open_live()
|
D | 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, in pcap_open_live() 205 pcap_read_one (pcap_t *p, pcap_handler callback, u_char *data) in pcap_read_one() 317 pcap_read_dos (pcap_t *p, int cnt, pcap_handler callback, u_char *data) in pcap_read_dos() 338 static int pcap_stats_dos (pcap_t *p, struct pcap_stat *ps) in pcap_stats_dos() 371 int pcap_stats_ex (pcap_t *p, struct pcap_stat_ex *se) in pcap_stats_ex() [all …]
|
D | pcap-snit.c | 88 pcap_stats_snit(pcap_t *p, struct pcap_stat *ps) in pcap_stats_snit() 113 pcap_read_snit(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read_snit() 208 pcap_inject_snit(pcap_t *p, const void *buf, size_t size) in pcap_inject_snit() 264 pcap_t * 273 register pcap_t *p; in pcap_open_live() 275 p = (pcap_t *)malloc(sizeof(*p)); in pcap_open_live()
|
D | pcap-septel.h | 14 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
|
D | pcap-dag.h | 13 pcap_t *dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
|
D | pcap-null.c | 42 pcap_t *
|
D | pcap-dlpi.c | 200 pcap_stats_dlpi(pcap_t *p, struct pcap_stat *ps) in pcap_stats_dlpi() 244 pcap_read_dlpi(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read_dlpi() 376 pcap_inject_dlpi(pcap_t *p, const void *buf, size_t size) in pcap_inject_dlpi() 452 pcap_close_dlpi(pcap_t *p) in pcap_close_dlpi() 459 pcap_t * 464 register pcap_t *p; in pcap_open_live() 483 p = (pcap_t *)malloc(sizeof(*p)); in pcap_open_live()
|
/external/ppp/pppd/include/ |
D | 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/tcpdump/ |
D | pcap-missing.h | 32 extern int pcap_list_datalinks(pcap_t *, int **);
|
D | 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) in show_dlts_and_exit()
|
/external/tcpdump/missing/ |
D | datalinks.c | 55 pcap_list_datalinks(pcap_t *p, int **dlt_buffer) in pcap_list_datalinks()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_pcap.c | 27 pcap_t *pcap; 120 pcap_t *pcap = sock_ctx; in l2_packet_receive() 177 pcap_t *pcap = timeout_ctx; in l2_packet_receive_timeout()
|
D | l2_packet_freebsd.c | 37 pcap_t *pcap; 78 pcap_t *pcap = sock_ctx; in l2_packet_receive()
|