Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.c821 pcap_t *pcap; member
1011 pcap_t *pcap = ctx->pcap; in traffic_monitor_thread() local
1034 packet = pcap_next(pcap, &header); in traffic_monitor_thread()
1099 pcap_t *pcap; in traffic_monitor_prepare_pcap() local
1103 pcap = pcap_create("any", errbuf); in traffic_monitor_prepare_pcap()
1104 if (!pcap) { in traffic_monitor_prepare_pcap()
1109 r = pcap_set_snaplen(pcap, 1024); in traffic_monitor_prepare_pcap()
1111 log_err("Failed to set snaplen: %s", pcap_geterr(pcap)); in traffic_monitor_prepare_pcap()
1115 r = pcap_set_immediate_mode(pcap, 1); in traffic_monitor_prepare_pcap()
1117 log_err("Failed to set immediate mode: %s", pcap_geterr(pcap)); in traffic_monitor_prepare_pcap()
[all …]
/linux/tools/testing/selftests/net/rds/
H A Dtest.py352 pcap = logdir+'/rds-'+netn+'.pcap'
358 tcpdump_cmd.extend(['-i', 'any', '-w', pcap])
442 pcap = logdir+'/rds-roce-'+iface+'.pcap'
448 tcpdump_cmd.extend(['-i', iface, '-w', pcap])
123 pcap = logdir+'/'+net+'.pcap' global() variable
/linux/Documentation/devicetree/bindings/clock/
H A Dzynq-7000.txt53 12: pcap
98 "dci", "lqspi", "smc", "pcap", "gem0", "gem1",
/linux/tools/testing/selftests/net/mptcp/
H A DMakefile37 EXTRA_CLEAN := *.pcap
/linux/Documentation/networking/
H A Dfilter.rst397 for testing BPF filters against given pcap files, single stepping through the
398 BPF code on the pcap's packets and to do BPF machine register dumps.
423 * load pcap foo.pcap
425 Loads standard tcpdump pcap file.
430 Runs through all packets from a pcap to account how many passes and fails
467 will walk through the pcap file continuing from the current packet and
480 -- packet dump -- <-- Current packet from pcap (hex)
503 Selects a given packet from the pcap file to continue from. Thus, on
H A Dsnmp_counter.rst1655 nstatuser@nstat-a:~$ sudo tcpdump -c 1 -w /tmp/syn.pcap port 9000
1665 offload for the TCP checksum, so the checksum in the /tmp/syn.pcap
1668 nstatuser@nstat-a:~$ tcprewrite --infile=/tmp/syn.pcap --outfile=/tmp/syn_fixcsum.pcap --fixcsum
1682 nstatuser@nstat-a:~$ for i in {1..3}; do sudo tcpreplay -i ens3 /tmp/syn_fixcsum.pcap; done
1702 nstatuser@nstat-a:~$ sudo tcpdump -w /tmp/paws_pre.pcap -c 1 port 9000
1713 nstatuser@nstat-a:~$ tcprewrite --infile /tmp/paws_pre.pcap --outfile /tmp/paws.pcap --fixcsum
1717 nstatuser@nstat-a:~$ for i in {1..2}; do sudo tcpreplay -i ens3 /tmp/paws.pcap; done
1758 nstatuser@nstat-a:~$ sudo tcpdump -w /tmp/seq_pre.pcap -c 1 dst port 9001
1780 …nstatuser@nstat-a:~$ tcprewrite --infile /tmp/seq_pre.pcap --outfile /tmp/seq.pcap -r 9001:9000 -r…
1782 Now the /tmp/seq.pcap is the packet we need. Send it to nstat-b::
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-zynqmp-fpga1 What: /sys/bus/platform/drivers/zynqmp_fpga_manager/firmware:zynqmp-firmware:pcap/status
/linux/drivers/clk/zynq/
H A Dclkc.c54 lqspi, smc, pcap, gem0, gem1, fclk0, fclk1, fclk2, fclk3, can0, can1, enumerator
365 zynq_clk_register_periph_clk(pcap, clk_max, clk_output_name[pcap], NULL, in zynq_clk_setup()
/linux/drivers/hwmon/
H A Dibmaem.c167 u16 pcap[AEM2_NUM_PCAP_REGS]; member
463 &data->pcap[i], 2); in update_aem2_sensors()
978 return sprintf(buf, "%u\n", a->pcap[attr->index] * 100000); in aem2_show_pcap_value()
/linux/arch/powerpc/include/asm/
H A Dopal.h287 int opal_get_powercap(u32 handle, int token, u32 *pcap);
288 int opal_set_powercap(u32 handle, int token, u32 pcap);
/linux/tools/testing/nvdimm/test/
H A Dnfit.c2004 struct acpi_nfit_capabilities *pcap; in nfit_test0_setup() local
2545 pcap = nfit_buf + offset; in nfit_test0_setup()
2546 pcap->header.type = ACPI_NFIT_TYPE_CAPABILITIES; in nfit_test0_setup()
2547 pcap->header.length = sizeof(*pcap); in nfit_test0_setup()
2548 pcap->highest_capability = 1; in nfit_test0_setup()
2549 pcap->capabilities = ACPI_NFIT_CAPABILITY_MEM_FLUSH; in nfit_test0_setup()
2550 offset += pcap->header.length; in nfit_test0_setup()
/linux/drivers/scsi/csiostor/
H A Dcsio_hw.h325 uint16_t pcap; member
H A Dcsio_mb.c395 *pcaps = fwcaps16_to_caps32(ntohs(rsp->u.info.pcap)); in csio_mb_process_read_port_rsp()
/linux/arch/arm/boot/dts/xilinx/
H A Dzynq-7000.dtsi348 "dci", "lqspi", "smc", "pcap", "gem0", "gem1",
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c571 pcaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.pcap)); in t4vf_port_init()
1934 pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.pcap)); in t4vf_handle_get_port_info()
/linux/tools/testing/selftests/wireguard/qemu/
H A DMakefile442 cd $(NMAP_PATH) && ./configure --prefix=/ $(CROSS_COMPILE_FLAG) --enable-static --disable-shared --without-ndiff --without-zenmap --without-nping --with-libpcap=included --with-libpcre=included --with-libdnet=included --without-liblua --with-liblinear=included --without-nmap-update --without-openssl --with-pcap=linux --without-libssh
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c8737 static __le16 ath12k_mac_setup_he_6ghz_cap(struct ath12k_pdev_cap *pcap, in ath12k_mac_setup_he_6ghz_cap() argument
8751 val = u32_get_bits(pcap->vht_cap, in ath12k_mac_setup_he_6ghz_cap()
8755 val = u32_get_bits(pcap->vht_cap, in ath12k_mac_setup_he_6ghz_cap()
8759 if (pcap->vht_cap & IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN) in ath12k_mac_setup_he_6ghz_cap()
8761 if (pcap->vht_cap & IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN) in ath12k_mac_setup_he_6ghz_cap()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4fw_api.h2826 __be16 pcap; member
H A Dt4_hw.c8584 pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.pcap)); in t4_handle_get_port_info()
9645 pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd.u.info.pcap)); in t4_init_portinfo()