Home
last modified time | relevance | path

Searched refs:pcap (Results 1 – 25 of 66) 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.
Dpcap-int.h103 struct pcap *next; /* list of open promiscuous sock_packet pcaps */
138 struct pcap { struct
DCHANGES4 Change build process to put public libpcap headers into pcap subir
27 Put the public libpcap headers into a pcap subdirectory in both the
117 pcap gencode can generate code for 802.11, IEEE1394, and pflog.
183 to pcap code without opening a capture device or capture file.
262 - Determine Linux pcap buffer size at run time or else it might not be
395 - Add pcap-null.c which allows offline use of libpcap on systems that
404 - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
410 - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
460 - Determine pcap link type from dlpi media type. Resulted from report
465 - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
Dl2_packet_pcap.c33 pcap_t *pcap; member
94 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
110 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
126 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
133 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
183 pcap_t *pcap = timeout_ctx; in l2_packet_receive_timeout() local
196 l2, pcap); in l2_packet_receive_timeout()
197 pcap_dispatch(pcap, 10, l2_packet_receive_cb, (u_char *) l2); in l2_packet_receive_timeout()
213 l2->pcap = pcap_open_live(ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
214 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
[all …]
Dl2_packet_freebsd.c39 pcap_t *pcap; member
69 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); in l2_packet_send()
73 return pcap_inject(l2->pcap, buf, len); in l2_packet_send()
80 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
87 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
112 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
113 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
118 if (pcap_datalink(l2->pcap) != DLT_EN10MB && in l2_packet_init_libpcap()
119 pcap_set_datalink(l2->pcap, DLT_EN10MB) < 0) { in l2_packet_init_libpcap()
121 pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
[all …]
Dl2_packet_winpcap.c54 pcap_t *pcap; member
88 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
99 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
139 pcap_dispatch(l2->pcap, 1, l2_packet_receive_cb, in l2_packet_receive_thread()
175 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err); in l2_packet_init_libpcap()
176 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
188 if (pcap_compile(l2->pcap, &pcap_fp, pcap_filter, 1, pcap_netp) < 0) { in l2_packet_init_libpcap()
189 fprintf(stderr, "pcap_compile: %s\n", pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
193 if (pcap_setfilter(l2->pcap, &pcap_fp) < 0) { in l2_packet_init_libpcap()
194 fprintf(stderr, "pcap_setfilter: %s\n", pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
[all …]
/external/wpa_supplicant/
Dl2_packet_pcap.c33 pcap_t *pcap; member
94 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
110 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
126 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
133 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
183 pcap_t *pcap = timeout_ctx; in l2_packet_receive_timeout() local
196 l2, pcap); in l2_packet_receive_timeout()
197 pcap_dispatch(pcap, 10, l2_packet_receive_cb, (u_char *) l2); in l2_packet_receive_timeout()
213 l2->pcap = pcap_open_live(ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
214 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
[all …]
Dl2_packet_freebsd.c36 pcap_t *pcap; member
66 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); in l2_packet_send()
70 return pcap_inject(l2->pcap, buf, len); in l2_packet_send()
77 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
84 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
109 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
110 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
115 if (pcap_datalink(l2->pcap) != DLT_EN10MB && in l2_packet_init_libpcap()
116 pcap_set_datalink(l2->pcap, DLT_EN10MB) < 0) { in l2_packet_init_libpcap()
118 pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
[all …]
Dl2_packet_winpcap.c54 pcap_t *pcap; member
88 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
99 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
139 pcap_dispatch(l2->pcap, 1, l2_packet_receive_cb, in l2_packet_receive_thread()
175 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err); in l2_packet_init_libpcap()
176 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
188 if (pcap_compile(l2->pcap, &pcap_fp, pcap_filter, 1, pcap_netp) < 0) { in l2_packet_init_libpcap()
189 fprintf(stderr, "pcap_compile: %s\n", pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
193 if (pcap_setfilter(l2->pcap, &pcap_fp) < 0) { in l2_packet_init_libpcap()
194 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/tcpdump/
Daclocal.m4237 AC_MSG_CHECKING(for local pcap library)
257 AC_CHECK_LIB(pcap, main, libpcap="-lpcap")
262 dnl Good old Red Hat Linux puts "pcap.h" in
263 dnl "/usr/include/pcap"; had the LBL folks done so,
273 dnl see if it's in a "pcap" subdirectory of them and,
276 AC_MSG_CHECKING(for extraneous pcap header directories)
277 if test \( ! -r /usr/local/include/pcap.h \) -a \
278 \( ! -r /usr/include/pcap.h \); then
279 if test -r /usr/local/include/pcap/pcap.h; then
280 d="/usr/local/include/pcap"
[all …]
/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
Desp5.gdbinit1 set args -t -n -E "file esp-secrets.txt" -r 08-sunrise-sunset-aes.pcap
Desp3.gdbinit1 …3des-cbc-hmac96:0x43434545464649494a4a4c4c4f4f51515252545457575840" -r 08-sunrise-sunset-esp2.pcap
Desp1.gdbinit1 … 3des-cbc-hmac96:0x4043434545464649494a4a4c4c4f4f515152525454575758" -r 02-sunrise-sunset-esp.pcap
Despudp1.sh6 ../tcpdump -t -n -E "file esp-secrets.txt" -r espudp1.pcap >espudp1.new
Dlmp.sh6 ../tcpdump -t -n -v -r lmp.pcap >lmp.new

123