HomeSort by relevance Sort by last modified time
    Searched defs:pcap (Results 1 - 11 of 11) sorted by null

  /external/libpcap/testprogs/
pcap_compile_test.c 0 pcap = pcap_open_dead(link, snaplen);
4 if (pcap_compile(pcap, &p, prog, optimize, 0) < 0) {
5 fprintf(stderr, pcap_geterr(pcap));
10 pcap_close(pcap); variable
  /external/ltp/testcases/kernel/security/filecaps/
verify_caps_exec.c 213 cap_t fcap, pcap, cap_fullpi; local
218 pcap = cap_init();
219 if (!fcap || !pcap) {
284 cap_free(pcap);
319 pcap = cap_dup(cap_fullpi);
321 cap_set_flag(pcap, CAP_PERMITTED, 1, capvalue, CAP_SET);
331 ret = fork_drop_and_exec(KEEP_PERMS, pcap);
345 * fcap and pcap and set those bits.
349 cap_set_flag(pcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET);
374 cap_clear(pcap);
    [all...]
  /external/ppp/pppd/include/
pcap-int.h 33 * @(#) $Header: /data/cvs/ppp/include/pcap-int.h,v 1.1 2000/08/01 01:37:24 paulus Exp $ (LBL)
39 #include <pcap.h>
68 struct pcap { struct
106 /* XXX should these be in pcap.h? */
  /external/wpa_supplicant_8/src/l2_packet/
l2_packet_freebsd.c 14 #include <pcap.h>
37 pcap_t *pcap; member in struct:l2_packet_data
67 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth));
71 return pcap_inject(l2->pcap, buf, len);
78 pcap_t *pcap = sock_ctx; local
85 packet = pcap_next(pcap, &hdr);
110 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err);
111 if (l2->pcap == NULL) {
116 if (pcap_datalink(l2->pcap) != DLT_EN10MB &&
117 pcap_set_datalink(l2->pcap, DLT_EN10MB) < 0)
    [all...]
l2_packet_pcap.c 13 #include <pcap.h>
27 pcap_t *pcap; member in struct:l2_packet_data
89 ret = pcap_sendpacket(l2->pcap, buf, len);
105 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen);
121 pcap_t *pcap = sock_ctx; local
128 packet = pcap_next(pcap, &hdr);
178 pcap_t *pcap = timeout_ctx; local
191 l2, pcap);
192 pcap_dispatch(pcap, 10, l2_packet_receive_cb, (u_char *) l2);
208 l2->pcap = pcap_open_live(ifname, 2500, 0, 10, pcap_err)
    [all...]
l2_packet_winpcap.c 30 #include <pcap.h>
48 pcap_t *pcap; member in struct:l2_packet_data
82 ret = pcap_sendpacket(l2->pcap, buf, len);
93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen);
133 pcap_dispatch(l2->pcap, 1, l2_packet_receive_cb,
169 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err);
170 if (l2->pcap == NULL) {
182 if (pcap_compile(l2->pcap, &pcap_fp, pcap_filter, 1, pcap_netp) < 0) {
183 fprintf(stderr, "pcap_compile: %s\n", pcap_geterr(l2->pcap));
187 if (pcap_setfilter(l2->pcap, &pcap_fp) < 0)
    [all...]
  /external/libpcap/
pcap-dos.c 5 * pcap-dos.c: Interface to PKTDRVR, NDIS2 and 32-bit pmode
37 #include "pcap.h"
38 #include "pcap-dos.h"
39 #include "pcap-int.h"
110 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)
170 if (pcap->opt.rfmon) {
185 if (pcap->snapshot <= 0 || pcap->snapshot > MAXIMUM_SNAPLEN
236 struct pcap_pkthdr pcap; local
    [all...]
pcap-int.h 39 #include <pcap/pcap.h>
149 struct pcap { struct
185 struct pcap *next; /* list of open pcaps that need stuff cleared on close */
397 * Routines that most pcap implementations can use for non-blocking mode.
  /external/scapy/scapy/modules/
winpcapy.py 35 _lib_name = find_library("pcap")
48 pcap = c_void_p variable
222 #typedef struct pcap pcap_t
224 pcap_t = pcap
402 # Set the current data link type of the pcap descriptor to the type specified by dlt. -1 is returned on failure.
438 # return the major version number of the pcap library used to write the savefile.
444 # return the minor version number of the pcap library used to write the savefile.
462 # print the text of the last pcap library error on stderr, prefixed by prefix.
468 # return the error text pertaining to the last pcap library error.
  /external/u-boot/drivers/clk/
clk_zynqmp.c 125 csu_spb, csu_pll, pcap, enumerator in enum:zynqmp_clk
158 "csu_pll", "pcap", "iou_switch", "gem_tsu_ref",
  /external/u-boot/arch/powerpc/include/asm/
immap_85xx.h 2769 u32 pcap; \/* PMAN Capabilities Register *\/ member in struct:ccsr_pman
    [all...]

Completed in 1305 milliseconds