HomeSort by relevance Sort by last modified time
    Searched refs:pcap_t (Results 26 - 50 of 62) sorted by null

12 3

  /external/libpcap/
pcap-dag.h 11 pcap_t *dag_create(const char *, char *, int *);
pcap-libdlpi.c 47 static int dlpromiscon(pcap_t *, bpf_u_int32);
48 static int pcap_read_libdlpi(pcap_t *, int, pcap_handler, u_char *);
49 static int pcap_inject_libdlpi(pcap_t *, const void *, size_t);
51 static void pcap_cleanup_libdlpi(pcap_t *);
96 pcap_activate_libdlpi(pcap_t *p)
248 dlpromiscon(pcap_t *p, bpf_u_int32 level)
314 pcap_read_libdlpi(pcap_t *p, int count, pcap_handler callback, u_char *user)
366 pcap_inject_libdlpi(pcap_t *p, const void *buf, size_t size)
389 pcap_cleanup_libdlpi(pcap_t *p)
411 pcap_t *
    [all...]
pcap-win32.c 55 static int pcap_setfilter_win32_npf(pcap_t *, struct bpf_program *);
56 static int pcap_setfilter_win32_dag(pcap_t *, struct bpf_program *);
57 static int pcap_getnonblock_win32(pcap_t *, char *);
58 static int pcap_setnonblock_win32(pcap_t *, int, char *);
60 /*dimension of the buffer in the pcap_t structure*/
139 pcap_stats_win32(pcap_t *p, struct pcap_stat *ps)
152 pcap_setbuff_win32(pcap_t *p, int dim)
164 pcap_setmode_win32(pcap_t *p, int mode)
177 pcap_setmintocopy_win32(pcap_t *p, int size)
187 /*return the Adapter for a pcap_t*/
    [all...]
