Home
last modified time | relevance | path

Searched refs:packets (Results 1 – 25 of 647) sorted by relevance

12345678910>>...26

/openbmc/linux/Documentation/networking/devlink/
H A Dprestera.rst27 - Traps ARP broadcast packets (both requests/responses)
30 - Traps IS-IS packets
33 - Traps OSPF packets
36 - Traps IPv4 packets with broadcast DA Mac address
42 - Traps LACP packets
45 - Traps LLDP packets
48 - Traps multicast packets
51 - Traps VRRP packets
54 - Traps DHCP packets
57 - Traps (exception) packets that exceeded port's MTU
[all …]
H A Ddevlink-trap.rst11 as bridging and routing must also be able to send specific packets to the
16 Without processing such packets, the bridge module could never populate its
22 error datagram. Without letting the kernel route such packets itself, utilities
25 The fundamental ability of sending certain packets to the kernel for processing
32 supported packet traps with ``devlink`` and report trapped packets to
35 Upon receiving trapped packets, ``devlink`` will perform a per-trap packets and
91 * ``drop``: Trapped packets were dropped by the underlying device. Packets
94 * ``exception``: Trapped packets were not forwarded as intended by the
100 * ``control``: Trapped packets were trapped by the device because these are
101 control packets required for the correct functioning of the control plane.
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dbmc_network_security_utils.robot10 [Documentation] Send TCP, UDP or ICMP packets to any network device and return packet loss.
16 # packet_type The type of packets to be sent ("tcp, "udp", "icmp").
18 # icmp_type Type of ICMP packets (e.g. 8, 13, 17, etc.).
19 # num Number of packets to be sent.
21 # This keyword expects host, port, type and number of packets to be sent
22 # and rate at which packets to be sent, should be given in command line.
23 # By default it sends 4 ICMP echo request packets at 1 packets/second.
42 # packet_type The type of packets to be sent ("tcp, "udp", "icmp").
45 # num Number of packets to be sent.
47 # This keyword expects host, port, type and number of packets to be sent
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnetcnt.c17 unsigned long packets; in serial_test_netcnt() local
60 packets = netcnt.packets; in serial_test_netcnt()
63 ASSERT_LE(percpu_netcnt[cpu].packets, MAX_PERCPU_PACKETS, "MAX_PERCPU_PACKETS"); in serial_test_netcnt()
65 packets += percpu_netcnt[cpu].packets; in serial_test_netcnt()
70 ASSERT_GE(packets, 10000, "packets"); in serial_test_netcnt()
75 ASSERT_GE(bytes, packets * 104, "bytes"); in serial_test_netcnt()
/openbmc/linux/tools/testing/selftests/net/
H A Ddrop_monitor_tests.sh79 timeout 5 dwdump -o sw -w ${dir}/packets.pcap
80 (( $(tshark -r ${dir}/packets.pcap \
84 rm ${dir}/packets.pcap
87 timeout 5 dwdump -o sw -w ${dir}/packets.pcap
88 (( $(tshark -r ${dir}/packets.pcap \
107 timeout 5 dwdump -o hw -w ${dir}/packets.pcap
108 (( $(tshark -r ${dir}/packets.pcap \
113 rm ${dir}/packets.pcap
116 timeout 5 dwdump -o hw -w ${dir}/packets.pcap
117 (( $(tshark -r ${dir}/packets.pcap \
H A Dudpgso_bench_rx.c53 static unsigned long packets, bytes; variable
181 packets++; in do_flush_tcp()
278 packets++; in do_flush_udp()
280 if (cfg_expected_pkt_nr && packets >= cfg_expected_pkt_nr) in do_flush_udp()
379 if (packets) in do_recv()
383 bytes >> 20, packets); in do_recv()
384 bytes = packets = 0; in do_recv()
392 if (cfg_expected_pkt_nr && (packets != cfg_expected_pkt_nr)) in do_recv()
394 packets, cfg_expected_pkt_nr); in do_recv()
/openbmc/linux/sound/firewire/
H A Dpackets-buffer.c30 b->packets = kmalloc_array(count, sizeof(*b->packets), GFP_KERNEL); in iso_packets_buffer_init()
31 if (!b->packets) { in iso_packets_buffer_init()
53 b->packets[i].buffer = p + offset_in_page; in iso_packets_buffer_init()
54 b->packets[i].offset = page_index * PAGE_SIZE + offset_in_page; in iso_packets_buffer_init()
60 kfree(b->packets); in iso_packets_buffer_init()
75 kfree(b->packets); in iso_packets_buffer_destroy()
/openbmc/linux/net/core/
H A Dgen_stats.c121 u64_stats_set(&b->packets, 0); in gnet_stats_basic_sync_init()
135 u64 bytes, packets; in gnet_stats_add_basic_cpu() local
140 packets = u64_stats_read(&bcpu->packets); in gnet_stats_add_basic_cpu()
144 t_packets += packets; in gnet_stats_add_basic_cpu()
155 u64 packets = 0; in gnet_stats_add_basic() local
167 packets = u64_stats_read(&b->packets); in gnet_stats_add_basic()
170 _bstats_update(bstats, bytes, packets); in gnet_stats_add_basic()
187 u64 bytes, packets; in gnet_stats_read_basic() local
192 packets = u64_stats_read(&bcpu->packets); in gnet_stats_read_basic()
196 t_packets += packets; in gnet_stats_read_basic()
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_counter.c21 s64 packets; member
44 this_cpu->packets++; in nft_counter_do_eval()
72 this_cpu->packets = in nft_counter_do_init()
117 this_cpu->packets -= total->packets; in nft_counter_reset()
128 u64 bytes, packets; in nft_counter_fetch() local
139 packets = this_cpu->packets; in nft_counter_fetch()
143 total->packets += packets; in nft_counter_fetch()
157 nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets), in nft_counter_do_dump()
250 this_cpu->packets = total.packets; in nft_counter_clone()
278 this_cpu->packets += stats->pkts; in nft_counter_offload_stats()
H A Dxt_connbytes.c45 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
48 what = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
51 what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
52 what += atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
74 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); in connbytes_mt()
78 pkts = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
83 pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets) + in connbytes_mt()
84 atomic64_read(&counters[IP_CT_DIR_REPLY].packets); in connbytes_mt()
/openbmc/linux/Documentation/networking/
H A Dseg6-sysctl.rst12 Accept or drop SR-enabled IPv6 packets on this interface.
14 Relevant packets are those with SRH present and DA = local.
20 Define HMAC policy for ingress SR-enabled packets on this interface.
23 * 0 - Accept SR packets without HMAC, validate SR packets with HMAC
24 * 1 - Drop SR packets without HMAC, validate SR packets with HMAC
H A Dnf_conntrack-sysctl.rst28 Verify checksum of incoming packets. Packets with bad checksums are
29 in INVALID state. If this is enabled, such packets will not be
54 purpose, the fragment handler will toss packets until
85 - 1 - log ICMP packets
86 - 6 - log TCP packets
87 - 17 - log UDP packets
88 - 33 - log DCCP packets
89 - 41 - log ICMPv6 packets
90 - 136 - log UDPLITE packets
91 - 255 - log packets of any protocol
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-statistics14 Indicates the number of multicast packets received by this
31 Indicates the number of compressed packets received by this
40 Indicates the number of packets received with a CRC (FCS) error
49 Indicates the number of packets received by the network device
95 Indicates the number of received packets that have been missed
104 Indicates the number of received packets that were dropped on
112 Indicates the number of received packets that are oversized
122 Indicates the total number of good packets received by this
130 Indicates the number of packets that have been aborted
143 transmitted packets or all packets that have been queued for
[all …]
/openbmc/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dcounters.rst145 - The number of packets received on ring i.
153 - The number of packets transmitted on ring i.
173 - The number of TSO packets transmitted on ring i [#accel]_.
181 - The number of TSO packets which are indicated to be carry internal
191 - Number of received packets processed using hardware-accelerated GRO. The
192 number of hardware GRO offloaded packets received on ring i.
206 - Number of received packets processed using hardware-accelerated GRO that
211 - Number of receive packets using hardware-accelerated GRO that have large
216 - The number of LRO packets received on ring i [#accel]_.
224 - The number of received packets where the ECN mark was turned on.
[all …]
/openbmc/openbmc-test-automation/security/
H A Dtest_bmc_network_security.robot33 [Documentation] Send ICMP packet type 13 and check BMC drops such packets
43 [Documentation] Send ICMP packet type 17 and check BMC drops such packets
53 [Documentation] Send ICMP packet type 8 continuously and check no packets are dropped from BMC
60 ... msg=FAILURE: BMC is dropping packets.
63 [Documentation] Send network packets continuously to Redfish interface and verify stability.
66 # Send large number of packets to Redfish interface.
70 ... msg=FAILURE: BMC is dropping some packets.
78 [Documentation] Send network packets continuously to IPMI port and verify stability.
81 # Send large number of packets to IPMI port.
85 ... msg=FAILURE: BMC is dropping some packets.
[all …]
/openbmc/qemu/net/
H A Dqueue.c58 QTAILQ_HEAD(, NetPacket) packets;
74 QTAILQ_INIT(&queue->packets); in qemu_new_net_queue()
85 QTAILQ_FOREACH_SAFE(packet, &queue->packets, entry, next) { in qemu_del_net_queue()
86 QTAILQ_REMOVE(&queue->packets, packet, entry); in qemu_del_net_queue()
113 QTAILQ_INSERT_TAIL(&queue->packets, packet, entry); in qemu_net_queue_append()
148 QTAILQ_INSERT_TAIL(&queue->packets, packet, entry); in qemu_net_queue_append_iov()
250 QTAILQ_FOREACH_SAFE(packet, &queue->packets, entry, next) { in qemu_net_queue_purge()
252 QTAILQ_REMOVE(&queue->packets, packet, entry); in qemu_net_queue_purge()
267 while (!QTAILQ_EMPTY(&queue->packets)) { in qemu_net_queue_flush()
271 packet = QTAILQ_FIRST(&queue->packets); in qemu_net_queue_flush()
[all …]
H A Dvmnet-common.m59 * Write packets from QEMU to vmnet interface.
109 * Read packets from vmnet interface and write them
112 * Returns read packets number (may be 0) on success,
119 struct vmpktdesc *packets = s->packets_buf;
123 /* Read as many packets as present */
127 packets[i].vm_pkt_size = s->max_packet_size;
128 packets[i].vm_pkt_iovcnt = 1;
129 packets[i].vm_flags = 0;
132 status = vmnet_read(s->vmnet_if, packets, &s->packets_send_end_pos);
145 * Write packets from temporary buffers in VmnetState
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dnetcnt_prog.c36 percpu_cnt->packets++; in bpf_nextcnt()
39 if (percpu_cnt->packets > MAX_PERCPU_PACKETS) { in bpf_nextcnt()
40 __sync_fetch_and_add(&cnt->packets, in bpf_nextcnt()
41 percpu_cnt->packets); in bpf_nextcnt()
42 percpu_cnt->packets = 0; in bpf_nextcnt()
62 percpu_cnt->prev_packets = cnt->packets; in bpf_nextcnt()
/openbmc/openbmc-test-automation/network/
H A Dtest_network_nping.robot22 [Documentation] Pump network packets to target.
25 # Send packets to BMC and check packet loss.
41 [Documentation] Send TCP, UDP or ICMP packets to the target.
45 # ${host}- Target system to which network packets to be sent.
46 # ${packet_type}- type of packets to be sent viz tcp, udp or icmp.
49 # This program expects host, port, type and number of packets to be sent
50 # and rate at which packets to be sent, should be given in command line
51 # by default it sends 100 TCP packets at 5 packets/second.
76 # Raw packets sent: 2 (80B) | Rcvd: 1 (46B) | Lost: 1 (50.00%)
/openbmc/linux/net/mpls/
H A DKconfig10 MultiProtocol Label Switching routes packets through logical
11 circuits. Originally conceived as a way of routing packets at
12 hardware speeds (before hardware was capable of routing ipv4 packets),
22 This is helper module to allow segmentation of non-MPLS GSO packets
24 become MPLS GSO packets.
31 Add support for forwarding of mpls packets.
/openbmc/qemu/hw/usb/
H A Dcombined-packet.c31 QTAILQ_INSERT_TAIL(&combined->packets, p, combined_entry); in usb_combined_packet_add()
41 QTAILQ_REMOVE(&combined->packets, p, combined_entry); in usb_combined_packet_remove()
42 if (QTAILQ_EMPTY(&combined->packets)) { in usb_combined_packet_remove()
62 assert(combined->first == p && p == QTAILQ_FIRST(&combined->packets)); in usb_combined_input_packet_complete()
66 short_not_ok = QTAILQ_LAST(&combined->packets)->short_not_ok; in usb_combined_input_packet_complete()
68 QTAILQ_FOREACH_SAFE(p, &combined->packets, combined_entry, next) { in usb_combined_input_packet_complete()
160 QTAILQ_INIT(&combined->packets); in usb_ep_combine_input_packets()
180 QTAILQ_FOREACH(u, &first->combined->packets, combined_entry) { in usb_ep_combine_input_packets()
/openbmc/linux/Documentation/admin-guide/blockdev/drbd/
H A Dfigures.rst5 Data flows that Relate some functions, and write packets
8 .. kernel-figure:: DRBD-8.3-data-packets.svg
9 :alt: DRBD-8.3-data-packets.svg
12 .. kernel-figure:: DRBD-data-packets.svg
13 :alt: DRBD-data-packets.svg
/openbmc/linux/drivers/net/
H A Dloopback.c95 void dev_lstats_read(struct net_device *dev, u64 *packets, u64 *bytes) in dev_lstats_read() argument
99 *packets = 0; in dev_lstats_read()
110 tpackets = u64_stats_read(&lb_stats->packets); in dev_lstats_read()
114 *packets += tpackets; in dev_lstats_read()
122 u64 packets, bytes; in loopback_get_stats64() local
124 dev_lstats_read(dev, &packets, &bytes); in loopback_get_stats64()
126 stats->rx_packets = packets; in loopback_get_stats64()
127 stats->tx_packets = packets; in loopback_get_stats64()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dvxlan_flooding_ipv6.sh202 local packets=("$@")
207 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}
217 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1)
238 packets=(2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 2 2 2 2 2)
252 packets=(2 2 2 2 2 3 3 3 3 3 1 1 1 1 1 3 3 3 3 3)
266 packets=(2 2 2 2 2 4 4 4 4 4 1 1 1 1 1 3 3 3 3 3)
281 packets=(2 2 2 2 2 4 5 5 5 5 1 1 1 1 1 3 3 3 3 3)
290 packets=(2 2 2 2 2 4 5 6 6 6 1 1 1 1 1 3 3 3 3 3)
299 packets=(2 2 2 2 2 4 5 6 7 7 1 1 1 1 1 3 3 3 3 3)
308 packets=(2 2 2 2 2 4 5 6 7 8 1 1 1 1 1 3 3 3 3 3)
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c49 u64 packets; member
166 u64 packets = MLX5_GET64(traffic_counter, stats, packets); in update_counter_cache() local
169 if (cache->packets == packets) in update_counter_cache()
172 cache->packets = packets; in update_counter_cache()
366 counter->lastpackets = counter->cache.packets; in mlx5_fc_create_ex()
481 u64 *packets, u64 *bytes) in mlx5_fc_query() argument
483 return mlx5_cmd_fc_query(dev, counter->id, packets, bytes); in mlx5_fc_query()
493 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached() argument
500 *packets = c.packets - counter->lastpackets; in mlx5_fc_query_cached()
504 counter->lastpackets = c.packets; in mlx5_fc_query_cached()
[all …]

12345678910>>...26