/linux/Documentation/networking/devlink/ |
A D | prestera.rst | 30 - Traps IS-IS packets 33 - Traps OSPF packets 42 - Traps LACP packets 45 - Traps LLDP packets 48 - Traps multicast packets 51 - Traps VRRP packets 54 - Traps DHCP packets 105 - Traps IPv4 BGP packets 108 - Traps SSH packets 111 - Traps Telnet packets [all …]
|
A D | devlink-trap.rst | 35 Upon receiving trapped packets, ``devlink`` will perform a per-trap packets and 257 - Traps STP packets 260 - Traps LACP packets 263 - Traps LLDP packets 293 - Traps IPv4 DHCP packets 316 - Traps IPv4 BFD packets 319 - Traps IPv6 BFD packets 328 - Traps IPv4 BGP packets 331 - Traps IPv6 BGP packets 340 - Traps IPv4 PIM packets [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | netcnt.c | 17 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/net/core/ |
A D | gen_stats.c | 121 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() 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() 222 d->tc_stats.packets = bstats_packets; in ___gnet_stats_copy_basic() [all …]
|
/linux/tools/testing/selftests/net/ |
A D | drop_monitor_tests.sh | 79 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 \
|
A D | udpgso_bench_rx.c | 53 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/net/netfilter/ |
A D | nft_counter.c | 20 s64 packets; member 43 this_cpu->packets++; in nft_counter_do_eval() 71 this_cpu->packets = in nft_counter_do_init() 112 this_cpu->packets -= total->packets; in nft_counter_reset() 122 u64 bytes, packets; in nft_counter_fetch() local 133 packets = this_cpu->packets; in nft_counter_fetch() 137 total->packets += packets; in nft_counter_fetch() 151 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()
|
A D | xt_connbytes.c | 45 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/Documentation/ABI/testing/ |
A D | sysfs-class-net-statistics | 14 Indicates the number of multicast packets received by this 31 Indicates the number of compressed packets received by this 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 180 why the packets were dropped. 187 Indicates the number of packets having caused a transmit 189 packets were dropped. 198 reasons as to why the packets were dropped. [all …]
|
/linux/sound/firewire/ |
A D | packets-buffer.c | 30 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()
|
A D | amdtp-stream.c | 1036 unsigned int packets) in process_ctx_payloads() argument 1056 unsigned int packets; in process_rx_packets() local 1122 unsigned int packets; in skip_rx_packets() local 1158 unsigned int packets; in process_rx_packets_intermediately() local 1167 while (offset < packets) { in process_rx_packets_intermediately() 1187 if (offset < packets) { in process_rx_packets_intermediately() 1207 unsigned int packets; in process_tx_packets() local 1249 unsigned int packets; in drop_tx_packets() local 1278 unsigned int packets; in process_tx_packets_intermediately() local 1288 while (offset < packets) { in process_tx_packets_intermediately() [all …]
|
/linux/Documentation/networking/ |
A D | seg6-sysctl.rst | 12 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
|
A D | nf_conntrack-sysctl.rst | 29 in INVALID state. If this is enabled, such packets will not be 51 purpose, the fragment handler will toss packets until 91 - 1 - log ICMP packets 92 - 6 - log TCP packets 93 - 17 - log UDP packets 94 - 33 - log DCCP packets 95 - 41 - log ICMPv6 packets 96 - 136 - log UDPLITE packets 97 - 255 - log packets of any protocol 99 Log invalid packets of a type specified by value. [all …]
|
A D | scaling.rst | 47 Some advanced NICs allow steering packets to queues based on 77 this to notify a CPU when new packets arrive on the given queue. The 141 RPS may enqueue packets for processing. For each received packet, 200 count over the last 256 packets. If a flow exceeds a set ratio (by 204 No packets are dropped when the input packet queue length is below 250 While RPS steers packets solely based on hash, and thus generally 276 receive packets on the old CPU, packets may arrive out of order. To 363 queue for packets matching a particular flow. The network stack 366 method to program the NIC to steer the packets. 425 threads are not pinned to CPUs and each thread handles packets [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | netcnt_prog.c | 37 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/net/mpls/ |
A D | Kconfig | 10 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/drivers/net/ |
A D | loopback.c | 94 void dev_lstats_read(struct net_device *dev, u64 *packets, u64 *bytes) in dev_lstats_read() argument 98 *packets = 0; in dev_lstats_read() 109 tpackets = u64_stats_read(&lb_stats->packets); in dev_lstats_read() 113 *packets += tpackets; in dev_lstats_read() 121 u64 packets, bytes; in loopback_get_stats64() local 123 dev_lstats_read(dev, &packets, &bytes); in loopback_get_stats64() 125 stats->rx_packets = packets; in loopback_get_stats64() 126 stats->tx_packets = packets; in loopback_get_stats64()
|
/linux/Documentation/admin-guide/blockdev/drbd/ |
A D | figures.rst | 5 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/tools/testing/selftests/drivers/net/mlxsw/ |
A D | vxlan_flooding.sh | 201 local packets=("$@") 206 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]} 216 declare -a packets=(1 1 1 1 1 1 1 1 1 1 1 1) 237 packets=(2 2 2 2 2 2 1 1 1 2 2 2) 249 packets=(2 2 2 3 3 3 1 1 1 3 3 3) 261 packets=(2 2 2 4 4 4 1 1 1 3 3 3) 274 packets=(2 2 2 4 5 5 1 1 1 3 3 3) 283 packets=(2 2 2 4 5 6 1 1 1 3 3 3) 292 packets=(2 2 2 4 5 6 1 1 1 3 3 3)
|
/linux/Documentation/networking/device_drivers/ethernet/altera/ |
A D | altera_tse.rst | 164 received. This count does not include any error packets such as CRC errors, 213 statistic is the number of outbound packets not transmitted even though an 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 235 including error and discarded packets. 239 including error, discarded, unicast, multicast, and broadcast packets. 242 This statistic counts the number of correctly formed packets received less 254 2819. This statistic counts the total number of packets received that were 258 RFC 2819. This statistic is the total number of packets received that were 262 RFC 2819. This statistic is the total number of packets received that were [all …]
|
/linux/drivers/net/wireguard/ |
A D | send.c | 344 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/drivers/net/ethernet/microsoft/mana/ |
A D | mana_ethtool.c | 67 u64 packets, bytes; in mana_get_ethtool_stats() local 81 packets = stats->packets; in mana_get_ethtool_stats() 85 data[i++] = packets; in mana_get_ethtool_stats() 94 packets = stats->packets; in mana_get_ethtool_stats() 98 data[i++] = packets; in mana_get_ethtool_stats()
|
/linux/include/trace/events/ |
A D | qdisc.h | 17 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/sound/usb/6fire/ |
A D | pcm.c | 164 packet = &rt->in_urbs[i].packets[k]; in usb6fire_pcm_stream_start() 210 if (urb->packets[i].actual_length > 4) in usb6fire_pcm_capture() 223 total_length += urb->packets[i].length; in usb6fire_pcm_capture() 266 if (urb->packets[i].length > 4) in usb6fire_pcm_playback() 267 frame_count = (urb->packets[i].length - 4) in usb6fire_pcm_playback() 303 if (in_urb->packets[i].status) { in usb6fire_pcm_in_urb_handler() 330 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler() 331 out_urb->packets[i].length = (in_urb->packets[i].actual_length in usb6fire_pcm_in_urb_handler() 334 out_urb->packets[i].status = 0; in usb6fire_pcm_in_urb_handler() 335 total_length += out_urb->packets[i].length; in usb6fire_pcm_in_urb_handler() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | fs_counters.c | 48 u64 packets; member 163 u64 packets = MLX5_GET64(traffic_counter, stats, packets); in update_counter_cache() local 166 if (cache->packets == packets) in update_counter_cache() 169 cache->packets = packets; in update_counter_cache() 321 counter->lastpackets = counter->cache.packets; in mlx5_fc_create_ex() 435 u64 *packets, u64 *bytes) in mlx5_fc_query() argument 437 return mlx5_cmd_fc_query(dev, counter->id, packets, bytes); in mlx5_fc_query() 447 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached() argument 454 *packets = c.packets - counter->lastpackets; in mlx5_fc_query_cached() 458 counter->lastpackets = c.packets; in mlx5_fc_query_cached()
|