| /linux/net/sched/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 If you say N here, you will get the standard packet scheduler, which 25 To administer these schedulers, you'll need the user-level utilities 38 to read status information about packet schedulers from the file 52 packet scheduling algorithm. See 54 in-depth articles. 66 (HFSC) packet scheduling algorithm. 74 Say Y here if you want to use an n-band priority queue packet 81 tristate "Hardware Multiqueue-aware Multi Band Queuing (MULTIQ)" 83 Say Y here if you want to use an n-band queue packet scheduler [all …]
|
| /linux/net/ipv6/netfilter/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 ip6tables is a legacy packet classifier. 18 (iptables-nft). 44 tristate "IPv6 nf_tables packet duplication support" 48 This module enables IPv6 packet duplication support for nf_tables. 62 tristate "Netfilter IPv6 packet duplication to alternate destination" 66 packet to be rerouted to another destination. 69 tristate "IPv6 packet rejection" 73 tristate "IPv6 packet logging" 77 This is a backwards-compat option for the user's convenience [all …]
|
| /linux/net/netfilter/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 71 and is also scheduled to replace the old syslog-based ipt_LOG 93 Address Translation. It can also be used to enhance packet 99 tristate "Syslog packet logging" 102 This option enable support for packet logging via syslog. 107 If both are enabled the backend to use can be configured at run-time 108 by means of per-address-family sysctl tunables. 182 This allows you to store the flow start-time and to obtain 183 the flow-stop time (once it has been destroyed) via Connection 191 This option enables support for assigning user-defined flag bits [all …]
|
| /linux/Documentation/networking/ |
| H A D | scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 multi-processor systems. 17 - RSS: Receive Side Scaling 18 - RPS: Receive Packet Steering 19 - RFS: Receive Flow Steering 20 - Accelerated Receive Flow Steering 21 - XPS: Transmit Packet Steering 28 (multi-queue). On reception, a NIC can send different packets to different 30 applying a filter to each packet that assigns it to one of a small number 33 generally known as “Receive-side Scaling” (RSS). The goal of RSS and [all …]
|
| H A D | tls-offload.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 13 For details regarding the user-facing interface refer to the TLS 18 * Software crypto mode (``TLS_SW``) - CPU handles the cryptography. 24 * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto 25 on a packet by packet basis, provided the packets arrive in order. 28 (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``). 29 * Full TCP NIC offload mode (``TLS_HW_RECORD``) - mode of operation where 33 abilities or QoS and packet scheduling (``ethtool`` flag ``tls-hw-record``). 35 The operation mode is selected automatically based on device configuration, 36 offload opt-in or opt-out on per-connection basis is not currently supported. [all …]
|
| H A D | gtp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 In 'drivers/net/gtp.c' you are finding a kernel-level implementation 18 tunneling User-IP payload between a mobile station (phone, modem) 19 and the interconnection between an external packet data network (such 26 intermediate nodes just transport the encapsulated packet. 29 technology-dependent protocol stack for transmitting the user IP 35 is translated into GTP *without breaking the end-to-end tunnel*. So 38 At some point the GTP packet ends up on the so-called GGSN (GSM/UMTS) 39 or P-GW (LTE), which terminates the tunnel, decapsulates the packet 40 and forwards it onto an external packet data network. This can be [all …]
|
| H A D | openvswitch.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 flow-level packet processing on selected network devices. It can be 10 VLAN processing, network access control, flow-based network control, 16 table" that userspace populates with "flows" that map from keys based 17 on packet headers and metadata to sets of actions. The most common 18 action forwards the packet to another vport; other actions are also 21 When a packet arrives on a vport, the kernel module processes it by 24 no match, it queues the packet to userspace for processing (as part of 26 packets of the same type entirely in-kernel). 30 ---------------------- [all …]
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-hwtstamp.c | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 11 #include "xgbe-common.h" 29 while (--count && XGMAC_IOREAD_BITS(pdata, MAC_TSCR, TSUPDT)) in xgbe_update_tstamp_time() 33 netdev_err(pdata->netdev, in xgbe_update_tstamp_time() 47 while (--count && XGMAC_IOREAD_BITS(pdata, MAC_TSCR, TSADDREG)) in xgbe_update_tstamp_addend() 51 netdev_err(pdata->netdev, in xgbe_update_tstamp_addend() 66 while (--count && XGMAC_IOREAD_BITS(pdata, MAC_TSCR, TSINIT)) in xgbe_set_tstamp_time() 70 netdev_err(pdata->netdev, "timed out initializing timestamp\n"); in xgbe_set_tstamp_time() 89 if (pdata->vdata->tx_tstamp_workaround) { in xgbe_get_tx_tstamp() [all …]
|
| /linux/net/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 when running on a stand-alone machine that isn't connected to any 20 contained in the package net-tools, the location and version number 24 recommended to read the NET-HOWTO, available from 42 achieve this, you need to set skb_shinfo(skb)->frag_list to the 47 compat-independent messages instead! 84 source "net/packet/Kconfi [all...] |
| /linux/net/dccp/ccids/lib/ |
| H A D | packet_history.h | |
| /linux/net/batman-adv/ |
| H A D | tvlv.c | 1 // SPDX-License-Identifier: GPL-2.0 34 * batadv_tvlv_handler_release() - release tvlv handler from lists and queue for 47 * batadv_tvlv_handler_put() - decrement the tvlv container refcounter and 56 kref_put(&tvlv_handler->refcount, batadv_tvlv_handler_release); in batadv_tvlv_handler_put() 60 * batadv_tvlv_handler_get() - retrieve tvlv handler from the tvlv handler list 61 * based on the provided type and version (both need to match) 75 &bat_priv->tvlv.handler_list, list) { in batadv_tvlv_handler_get() 76 if (tvlv_handler_tmp->type != type) in batadv_tvlv_handler_get() 79 if (tvlv_handler_tmp->version != version) in batadv_tvlv_handler_get() 82 if (!kref_get_unless_zero(&tvlv_handler_tmp->refcount)) in batadv_tvlv_handler_get() [all …]
|
| /linux/net/ipv4/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 40 so-called IP spoofing, however it can pose problems if you use 42 than packets from that host to you) or if you operate a non-routing 52 <file:Documentation/networking/ip-sysctl.rst>. 68 Normally, a router decides what to do with a received packet based 69 solely on the packet' [all...] |
| /linux/net/sctp/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 connectionless packet network such as IP. It offers the following 24 -- acknowledged error-free non-duplicated transfer of user data, 25 - [all...] |
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | vf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009 - 2018 Intel Corporation. */ 31 * These entries are also used for MAC-based filtering. 35 /* Receive Descriptor - Advanced */ 38 __le64 pkt_addr; /* Packet buffer address */ 46 __le16 pkt_info; /* RSS/Packet type */ 55 __le16 csum; /* Packet Checksum */ 61 __le16 length; /* Packet length */ 70 /* Transmit Descriptor - Advanced */ 87 #define E1000_ADVTXD_DCMD_EOP 0x01000000 /* End of Packet */ [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | rx_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 224 * Indication to Rx OLE to enable REO destination routing based 255 * If set, WDS learning detection based on SA search and notification 257 * field in address search failure cache-only entry should 261 * If set, intra-BSS routing detection is enabled 268 * buffers shall be disabled based on an RXDMA configuration, 278 * host SW/accelerator subsystem that also handles packet 279 * buffer management for WiFi-to-PPE routing. [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | ice.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2018-2021 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Important Notes 16 - Additional Features & Configurations 17 - Performance Optimization 28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that 42 Packet drops may occur under receive stress 43 ------------------------------------------- [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pko.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 * Interface to the hardware Packet Output unit. 37 * memory based locking instead. This locking has the advantage 38 * of not affecting the tag state but doesn't preserve packet 44 * - PKO indexes are no longer stored in the FAU. A large 48 * - The PKO <b>use_locking</b> parameter can now have a global 52 * - PKO 3 word commands are now supported. Use 60 #include <asm/octeon/cvmx-fpa.h> [all …]
|
| /linux/drivers/input/mouse/ |
| H A D | touchkit_ps2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* ---------------------------------------------------------------------------- 3 * touchkit_ps2.c -- Driver for eGalax TouchKit PS/2 Touchscreens 9 * Based upon touchkitusb.c 36 #define TOUCHKIT_GET_TOUCHED(packet) (((packet)[0]) & 0x01) argument 37 #define TOUCHKIT_GET_X(packet) (((packet)[1] << 7) | (packet)[2]) argument 38 #define TOUCHKIT_GET_Y(packet) (((packet)[3] << 7) | (packet)[4]) argument 42 unsigned char *packet = psmouse->packet; in touchkit_ps2_process_byte() local 43 struct input_dev *dev = psmouse->dev; in touchkit_ps2_process_byte() 45 if (psmouse->pktcnt != 5) in touchkit_ps2_process_byte() [all …]
|
| /linux/Documentation/networking/devlink/ |
| H A D | devlink-dpipe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ``devlink-dpipe`` provides a standardized way to provide visibility into the 34 Level Path Compression trie (LPC-trie) in hardware. 36 In many situations trying to analyze systems failure solely based on the 45 The ``devlink-dpipe`` interface closes this gap. The hardware's pipeline is 50 configuration, but the ``devlink-dpipe`` interface uses it for visibility 52 ``devlink-dpipe`` should change according to the changes done by the 73 A ``header`` describes packet formats and provides names for fields within 74 the packet. A ``table`` describes hardware blocks. An ``entry`` describes 84 ``devlink-dpipe`` generally is not intended for configuration. The exception [all …]
|
| /linux/Documentation/driver-api/soundwire/ |
| H A D | bra.rst | 6 ----------- 12 ------------ 14 The SoundWire 1.x specification provides a mechanism to speed-up 17 solution based on the Bulk Payload Transport (BPT) definitions. 28 10-byte overhead per frame (header and footer response). 36 Port 0, and likewise the Manager SHALL expose audio-like Ports 41 bandwidth. If there are no on-going audio transfers, the entire 61 need to be spaced in time or flow-controlled. 63 (8) Each BRA packet SHALL be marked as 'Active' when valid data is 78 -------------- [all …]
|
| /linux/Documentation/netlabel/ |
| H A D | lsm_interface.rst | 14 use of a common code base for several different packet labeling protocols. 21 Since NetLabel supports multiple different packet labeling protocols and LSMs 22 it uses the concept of security attributes to refer to the packet's security 26 low-level packet label depending on the NetLabel build time and run time 37 level functions are translated into low level protocol operations based on how 43 Depending on the exact configuration, translation between the network packet 47 LSM has received a packet, used NetLabel to decode its security attributes, 50 identifier with the network packet's label. This means that in the future 51 when a incoming packet matches a cached value not only are the internal
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | xdp.py | 2 # SPDX-License-Identifier: GPL-2.0 31 PASS = 0 # Pass the packet up to the stack 32 DROP = 1 # Drop the packet 33 TX = 2 # Route the packet to the remote host 34 TAIL_ADJST = 3 # Adjust the tail of the packet 35 HEAD_ADJST = 4 # Adjust the head of the packet 70 rx_udp_cmd = f"socat -{cfg.addr_ipver} -T 2 -u UDP-RECV:{port},reuseport STDOUT" 71 tx_udp_cmd = f"echo -n {test_string} | socat -t 2 -u STDIN UDP:{cfg.baddr}:{port}" 82 Tests UDP packet exchange between a local and remote host. 121 xdp_info = ip(f"-d link show dev {cfg.ifname}", json=True)[0] [all …]
|
| /linux/net/bridge/netfilter/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 35 into connections. This is used to enhance packet filtering via 49 Legacy ebtables packet/frame classifier. 51 (iptables-nft). 58 ebtables is a general, extensible frame/packet identification 112 MAC/IP address pairs can be matched, f.e. for anti-spoofing rules. 154 This option adds the mark match, which allows matching frames based on 162 tristate "ebt: packet type filter support" 164 This option adds the packet type match, which allows matching on the 165 type of packet based on its Ethernet "class" (as determined by
|
| /linux/net/802/ |
| H A D | fddi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * FDDI-type device handling. 13 * fddi.c is based on previous eth.c and tr.c work by 17 * Florian La Roche, <rzsfl@rz.uni-sb.de> 56 hl=FDDI_K_8022_HLEN-3; in fddi_header() 58 fddi->fc = FDDI_FC_K_ASYNC_LLC_DEF; in fddi_header() 61 fddi->hdr.llc_snap.dsap = FDDI_EXTENDED_SAP; in fddi_header() 62 fddi->hdr.llc_snap.ssap = FDDI_EXTENDED_SAP; in fddi_header() 63 fddi->hdr.llc_snap.ctrl = FDDI_UI_CMD; in fddi_header() 64 fddi->hdr.llc_snap.oui[0] = 0x00; in fddi_header() [all …]
|
| /linux/drivers/net/usb/ |
| H A D | cx82310_eth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for USB ethernet port of Conexant CX82310-based ADSL routers 50 * - optionally send some data (command parameters) 51 * - optionally wait for the reply 52 * - optionally read some data from the reply 58 struct usb_device *udev = dev->udev; in cx82310_cmd() 62 return -ENOMEM; in cx82310_cmd() 64 /* create command packet */ in cx82310_cmd() 67 memcpy(buf + 4, wdata, min_t(int, wlen, CMD_PACKET_SIZE - 4)); in cx82310_cmd() 69 /* send command packet */ in cx82310_cmd() [all …]
|