Home
last modified time | relevance | path

Searched refs:pcap (Results 1 – 25 of 61) sorted by relevance

123

/external/libpcap/
DFILES73 packaging/pcap.spec
74 packaging/pcap.spec.in
75 pcap-bpf.c
76 pcap-bpf.h
77 pcap-dag.c
78 pcap-dag.h
79 pcap-dlpi.c
80 pcap-dos.c
81 pcap-dos.h
82 pcap-enet.c
[all …]
DMakefile.in76 PSRC = pcap-@V_PCAP@.c
79 CSRC = pcap.c inet.c gencode.c optimize.c nametoaddr.c \
89 HDR = pcap.h pcap-int.h pcap-namedb.h pcap-nit.h pcap-pf.h \
95 pcap-bpf.h
134 pcap.o: version.h
182 $(INSTALL_DATA) $(srcdir)/pcap.h $(DESTDIR)$(includedir)/pcap.h
183 $(INSTALL_DATA) $(srcdir)/pcap-bpf.h \
184 $(DESTDIR)$(includedir)/pcap-bpf.h
185 $(INSTALL_DATA) $(srcdir)/pcap-namedb.h \
186 $(DESTDIR)$(includedir)/pcap-namedb.h
[all …]
Dpcap-dos.c111 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf);
114 static void watt32_recv_hook (u_char *dummy, const struct pcap_pkthdr *pcap,
152 struct pcap *pcap; in pcap_open_live() local
160 pcap = calloc (sizeof(*pcap), 1); in pcap_open_live()
161 if (!pcap) in pcap_open_live()
167 pcap->snapshot = max (ETH_MIN+8, snaplen); in pcap_open_live()
168 pcap->linktype = DLT_EN10MB; /* !! */ in pcap_open_live()
169 pcap->inter_packet_wait = timeout_ms; in pcap_open_live()
170 pcap->close_op = pcap_close_dos; in pcap_open_live()
171 pcap->read_op = pcap_read_dos; in pcap_open_live()
[all …]
DINSTALL.txt27 ./configure --with-pcap=snit
351 pcap-bpf.c - BSD Packet Filter support
352 pcap-bpf.h - BPF definitions
353 pcap-dag.c - Endace DAG device capture support
354 pcap-dag.h - Endace DAG device capture support
355 pcap-dlpi.c - Data Link Provider Interface support
356 pcap-dos.c - MS-DOS capture support
357 pcap-dos.h - headers for MS-DOS capture support
358 pcap-enet.c - enet support
359 pcap-int.h - internal libpcap definitions
[all …]
DAndroid.mk15 pcap.c\
16 pcap-linux.c\
DREADME.linux74 Statistics reported by pcap are platform specific. The statistics
79 ps_recv Number of packets that were accepted by the pcap filter
84 ps_rec Number of packets that were accepted by the pcap filter
86 passed on to pcap due to things like buffer shortage, etc.
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_pcap.c27 pcap_t *pcap; member
88 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
104 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
120 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
127 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
177 pcap_t *pcap = timeout_ctx; in l2_packet_receive_timeout() local
190 l2, pcap); in l2_packet_receive_timeout()
191 pcap_dispatch(pcap, 10, l2_packet_receive_cb, (u_char *) l2); in l2_packet_receive_timeout()
207 l2->pcap = pcap_open_live(ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
208 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
[all …]
Dl2_packet_freebsd.c37 pcap_t *pcap; member
67 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); in l2_packet_send()
71 return pcap_inject(l2->pcap, buf, len); in l2_packet_send()
78 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
85 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
110 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
111 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
116 if (pcap_datalink(l2->pcap) != DLT_EN10MB && in l2_packet_init_libpcap()
117 pcap_set_datalink(l2->pcap, DLT_EN10MB) < 0) { in l2_packet_init_libpcap()
119 pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
[all …]
Dl2_packet_winpcap.c48 pcap_t *pcap; member
82 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
133 pcap_dispatch(l2->pcap, 1, l2_packet_receive_cb, in l2_packet_receive_thread()
169 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err); in l2_packet_init_libpcap()
170 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
182 if (pcap_compile(l2->pcap, &pcap_fp, pcap_filter, 1, pcap_netp) < 0) { in l2_packet_init_libpcap()
183 fprintf(stderr, "pcap_compile: %s\n", pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
187 if (pcap_setfilter(l2->pcap, &pcap_fp) < 0) { in l2_packet_init_libpcap()
188 fprintf(stderr, "pcap_setfilter: %s\n", pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
[all …]
/external/libpcap/packaging/
Dpcap.spec.in49 #install -m 644 -o root pcap.3 $RPM_BUILD_ROOT/usr/man/man3
50 #install -m 644 -o root pcap.h $RPM_BUILD_ROOT/usr/include
51 #install -m 644 -o root pcap-bpf.h $RPM_BUILD_ROOT/usr/include/net
52 #install -m 644 -o root pcap-namedb.h $RPM_BUILD_ROOT/usr/include
59 %doc LICENSE CHANGES INSTALL.txt README.linux TODO VERSION CREDITS packaging/pcap.spec
62 /usr/include/pcap.h
63 /usr/include/pcap-bpf.h
64 /usr/include/pcap-namedb.h
Dpcap.spec59 %doc LICENSE CHANGES INSTALL.txt README.linux TODO VERSION CREDITS packaging/pcap.spec
62 /usr/include/pcap.h
63 /usr/include/pcap-bpf.h
64 /usr/include/pcap-namedb.h
/external/wpa_supplicant_8/wpa_supplicant/utils/
Dlog2pcap.py29 pcap = sys.argv[2] variable
35 pcap_file = open(pcap, 'w')
/external/tcpdump/tests/
Deapon1.gdbinit1 set args -r eapon1.pcap
Dbgp_vpn_attrset.sh4 if (../tcpdump -t -n -v -r bgp_vpn_attrset.pcap | diff -w - bgp_vpn_attrset.out)
Desp4.gdbinit1 set args -t -n -E "file esp-secrets.txt" -r 08-sunrise-sunset-esp2.pcap
Desp3.gdbinit1 …3des-cbc-hmac96:0x43434545464649494a4a4c4c4f4f51515252545457575840" -r 08-sunrise-sunset-esp2.pcap
Desp5.gdbinit1 set args -t -n -E "file esp-secrets.txt" -r 08-sunrise-sunset-aes.pcap
Desp1.gdbinit1 … 3des-cbc-hmac96:0x4043434545464649494a4a4c4c4f4f515152525454575758" -r 02-sunrise-sunset-esp.pcap
Deapon1.sh6 ../tcpdump -t -N -r eapon1.pcap > eapon1.new
Disakmp1.sh6 if (../tcpdump -t -n -r isakmp-delete-segfault.pcap | diff - isakmp1.out)
Despudp1.sh6 ../tcpdump -t -n -E "file esp-secrets.txt" -r espudp1.pcap >espudp1.new
Disakmp2.sh6 if (../tcpdump -t -n -r isakmp-pointer-loop.pcap | diff - isakmp2.out)
Desp0.sh5 if (../tcpdump -t -n -r 02-sunrise-sunset-esp.pcap | diff - esp0.out)
Disakmp4.sh6 ../tcpdump -t -n -E "file esp-secrets.txt" -r isakmp4500.pcap >isakmp4.new
Dlmp.sh6 ../tcpdump -t -n -v -r lmp.pcap >lmp.new

123