pcap-bt-monitor-linux.c 67 bt_monitor_read(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_char *user)
130 bt_monitor_inject(pcap_t *handle, const void *buf _U_, size_t size _U_)
137 bt_monitor_setdirection(pcap_t *p, pcap_direction_t d)
144 bt_monitor_stats(pcap_t *handle _U_, struct pcap_stat *stats)
154 bt_monitor_activate(pcap_t* handle)
219 pcap_t *
222 pcap_t *p;
pcap-dbus.c 54 dbus_read(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user)
106 dbus_write(pcap_t *handle, const void *buf, size_t size)
128 dbus_stats(pcap_t *handle, struct pcap_stat *stats)
139 dbus_cleanup(pcap_t *handle)
149 dbus_activate(pcap_t *handle)
248 pcap_t *
251 pcap_t *p;
pcap-nit.c 78 pcap_stats_nit(pcap_t *p, struct pcap_stat *ps)
103 pcap_read_nit(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
200 pcap_inject_nit(pcap_t *p, const void *buf, size_t size)
217 nit_setflags(pcap_t *p)
260 pcap_activate_nit(pcap_t *p)
350 pcap_t *
353 pcap_t *p;
pcap-netfilter-linux.c 84 static int nfqueue_send_verdict(const pcap_t *handle, u_int16_t group_id, u_int32_t id, u_int32_t verdict);
87 netfilter_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user)
215 netfilter_set_datalink(pcap_t *handle, int dlt)
222 netfilter_stats_linux(pcap_t *handle, struct pcap_stat *stats)
233 netfilter_inject_linux(pcap_t *handle, const void *buf, size_t size)
246 netfilter_send_config_msg(const pcap_t *handle, u_int16_t msg_type, int ack, u_int8_t family, u_int16_t res_id, const struct my_nfattr *mynfa)
327 nflog_send_config_msg(const pcap_t *handle, u_int8_t family, u_int16_t group_id, const struct my_nfattr *mynfa)
333 nflog_send_config_cmd(const pcap_t *handle, u_int16_t group_id, u_int8_t cmd, u_int8_t family)
348 nflog_send_config_mode(const pcap_t *handle, u_int16_t group_id, u_int8_t copy_mode, u_int32_t copy_range)
364 nfqueue_send_verdict(const pcap_t *handle, u_int16_t group_id, u_int32_t id, u_int32_t verdict
    [all...]
pcap-snf.c 40 snf_set_datalink(pcap_t *p, int dlt)
47 snf_pcap_stats(pcap_t *p, struct pcap_stat *ps)
65 snf_platform_cleanup(pcap_t *p)
82 snf_getnonblock(pcap_t *p, char *errbuf)
90 snf_setnonblock(pcap_t *p, int nonblock, char *errbuf)
130 snf_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
195 snf_setfilter(pcap_t *p, struct bpf_program *fp)
214 snf_inject(pcap_t *p, const void *buf _U_, size_t size _U_)
245 snf_activate(pcap_t* p)
422 pcap_t *
    [all...]
pcap-snit.c 90 pcap_stats_snit(pcap_t *p, struct pcap_stat *ps)
116 pcap_read_snit(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
211 pcap_inject_snit(pcap_t *p, const void *buf, size_t size)
234 nit_setflags(pcap_t *p)
283 pcap_activate_snit(pcap_t *p)
428 pcap_t *
431 pcap_t *p;
pcap-usb-linux.c 131 static int usb_activate(pcap_t *);
132 static int usb_stats_linux(pcap_t *, struct pcap_stat *);
133 static int usb_stats_linux_bin(pcap_t *, struct pcap_stat *);
134 static int usb_read_linux(pcap_t *, int , pcap_handler , u_char *);
135 static int usb_read_linux_bin(pcap_t *, int , pcap_handler , u_char *);
136 static int usb_read_linux_mmap(pcap_t *, int , pcap_handler , u_char *);
137 static int usb_inject_linux(pcap_t *, const void *, size_t);
138 static int usb_setdirection_linux(pcap_t *, pcap_direction_t);
139 static void usb_cleanup_linux_mmap(pcap_t *);
211 int usb_mmap(pcap_t* handle
    [all...]
pcap-linux.c 329 static void map_arphrd_to_dlt(pcap_t *, int, int, const char *, int);
333 static int pcap_activate_linux(pcap_t *);
334 static int activate_old(pcap_t *);
335 static int activate_new(pcap_t *);
336 static int activate_mmap(pcap_t *, int *);
337 static int pcap_can_set_rfmon_linux(pcap_t *);
338 static int pcap_read_linux(pcap_t *, int, pcap_handler, u_char *);
339 static int pcap_read_packet(pcap_t *, pcap_handler, u_char *);
340 static int pcap_inject_linux(pcap_t *, const void *, size_t);
341 static int pcap_stats_linux(pcap_t *, struct pcap_stat *)
    [all...]
dlpisubs.c 80 pcap_stats_dlpi(pcap_t *p, struct pcap_stat *ps)
121 pcap_process_pkts(pcap_t *p, pcap_handler callback, u_char *user,
209 pcap_process_mactype(pcap_t *p, u_int mactype)
272 pcap_conf_bufmod(pcap_t *p, int snaplen)
326 pcap_alloc_databuf(pcap_t *p)
pcap-dag.c 101 pcap_t *p;
115 static int dag_setfilter(pcap_t *p, struct bpf_program *fp);
116 static int dag_stats(pcap_t *p, struct pcap_stat *ps);
117 static int dag_set_datalink(pcap_t *p, int dlt);
118 static int dag_get_datalink(pcap_t *p);
119 static int dag_setnonblock(pcap_t *p, int nonblock, char *errbuf);
122 delete_pcap_dag(pcap_t *p)
141 * in the pcap_t structure, and closes the file descriptor for the DAG card.
145 dag_platform_cleanup(pcap_t *p)
185 new_pcap_dag(pcap_t *p
    [all...]
pcap-snoop.c 65 pcap_read_snoop(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
143 pcap_inject_snoop(pcap_t *p, const void *buf, size_t size)
161 pcap_stats_snoop(pcap_t *p, struct pcap_stat *ps)
203 pcap_activate_snoop(pcap_t *p)
401 pcap_t *
404 pcap_t *p;
pcap-dos.c 98 static int pcap_activate_dos (pcap_t *p);
99 static int pcap_read_dos (pcap_t *p, int cnt, pcap_handler callback,
101 static void pcap_cleanup_dos (pcap_t *p);
102 static int pcap_stats_dos (pcap_t *p, struct pcap_stat *ps);
103 static int pcap_sendpacket_dos (pcap_t *p, const void *buf, size_t len);
104 static int pcap_setfilter_dos (pcap_t *p, struct bpf_program *fp);
152 pcap_t *pcap_create_interface (const char *device, char *ebuf)
154 pcap_t *p;
168 static int pcap_activate_dos (pcap_t *pcap)
219 pcap_read_one (pcap_t *p, pcap_handler callback, u_char *data
    [all...]
pcap-pf.c 90 static int pcap_setfilter_pf(pcap_t *, struct bpf_program *);
101 pcap_read_pf(pcap_t *pc, int cnt, pcap_handler callback, u_char *user)
229 pcap_inject_pf(pcap_t *p, const void *buf, size_t size)
243 pcap_stats_pf(pcap_t *p, struct pcap_stat *ps)
298 pcap_activate_pf(pcap_t *p)
505 pcap_t *
508 pcap_t *p;
525 pcap_setfilter_pf(pcap_t *p, struct bpf_program *fp)
pcap-bpf.c 184 static int monitor_mode(pcap_t *, int);
188 static void remove_en(pcap_t *);
189 static void remove_802_11(pcap_t *);
225 static int pcap_can_set_rfmon_bpf(pcap_t *p);
226 static int pcap_activate_bpf(pcap_t *p);
227 static int pcap_setfilter_bpf(pcap_t *p, struct bpf_program *fp);
228 static int pcap_setdirection_bpf(pcap_t *, pcap_direction_t);
229 static int pcap_set_datalink_bpf(pcap_t *p, int dlt);
237 pcap_getnonblock_bpf(pcap_t *p, char *errbuf)
249 pcap_setnonblock_bpf(pcap_t *p, int nonblock, char *errbuf
    [all...]
sf-pcap-ng.c 226 static void pcap_ng_cleanup(pcap_t *p);
227 static int pcap_ng_next_packet(pcap_t *p, struct pcap_pkthdr *hdr,
256 read_block(FILE *fp, pcap_t *p, struct block_cursor *cursor, char *errbuf)
357 get_opthdr_from_block_data(pcap_t *p, struct block_cursor *cursor, char *errbuf)
403 process_idb_options(pcap_t *p, struct block_cursor *cursor, u_int *tsresol,
521 add_interface(pcap_t *p, struct block_cursor *cursor, char *errbuf)
644 pcap_t *
653 pcap_t *p;
751 * Allocate a pcap_t for it.
931 pcap_ng_cleanup(pcap_t *p
    [all...]
sf-pcap.c 123 static int pcap_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char **datap);
150 pcap_t *
156 pcap_t *p;
222 * Allocate a pcap_t for it.
397 pcap_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char **data)
569 sf_write_header(pcap_t *p, FILE *fp, int linktype, int thiszone, int snaplen)
608 pcap_setup_dump(pcap_t *p, int linktype, FILE *f, const char *fname)
638 pcap_dump_open(pcap_t *p, const char *fname)
644 * If this pcap_t hasn't been activated, it doesn't have a
649 "%s: not-yet-activated pcap_t passed to pcap_dump_open"
    [all...]
pcap-sita.c 353 static void pcap_cleanup_acn(pcap_t *handle) {
799 static int pcap_stats_acn(pcap_t *handle, struct pcap_stat *ps) {
862 static int pcap_inject_acn(pcap_t *p, const void *buf _U_, size_t size _U_) {
868 static int pcap_setfilter_acn(pcap_t *handle, struct bpf_program *bpf) {
894 static int pcap_setdirection_acn(pcap_t *handle, pcap_direction_t d) {
900 static int acn_read_n_bytes_with_timeout(pcap_t *handle, int count) {
937 static int pcap_read_acn(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user)
    [all...]
pcap-dlpi.c 141 static int dlpromiscon(pcap_t *, bpf_u_int32);
184 pcap_read_dlpi(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
241 pcap_inject_dlpi(pcap_t *p, const void *buf, size_t size)
320 pcap_cleanup_dlpi(pcap_t *p)
334 pcap_activate_dlpi(pcap_t *p)
945 dlpromiscon(pcap_t *p, bpf_u_int32 level)
    [all...]
  /external/libpcap/tests/
reactivatetest.c 41 pcap_t *pd;
56 error("pcap_activate() of opened pcap_t succeeded");
58 error("pcap_activate() of opened pcap_t failed with %s, not PCAP_ERROR_ACTIVATED",
61 error("pcap_activate() of opened pcap_t failed with %s, not PCAP_ERROR_ACTIVATED",
capturetest.c 50 static pcap_t *pd;
  /frameworks/base/services/tests/servicestests/jni/
apf_jni.cpp 42 ScopedPcap(pcap_t* pcap) : pcap_ptr(pcap) {}
47 pcap_t* get() const { return pcap_ptr; };
49 pcap_t* const pcap_ptr;
  /external/wpa_supplicant_8/src/l2_packet/
l2_packet_pcap.c 27 pcap_t *pcap;
121 pcap_t *pcap = sock_ctx;
178 pcap_t *pcap = timeout_ctx;

Completed in 1320 milliseconds

12 3