Home
last modified time | relevance | path

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

123

/external/libpcap/msdos/
Dmakefile25 etherent.c gencode.c nametoad.c pcap-dos.c optimize.c \
26 savefile.c pcap.c inet.c msdos\ndis2.c msdos\pktdrvr.c \
107 bpf_filt.obj: bpf_filt.c pcap-int.h pcap.h pcap-bpf.h gnuc.h
109 bpf_imag.obj: bpf_imag.c pcap-int.h pcap.h pcap-bpf.h
111 bpf_dump.obj: bpf_dump.c pcap.h pcap-bpf.h
113 etherent.obj: etherent.c pcap-int.h pcap.h pcap-bpf.h pcap-namedb.h
115 optimize.obj: optimize.c pcap-int.h pcap.h pcap-bpf.h gencode.h
117 savefile.obj: savefile.c pcap-int.h pcap.h pcap-bpf.h
119 pcap.obj: pcap.c pcap-dos.h pcap-int.h pcap.h pcap-bpf.h
121 inet.obj: inet.c pcap-int.h pcap.h pcap-bpf.h
[all …]
Dmakefile.wc17 LIB = $(OBJDIR)\pcap.lib
27 OBJS = $(OBJDIR)\grammar.obj $(OBJDIR)\scanner.obj $(OBJDIR)\pcap.obj &
30 $(OBJDIR)\pcap-dos.obj $(OBJDIR)\pktdrvr.obj $(OBJDIR)\optimize.obj &
39 all: $(OBJDIR) $(OBJDIR)\pcap.lib
44 $(OBJDIR)\pcap.lib: $(OBJS) wlib.arg
45 wlib -q -b -c $(OBJDIR)\pcap.lib @wlib.arg
52 pcap-dos.h pcap-int.h pcap.h msdos\pktdrvr.h
94 $(OBJDIR)\bpf_filt.obj: bpf_filt.c pcap-int.h pcap.h pcap-bpf.h gnuc.h
96 $(OBJDIR)\bpf_imag.obj: bpf_imag.c pcap-int.h pcap.h pcap-bpf.h
98 $(OBJDIR)\bpf_dump.obj: bpf_dump.c pcap.h pcap-bpf.h
[all …]
Dmakefile.dj24 etherent.c gencode.c nametoad.c pcap-dos.c optimize.c \
25 savefile.c pcap.c inet.c msdos\pktdrvr.c msdos/ndis2.c \
112 scanner.l: pcap-int.h pcap-namedb.h gencode.h grammar.h gnuc.h
113 grammar.y: pcap-int.h gencode.h pcap-namedb.h gnuc.h
119 grammar.o: grammar.c pcap-int.h pcap.h pcap-bpf.h gencode.h pf.h \
120 pcap-namedb.h
121 scanner.o: scanner.c pcap-int.h pcap.h pcap-bpf.h gencode.h pcap-namedb.h \
123 bpf_filt.o: bpf_filt.c pcap-int.h pcap.h pcap-bpf.h gnuc.h
124 bpf_imag.o: bpf_imag.c pcap-int.h pcap.h pcap-bpf.h
125 bpf_dump.o: bpf_dump.c pcap.h pcap-bpf.h
[all …]
/external/libpcap/
DMakefile.in87 PSRC = pcap-@V_PCAP@.c @USB_SRC@ @BT_SRC@ @BT_MONITOR_SRC@ @CAN_SRC@ @NETFILTER_SRC@ @CANUSB_SRC@ @…
90 CSRC = pcap.c inet.c gencode.c optimize.c nametoaddr.c etherent.c \
91 savefile.c sf-pcap.c sf-pcap-ng.c pcap-common.c \
102 pcap.h \
103 pcap-bpf.h \
104 pcap-namedb.h \
105 pcap/bpf.h \
106 pcap/bluetooth.h \
107 pcap/ipnet.h \
108 pcap/namedb.h \
[all …]
D.gitignore23 pcap-config
24 pcap-filter.manmisc
25 pcap-linktype.manmisc
26 pcap-savefile.manfile
27 pcap-tstamp.manmisc
28 pcap.3pcap
29 pcap_compile.3pcap
30 pcap_datalink.3pcap
31 pcap_dump_open.3pcap
32 pcap_get_tstamp_precision.3pcap
[all …]
DAndroid.mk10pcap-linux.c pcap-usb-linux.c pcap-can-linux.c pcap-netfilter-linux.c pcap-netfilter-linux-android…
12 pcap.c inet.c gencode.c optimize.c nametoaddr.c etherent.c \
13 savefile.c sf-pcap.c sf-pcap-ng.c pcap-common.c \
Dpcap-dos.c110 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf);
113 static void watt32_recv_hook (u_char *dummy, const struct pcap_pkthdr *pcap,
168 static int pcap_activate_dos (pcap_t *pcap) in pcap_activate_dos() argument
170 struct pcap_dos *pcapd = pcap->priv; in pcap_activate_dos()
172 if (pcap->opt.rfmon) { in pcap_activate_dos()
179 if (pcap->snapshot < ETH_MIN+8) in pcap_activate_dos()
180 pcap->snapshot = ETH_MIN+8; in pcap_activate_dos()
182 if (pcap->snapshot > ETH_MAX) /* silently accept and truncate large MTUs */ in pcap_activate_dos()
183 pcap->snapshot = ETH_MAX; in pcap_activate_dos()
185 pcap->linktype = DLT_EN10MB; /* !! */ in pcap_activate_dos()
[all …]
DINSTALL.txt25 ./configure --with-pcap=snit
321 dlpisubs.c - DLPI-related functions for pcap-dlpi.c and pcap-libdlpi.c
348 pcap/bluetooth.h - public definition of DLT_BLUETOOTH_HCI_H4_WITH_PHDR header
349 pcap/bpf.h - BPF definitions
350 pcap/namedb.h - public libpcap name database definitions
351 pcap/pcap.h - public libpcap definitions
352 pcap/sll.h - public definition of DLT_LINUX_SLL header
353 pcap/usb.h - public definition of DLT_USB header
354 pcap-bpf.c - BSD Packet Filter support
355 pcap-bpf.h - header for backwards compatibility
[all …]
DREADME.linux88 pcap-config script if they build with the shared library. (The build
89 procedure for applications whose configure scripts use the pcap-config
94 Statistics reported by pcap are platform specific. The statistics
99 ps_recv Number of packets that were accepted by the pcap filter
104 ps_recv Number of packets that were accepted by the pcap filter
106 passed on to pcap due to things like buffer shortage, etc.
Dconfigure.in18 AC_INIT(pcap.c)
101 dnl releases without that fix, so that pcap-bpf.c doesn't need to
308 AC_MSG_ERROR(pcap type not determined when cross-compiling; use --with-pcap=...)
310 AC_ARG_WITH(pcap, optwith
311 AC_HELP_STRING([--with-pcap=TYPE],[use packet capture TYPE]))
361 # Needed for common functions used by pcap-[dlpi,libdlpi].c
811 SSRC="pcap-dag.c"
921 SSRC="pcap-septel.c"
1043 SSRC="pcap-snf.c"
1379 USB_SRC=pcap-usb-linux.c
[all …]
DCHANGES36 Fix timestamps when reading pcap-ng files on big-endian
93 Fix pcap-config to include -lpthread if canusb support is
100 Fix typo that, it appeared, would cause pcap-libdlpi.c not to
110 Describe "proto XXX" and "protochain XXX" in the pcap-filter man
132 Include the pcap(3PCAP) additions as 1.2.1 changes.
133 many updates to documentation: pcap.3pcap.in
160 Fix filtering in pcap-ng files.
163 Expand pcap(3PCAP) man page.
186 pcap_datalink() when reading pcap-ng files
237 Add limited support for reading pcap-ng files
[all …]
/external/tcpdump/tests/
DTESTLIST12 print-x print-flags.pcap print-x.out -t -x
13 print-xx print-flags.pcap print-xx.out -t -xx
14 print-X print-flags.pcap print-capX.out -t -X
15 print-XX print-flags.pcap print-capXX.out -t -XX
16 print-A print-flags.pcap print-A.out -t -A
17 print-AA print-flags.pcap print-AA.out -t -AA
20 bgp_vpn_attrset bgp_vpn_attrset.pcap bgp_vpn_attrset.out -t -v
21 mpbgp-linklocal-nexthop mpbgp-linklocal-nexthop.pcap mpbgp-linklocal-nexthop.out -t -v
22 bgp_infloop-v bgp-infinite-loop.pcap bgp_infloop-v.out -t -v
25 eapon1 eapon1.pcap eapon1.out -t
[all …]
Dcrypto.sh7 …./TESTonce esp1 02-sunrise-sunset-esp.pcap esp1.out '-t -E "0x12345678@192.1.2.45 3des-cbc-hmac96:…
8 …./TESTonce esp2 08-sunrise-sunset-esp2.pcap esp2.out '-t -E "0x12345678@192.1.2.45 3des-cbc-hmac96…
9 …./TESTonce esp3 02-sunrise-sunset-esp.pcap esp1.out '-t -E "3des-cbc-hmac96:0x4043434545464649494a…
20 ./TESTonce esp4 08-sunrise-sunset-esp2.pcap esp2.out '-t -E "file esp-secrets.txt"'
21 ./TESTonce esp5 08-sunrise-sunset-aes.pcap esp5.out '-t -E "file esp-secrets.txt"'
22 ./TESTonce espudp1 espudp1.pcap espudp1.out '-nnnn -t -E "file esp-secrets.txt"'
23 ./TESTonce ikev2pI2 ikev2pI2.pcap ikev2pI2.out '-t -E "file ikev2pI2-secrets.txt" -v -v -v -v'
24 ./TESTonce isakmp4 isakmp4500.pcap isakmp4.out '-t -E "file esp-secrets.txt"'
Deapon1.gdbinit1 set args -r eapon1.pcap
Dnflog-e.sh7 ./TESTonce nflog-e nflog.pcap nflog-e.out '-t -e'
Dlmp-v.sh16 ./TESTonce lmp-v lmp.pcap lmp-v.out '-t -T lmp -v'
Desp4.gdbinit1 set args -t -n -E "file esp-secrets.txt" -r 08-sunrise-sunset-esp2.pcap
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_pcap.c27 pcap_t *pcap; member
89 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
105 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
121 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
128 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
178 pcap_t *pcap = timeout_ctx; in l2_packet_receive_timeout() local
191 l2, pcap); in l2_packet_receive_timeout()
192 pcap_dispatch(pcap, 10, l2_packet_receive_cb, (u_char *) l2); in l2_packet_receive_timeout()
208 l2->pcap = pcap_open_live(ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
209 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/opencv3/modules/videoio/src/
Dcap_dc1394.cpp240 CvCaptureCAM_DC1394 * pcap = (CvCaptureCAM_DC1394*)cvAlloc(sizeof(*pcap)); in icvCaptureFromCAM_DC1394() local
243 pcap->device_name = videodev[cameras[index].portnum]; in icvCaptureFromCAM_DC1394()
244 pcap->handle = handles[cameras[index].portnum]; in icvCaptureFromCAM_DC1394()
245 pcap->camera = &cameras[index].cam; in icvCaptureFromCAM_DC1394()
248 if (dc1394_query_supported_formats(pcap->handle, pcap->camera->node, &formats)<0) { in icvCaptureFromCAM_DC1394()
255 … if (dc1394_query_supported_modes(pcap->handle, pcap->camera->node, i+FORMAT_MIN, &modes[i])<0) { in icvCaptureFromCAM_DC1394()
261 pcap->format = 0; in icvCaptureFromCAM_DC1394()
262 pcap->mode = 0; in icvCaptureFromCAM_DC1394()
263 pcap->color_mode = 0; in icvCaptureFromCAM_DC1394()
264 pcap->frame_rate = 0; in icvCaptureFromCAM_DC1394()
[all …]
/external/libvncserver/libvncserver/tightvnc-filetransfer/
Drfbtightproto.h193 rfbCapabilityInfo *pcap; \
194 pcap = (cap_ptr); \
195 pcap->code = Swap32IfLE(code_sym); \
196 memcpy(pcap->vendorSignature, (vendor), \
198 memcpy(pcap->nameSignature, sig_##code_sym, \
/external/wpa_supplicant_8/wpa_supplicant/utils/
Dlog2pcap.py29 pcap = sys.argv[2] variable
35 pcap_file = open(pcap, 'w')
/external/tcpdump/
Daclocal.m4442 AC_MSG_CHECKING(for local pcap library)
444 [AS_HELP_STRING([--with-system-libpcap], [don't use local pcap library])])
470 # Look for pcap-config.
472 AC_PATH_TOOL(PCAP_CONFIG, pcap-config)
490 # Not found; look for pcap.
492 AC_CHECK_LIB(pcap, main, libpcap="-lpcap")
497 dnl Some versions of Red Hat Linux put "pcap.h" in
498 dnl "/usr/include/pcap"; had the LBL folks done so,
508 dnl see if it's in a "pcap" subdirectory of them and,
511 dnl (We now also put pcap.h in /usr/include/pcap, but we
[all …]
/external/webrtc/webrtc/modules/
Dmodules_unittests.isolate122 '<(DEPTH)/resources/video_coding/frame-ethernet-ii.pcap',
123 '<(DEPTH)/resources/video_coding/frame-loopback.pcap',
125 '<(DEPTH)/resources/video_coding/ssrcs-2.pcap',
126 '<(DEPTH)/resources/video_coding/ssrcs-3.pcap',

123