Home
last modified time | relevance | path

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

12345678910>>...22

/linux-5.19.10/Documentation/networking/devlink/
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 …]
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 …]
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
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_EQ(packets, 10000, "packets"); in serial_test_netcnt()
75 ASSERT_EQ(bytes, packets * 104, "bytes"); in serial_test_netcnt()
/linux-5.19.10/sound/firewire/
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()
Damdtp-stream.c635 s->buffer.packets[s->packet_index].offset); in queue_packet()
892 unsigned int packets, in generate_device_pkt_descs() argument
903 for (i = 0; i < packets; ++i) { in generate_device_pkt_descs()
955 desc->ctx_payload = s->buffer.packets[packet_index].buffer; in generate_device_pkt_descs()
983 …tic void generate_pkt_descs(struct amdtp_stream *s, const __be32 *ctx_header, unsigned int packets) in generate_pkt_descs() argument
993 for (i = 0; i < packets; ++i) { in generate_pkt_descs()
1015 desc->ctx_payload = s->buffer.packets[index].buffer; in generate_pkt_descs()
1036 unsigned int packets) in process_ctx_payloads() argument
1042 pcm_frames = s->process_ctx_payloads(s, descs, packets, pcm); in process_ctx_payloads()
1056 unsigned int packets; in process_rx_packets() local
[all …]
/linux-5.19.10/tools/testing/selftests/net/
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 \
Dudpgso_bench_rx.c53 static unsigned long packets, bytes; variable
181 packets++; in do_flush_tcp()
280 packets++; in do_flush_udp()
282 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()
/linux-5.19.10/net/netfilter/
Dnft_counter.c21 s64 packets; member
44 this_cpu->packets++; in nft_counter_do_eval()
72 this_cpu->packets = in nft_counter_do_init()
113 this_cpu->packets -= total->packets; in nft_counter_reset()
123 u64 bytes, packets; in nft_counter_fetch() local
134 packets = this_cpu->packets; in nft_counter_fetch()
138 total->packets += packets; in nft_counter_fetch()
152 nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets), in nft_counter_do_dump()
244 this_cpu->packets = total.packets; in nft_counter_clone()
272 this_cpu->packets += stats->pkts; in nft_counter_offload_stats()
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()
/linux-5.19.10/net/core/
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 …]
/linux-5.19.10/Documentation/networking/
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
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
94 - 1 - log ICMP packets
95 - 6 - log TCP packets
96 - 17 - log UDP packets
97 - 33 - log DCCP packets
98 - 41 - log ICMPv6 packets
99 - 136 - log UDPLITE packets
100 - 255 - log packets of any protocol
[all …]
/linux-5.19.10/Documentation/ABI/testing/
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 …]
/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dnetcnt_prog.c37 percpu_cnt->packets++; in bpf_nextcnt()
40 if (percpu_cnt->packets > MAX_PERCPU_PACKETS) { in bpf_nextcnt()
41 __sync_fetch_and_add(&cnt->packets, in bpf_nextcnt()
42 percpu_cnt->packets); in bpf_nextcnt()
43 percpu_cnt->packets = 0; in bpf_nextcnt()
63 percpu_cnt->prev_packets = cnt->packets; in bpf_nextcnt()
/linux-5.19.10/net/mpls/
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.
/linux-5.19.10/Documentation/admin-guide/blockdev/drbd/
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
/linux-5.19.10/drivers/net/
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()
Difb.c42 u64 packets; member
71 { "packets", IFB_Q_STAT(packets) },
84 stats->packets++; in ifb_update_q_stats()
160 u64 packets, bytes; in ifb_stats64() local
166 packets = txp->rx_stats.packets; in ifb_stats64()
169 stats->rx_packets += packets; in ifb_stats64()
174 packets = txp->tx_stats.packets; in ifb_stats64()
177 stats->tx_packets += packets; in ifb_stats64()
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/spectrum/
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 …]
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dvxlan_flooding_ipv6.sh219 local packets=("$@")
224 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}
234 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1)
255 packets=(2 2 2 2 2 2 2 2 1 1 1 1 2 2 2 2)
268 packets=(2 2 2 2 3 3 3 3 1 1 1 1 3 3 3 3)
281 packets=(2 2 2 2 4 4 4 4 1 1 1 1 3 3 3 3)
295 packets=(2 2 2 2 4 5 5 5 1 1 1 1 3 3 3 3)
304 packets=(2 2 2 2 4 5 6 6 1 1 1 1 3 3 3 3)
313 packets=(2 2 2 2 4 5 6 7 1 1 1 1 3 3 3 3)
322 packets=(2 2 2 2 4 5 6 7 1 1 1 1 3 3 3 3)
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan_flooding.sh218 local packets=("$@")
223 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]}
233 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1)
254 packets=(2 2 2 2 2 2 1 1 1 2 2 2)
266 packets=(2 2 2 3 3 3 1 1 1 3 3 3)
278 packets=(2 2 2 4 4 4 1 1 1 3 3 3)
291 packets=(2 2 2 4 5 5 1 1 1 3 3 3)
300 packets=(2 2 2 4 5 6 1 1 1 3 3 3)
309 packets=(2 2 2 4 5 6 1 1 1 3 3 3)
/linux-5.19.10/Documentation/networking/device_drivers/ethernet/altera/
Daltera_tse.rst164 received. This count does not include any error packets such as CRC errors,
194 a count of the number of packets received containing errors that prevented the
198 is a count of the number of packets that could not be transmitted due to errors.
201 statistic is a count of the number of packets received that were not addressed
205 statistic is a count of the number of packets received that were addressed to
209 statistic is a count of the number of packets received that were addressed to
213 statistic is the number of outbound packets not transmitted even though an
218 statistic counts the number of packets transmitted that were not addressed to
222 statistic counts the number of packets transmitted that were addressed to a
226 statistic counts the number of packets transmitted that were addressed to a
[all …]
/linux-5.19.10/drivers/net/wireguard/
Dsend.c344 struct sk_buff_head packets; in wg_packet_send_staged_packets() local
348 __skb_queue_head_init(&packets); in wg_packet_send_staged_packets()
350 skb_queue_splice_init(&peer->staged_packet_queue, &packets); in wg_packet_send_staged_packets()
352 if (unlikely(skb_queue_empty(&packets))) in wg_packet_send_staged_packets()
373 skb_queue_walk(&packets, skb) { in wg_packet_send_staged_packets()
384 packets.prev->next = NULL; in wg_packet_send_staged_packets()
386 PACKET_CB(packets.next)->keypair = keypair; in wg_packet_send_staged_packets()
387 wg_packet_create_data(peer, packets.next); in wg_packet_send_staged_packets()
398 skb_queue_walk(&packets, skb) in wg_packet_send_staged_packets()
406 skb_queue_splice(&packets, &peer->staged_packet_queue); in wg_packet_send_staged_packets()
/linux-5.19.10/include/trace/events/
Dqdisc.h17 int packets, struct sk_buff *skb),
19 TP_ARGS(qdisc, txq, packets, skb),
24 __field( int, packets )
36 __entry->packets = skb ? packets : 0;
46 __entry->txq_state, __entry->packets, __entry->skbaddr )
/linux-5.19.10/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c72 u64 packets, bytes; in mana_get_ethtool_stats() local
88 packets = rx_stats->packets; in mana_get_ethtool_stats()
94 data[i++] = packets; in mana_get_ethtool_stats()
105 packets = tx_stats->packets; in mana_get_ethtool_stats()
109 data[i++] = packets; in mana_get_ethtool_stats()

12345678910>>...22