Home
last modified time | relevance | path

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

/arch/um/drivers/
Dpcap_user.c31 pri->pcap = p; in pcap_user_init()
41 if (pri->pcap == NULL) in pcap_user_open()
58 err = pcap_compile(pri->pcap, in pcap_user_open()
63 "'%s'\n", pcap_geterr(pri->pcap)); in pcap_user_open()
67 err = pcap_setfilter(pri->pcap, pri->compiled); in pcap_user_open()
70 "failed - '%s'\n", pcap_geterr(pri->pcap)); in pcap_user_open()
75 return PCAP_FD(pri->pcap); in pcap_user_open()
89 if (pri->pcap != NULL) in pcap_remove()
90 pcap_close(pri->pcap); in pcap_remove()
117 n = pcap_dispatch(pri->pcap, 1, handler, (u_char *) &hdata); in pcap_user_read()
[all …]
Dpcap_user.h14 void *pcap; member
DMakefile27 $(obj)/pcap.o: $(obj)/pcap_kern.o $(obj)/pcap_user.o
50 obj-$(CONFIG_UML_NET_PCAP) += pcap.o
DKconfig285 bool "pcap transport (obsolete)"
289 The pcap transport makes a pcap packet stream on the host look
292 installed in order to build the pcap transport into UML.
/arch/powerpc/platforms/powernv/
Dopal-powercap.c25 static struct pcap { struct
36 u32 pcap; in powercap_show() argument
49 ret = opal_get_powercap(pcap_attr->handle, token, (u32 *)__pa(&pcap)); in powercap_show()
60 ret = sprintf(buf, "%u\n", be32_to_cpu(pcap)); in powercap_show()
66 ret = sprintf(buf, "%u\n", be32_to_cpu(pcap)); in powercap_show()
88 u32 pcap; in powercap_store() local
91 ret = kstrtoint(buf, 0, &pcap); in powercap_store()
105 ret = opal_set_powercap(pcap_attr->handle, token, pcap); in powercap_store()
/arch/powerpc/include/asm/
Dopal.h293 int opal_get_powercap(u32 handle, int token, u32 *pcap);
294 int opal_set_powercap(u32 handle, int token, u32 pcap);
/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi158 zynqmp_pcap: pcap {
159 compatible = "xlnx,zynqmp-pcap-fpga";
/arch/arm/boot/dts/
Dzynq-7000.dtsi287 "dci", "lqspi", "smc", "pcap", "gem0", "gem1",