data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============== 6pack Protocol ============== This is the 6pack-mini-HOWTO, written by Andreas Könsgen DG3KQ :Internet: ajk@comnets.uni-bremen.de :AMPR-net: dg3kq@db0pra.ampr.org :AX.25: dg3kq@db0ach.#nrw.deu.eu Last update: April 7, 1998 1. What is 6pack, and what are the ad...
Documentation/networking/6pack.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====== AF_XDP ====== Overview ======== AF_XDP is an address family that is optimized for high performance packet processing. This document assumes that the reader is familiar with BPF and XDP. If not, the Cilium project has an excellent reference guide at http://cilium.readthedoc...
Documentation/networking/af_xdp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =========== IP-Aliasing =========== IP-aliases are an obsolete way to manage multiple IP-addresses/masks per interface. Newer tools such as iproute2 support multiple address/prefixes per interface, but aliases are still supported for backwards compatibility. An alias is formed by ...
Documentation/networking/alias.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============== ARCnet Hardware =============== :Author: Avery Pennarun <apenwarr@worldvisions.ca> .. note:: 1) This file is a supplement to arcnet.rst. Please read that for general driver configuration help. 2) This file is no longer Linux-specific. It should proba...
Documentation/networking/arcnet-hardware.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====== ARCnet ====== :Author: Avery Pennarun <apenwarr@worldvisions.ca> .. note:: See also arcnet-hardware.txt in this directory for jumper-setting and cabling information if you're like many of us and didn't happen to get a manual with your ARCnet card. Since no one se...
Documentation/networking/arcnet.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 === ATM === In order to use anything but the most primitive functions of ATM, several user-mode programs are required to assist the kernel. These programs and related material can be found via the ATM on Linux Web page at http://linux-atm.sourceforge.net/ If you encounter problems...
Documentation/networking/atm.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===== AX.25 ===== To use the amateur radio protocols within Linux you will need to get a suitable copy of the AX.25 Utilities. More detailed information about AX.25, NET/ROM and ROSE, associated programs and utilities can be found on https://linux-ax25.in-berlin.de. There is a mai...
Documentation/networking/ax25.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======================================== Bare UDP Tunnelling Module Documentation ======================================== There are various L3 encapsulation standards using UDP being discussed to leverage the UDP based load balancing capability of different networks. MPLSoUDP (htt...
Documentation/networking/bareudp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========== batman-adv ========== Batman advanced is a new approach to wireless networking which does no longer operate on the IP basis. Unlike the batman daemon, which exchanges information using UDP packets and sets routing tables, batman-advanced operates on ISO/OSI Layer 2 only ...
Documentation/networking/batman-adv.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =================================== Linux Ethernet Bonding Driver HOWTO =================================== Latest update: 27 April 2011 Initial release: Thomas Davis <tadavis at lbl.gov> Corrections, HA extensions: 2000/10/03-15: - Willy Tarreau <willy at meta-x.org> - Cons...
Documentation/networking/bonding.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================= Ethernet Bridging ================= Introduction ============ The IEEE 802.1Q-2022 (Bridges and Bridged Networks) standard defines the operation of bridges in computer networks. A bridge, in the context of this standard, is a device that connects two or more netw...
Documentation/networking/bridge.rst
null
null
null
null
null
source
linux
=================================== SocketCAN - Controller Area Network =================================== Overview / What is SocketCAN ============================ The socketcan package is an implementation of CAN protocols (Controller Area Network) for Linux. CAN is a networking technology which has widespread us...
Documentation/networking/can.rst
null
null
null
null
null
source
linux
================= The UCAN Protocol ================= UCAN is the protocol used by the microcontroller-based USB-CAN adapter that is integrated on System-on-Modules from Theobroma Systems and that is also available as a standalone USB stick. The UCAN protocol has been designed to be hardware-independent. It is modele...
Documentation/networking/can_ucan_protocol.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====================================================== cdc_mbim - Driver for CDC MBIM Mobile Broadband modems ====================================================== The cdc_mbim driver supports USB devices conforming to the "Universal Serial Bus Communications Class Subclass Specif...
Documentation/networking/cdc_mbim.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================= Checksum Offloads ================= Introduction ============ This document describes a set of techniques in the Linux networking stack to take advantage of checksum offload capabilities of various NICs. The following technologies are described: * TX Checksum ...
Documentation/networking/checksum-offloads.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====================== DCTCP (DataCenter TCP) ====================== DCTCP is an enhancement to the TCP congestion control algorithm for data center networks and leverages Explicit Congestion Notification (ECN) in the data center network to provide multi-bit feedback to the end hos...
Documentation/networking/dctcp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================= Device Memory TCP ================= Intro ===== Device memory TCP (devmem TCP) enables receiving data directly into device memory (dmabuf). The feature is currently implemented for TCP sockets. Opportunity ----------- A large number of data transfers have dev...
Documentation/networking/devmem.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =================== DNS Resolver Module =================== .. Contents: - Overview. - Compilation. - Setting up. - Usage. - Mechanism. - Debugging. Overview ======== The DNS resolver module provides a way for kernel services to make DNS queries by way of requesting a key...
Documentation/networking/dns_resolver.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================== Softnet Driver Issues ===================== Probing guidelines ================== Address validation ------------------ Any hardware layer address you obtain for your device should be verified. For example, for ethernet check it with linux/etherdevice.h:is_...
Documentation/networking/driver.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========================================== EQL Driver: Serial IP Load Balancing HOWTO ========================================== Simon "Guru Aleph-Null" Janes, simon@ncm.com v1.1, February 27, 1995 This is the manual for the EQL device driver. EQL is a software device tha...
Documentation/networking/eql.rst
null
null
null
null
null
source
linux
============================= Netlink interface for ethtool ============================= Basic information ================= Netlink interface for ethtool uses generic netlink family ``ethtool`` (userspace application should use macros ``ETHTOOL_GENL_NAME`` and ``ETHTOOL_GENL_VERSION`` defined in ``<linux/ethtool_n...
Documentation/networking/ethtool-netlink.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======== FAILOVER ======== Overview ======== The failover module provides a generic interface for paravirtual drivers to register a netdev and a set of ops with a failover instance. The ops are used as event handlers that get called to handle netdev register/ unregister/link chang...
Documentation/networking/failover.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================ LC-trie implementation notes ============================ Node types ---------- leaf An end node with data. This has a copy of the relevant key, along with 'hlist' with routing table entries sorted by prefix length. See struct leaf and struct leaf_in...
Documentation/networking/fib_trie.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. _networking-filter: ======================================================= Linux Socket Filtering aka Berkeley Packet Filter (BPF) ======================================================= Notice ------ This file used to document the eBPF format and mechanisms even when not rel...
Documentation/networking/filter.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============================================== Generic networking statistics for netlink users =============================================== Statistic counters are grouped into structs: ==================== ===================== ===================== Struct TLV ty...
Documentation/networking/gen_stats.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================== Generic HDLC layer ================== Krzysztof Halasa <khc@pm.waw.pl> Generic HDLC layer currently supports: 1. Frame Relay (ANSI, CCITT, Cisco and no LMI) - Normal (routed) and Ethernet-bridged (Ethernet device emulation) interfaces can share a sing...
Documentation/networking/generic-hdlc.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============== Generic Netlink =============== A wiki document on how to use Generic Netlink can be found here: * https://wiki.linuxfoundation.org/networking/generic_netlink_howto
Documentation/networking/generic_netlink.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================================== The Linux kernel GTP tunneling module ===================================== Documentation by Harald Welte <laforge@gnumonks.org> and Andreas Schultz <aschultz@tpip.net> In 'drivers/net/gtp.c' you are finding a kernel-level implementation...
Documentation/networking/gtp.rst
null
null
null
null
null
source
linux
=============================== IEEE 802.15.4 Developer's Guide =============================== Introduction ============ The IEEE 802.15.4 working group focuses on standardization of the bottom two layers: Medium Access Control (MAC) and Physical access (PHY). And there are mainly two options available for upper laye...
Documentation/networking/ieee802154.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =================================== Identifier Locator Addressing (ILA) =================================== Introduction ============ Identifier-locator addressing (ILA) is a technique used with IPv6 that differentiates between location and identity of a network node. Part of an ...
Documentation/networking/ila.rst
null
null
null
null
null
source
linux
Networking ========== Refer to :ref:`netdev-FAQ` for a guide on netdev development process specifics. Contents: .. toctree:: :maxdepth: 2 af_xdp bareudp batman-adv can can_ucan_protocol device_drivers/index diagnostic/index dsa/index devlink/index caif/index ethtool-netlink ie...
Documentation/networking/index.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================== IOAM6 Sysfs variables ===================== /proc/sys/net/conf/<iface>/ioam6_* variables: ============================================= ioam6_enabled - BOOL Accept (= enabled) or ignore (= disabled) IPv6 IOAM options on ingress for this inter...
Documentation/networking/ioam6-sysctl.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================== io_uring zero copy Rx ===================== Introduction ============ io_uring zero copy Rx (ZC Rx) is a feature that removes kernel-to-user copy on the network receive path, allowing packet data to be received directly into userspace memory. This feature is ...
Documentation/networking/iou-zcrx.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========= IP Sysctl ========= /proc/sys/net/ipv4/* Variables ============================== ip_forward - BOOLEAN Forward Packets between interfaces. This variable is special, its change resets all configuration parameters to their default state (RFC1122 for hosts, RFC1812 for...
Documentation/networking/ip-sysctl.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================================== IP dynamic address hack-port v0.03 ================================== This stuff allows diald ONESHOT connections to get established by dynamically changing packet source address (and socket's if local procs). It is implemented for TCP diald-box c...
Documentation/networking/ip_dynaddr.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===== IPsec ===== Here documents known IPsec corner cases which need to be keep in mind when deploy various IPsec configuration in real world production environment. 1. IPcomp: Small IP packet won't get compressed at sender, and failed on policy check on receiver. Quote ...
Documentation/networking/ipsec.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==== IPv6 ==== Options for the ipv6 module are supplied as parameters at load time. Module options may be given as command line arguments to the insmod or modprobe command, but are usually specified in either ``/etc/modules.d/*.conf`` configuration files, or in a distro-specific ...
Documentation/networking/ipv6.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =================== IPVLAN Driver HOWTO =================== Initial Release: Mahesh Bandewar <maheshb AT google.com> 1. Introduction: ================ This is conceptually very similar to the macvlan driver with one major exception of using L3 for mux-ing /demux-ing among slaves....
Documentation/networking/ipvlan.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =========== IPvs-sysctl =========== /proc/sys/net/ipv4/vs/* Variables: ================================== am_droprate - INTEGER default 10 It sets the always mode drop rate, which is used in the mode 3 of the drop_rate defense. amemthresh - INTEGER default 1024 It sets the...
Documentation/networking/ipvs-sysctl.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) ==================== ISO 15765-2 (ISO-TP) ==================== Overview ======== ISO 15765-2, also known as ISO-TP, is a transport protocol specifically defined for diagnostic communication on CAN. It is widely used in the automotive industry, for example as the ...
Documentation/networking/iso15765-2.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: (GPL-2.0 OR MIT) =================== J1939 Documentation =================== Overview / What Is J1939 ======================== SAE J1939 defines a higher layer protocol on CAN. It implements a more sophisticated addressing scheme and extends the maximum packet size above 8 bytes. Several ...
Documentation/networking/j1939.rst
null
null
null
null
null
source
linux
========================================= Linux Networking and Network Devices APIs ========================================= Linux Networking ================ Networking Base Types --------------------- .. kernel-doc:: include/linux/net.h :internal: Socket Buffer Functions ----------------------- .. kernel-doc...
Documentation/networking/kapi.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================= Kernel Connection Multiplexor ============================= Kernel Connection Multiplexor (KCM) is a mechanism that provides a message based interface over TCP for generic application protocols. With KCM an application can efficiently send and receive ...
Documentation/networking/kcm.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==== L2TP ==== Layer 2 Tunneling Protocol (L2TP) allows L2 frames to be tunneled over an IP network. This document covers the kernel's L2TP subsystem. It documents kernel APIs for application developers who want to use the L2TP subsystem and it provides some technical details abou...
Documentation/networking/l2tp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============================== The Linux LAPB Module Interface =============================== Version 1.3 Jonathan Naylor 29.12.96 Changed (Henner Eisen, 2000-10-29): int return value for data_indication() The LAPB module will be a separately compiled module for use by any par...
Documentation/networking/lapb-module.rst
null
null
null
null
null
source
linux
# # This outlines the Linux authentication/association and # deauthentication/disassociation flows. # # This can be converted into a diagram using the service # at http://www.websequencediagrams.com/ # participant userspace participant mac80211 participant driver alt authentication needed (not FT) userspace->mac80211...
Documentation/networking/mac80211-auth-assoc-deauth.txt
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========================================= How to use packet injection with mac80211 ========================================= mac80211 now allows arbitrary packets to be injected down any Monitor Mode interface from userland. The packet you inject needs to be composed in the follo...
Documentation/networking/mac80211-injection.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================================== Management Component Transport Protocol (MCTP) ============================================== net/mctp/ contains protocol support for MCTP, as defined by DMTF standard DSP0236. Physical interface drivers ("bindings" in the specificatio...
Documentation/networking/mctp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==================== MPLS Sysfs variables ==================== /proc/sys/net/mpls/* Variables: =============================== platform_labels - INTEGER Number of entries in the platform label table. It is not possible to configure forwarding for label values equal to or great...
Documentation/networking/mpls-sysctl.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================== MPTCP Sysfs variables ===================== /proc/sys/net/mptcp/* Variables =============================== add_addr_timeout - INTEGER (seconds) Set the maximum value of timeout after which an ADD_ADDR control message will be resent to an MPTCP peer that ha...
Documentation/networking/mptcp-sysctl.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================== Multipath TCP (MPTCP) ===================== Introduction ============ Multipath TCP or MPTCP is an extension to the standard TCP and is described in `RFC 8684 (MPTCPv1) <https://www.rfc-editor.org/rfc/rfc8684.html>`_. It allows a device to make use of multipl...
Documentation/networking/mptcp.rst
null
null
null
null
null
source
linux
============ MSG_ZEROCOPY ============ Intro ===== The MSG_ZEROCOPY flag enables copy avoidance for socket send calls. The feature is currently implemented for TCP, UDP and VSOCK (with virtio transport) sockets. Opportunity and Caveats ----------------------- Copying large buffers between user process and kernel c...
Documentation/networking/msg_zerocopy.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. include:: <isonum.txt> =============== Multi-PF Netdev =============== Contents ======== - `Background`_ - `Overview`_ - `mlx5 implementation`_ - `Channels distribution`_ - `Observability`_ - `Steering`_ - `Mutually exclusive features`_ Background ========== The Multi-PF NIC ...
Documentation/networking/multi-pf-netdev.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =========================================== HOWTO for multiqueue network device support =========================================== Section 1: Base driver requirements for implementing multiqueue support ======================================================================= Intro...
Documentation/networking/multiqueue.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) .. _napi: ==== NAPI ==== NAPI is the event handling mechanism used by the Linux networking stack. The name NAPI no longer stands for anything in particular [#]_. In basic operation the device notifies the host about new events via an interrupt. The host the...
Documentation/networking/napi.rst
null
null
null
null
null
source
linux
====================================================== Net DIM - Generic Network Dynamic Interrupt Moderation ====================================================== :Author: Tal Gilboa <talgi@mellanox.com> .. contents:: :depth: 2 Assumptions =========== This document assumes the reader has basic knowledge in networ...
Documentation/networking/net_dim.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============ NET_FAILOVER ============ Overview ======== The net_failover driver provides an automated failover mechanism via APIs to create and destroy a failover master netdev and manages a primary and standby slave netdevs that get registered via the generic failover infrastruc...
Documentation/networking/net_failover.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========== Netconsole ========== started by Ingo Molnar <mingo@redhat.com>, 2001.09.17 2.6 port and netpoll api by Matt Mackall <mpm@selenic.com>, Sep 9 2003 IPv6 support by Cong Wang <xiyou.wangcong@gmail.com>, Jan 1 2013 Extended console support by Tejun Heo <tj@kernel.org>, ...
Documentation/networking/netconsole.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================================================== Netdev features mess and how to get out from it alive ===================================================== Author: Michał Mirosław <mirq-linux@rere.qmqm.pl> Part I: Feature sets ==================== Long gone are the days ...
Documentation/networking/netdev-features.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================================== Network Devices, the Kernel, and You! ===================================== Introduction ============ The following is a random collection of documentation regarding network devices. It is intended for driver developers. struct net_device lif...
Documentation/networking/netdevices.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========================= Netfilter Sysfs variables ========================= /proc/sys/net/netfilter/* Variables: ==================================== nf_log_all_netns - BOOLEAN - 0 - disabled (default) - not 0 - enabled By default, only init_net namespace can log packets int...
Documentation/networking/netfilter-sysctl.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============== NETIF Msg Level =============== The design of the network interface message level setting. History ------- The design of the debugging message interface was guided and constrained by backwards compatibility previous practice. It is useful to understand the his...
Documentation/networking/netif-msg.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================================== Netmem Support for Network Drivers ================================== This document outlines the requirements for network drivers to support netmem, an abstract memory type that enables features like device memory TCP. By supporting netmem, driver...
Documentation/networking/netmem.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========================= Resilient Next-hop Groups ========================= Resilient groups are a type of next-hop group that is aimed at minimizing disruption in flow routing across changes to the group composition and weights of constituent next hops. The idea behind resilien...
Documentation/networking/nexthop-group-resilient.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =================================== Netfilter Conntrack Sysfs variables =================================== /proc/sys/net/netfilter/nf_conntrack_* Variables: ================================================= nf_conntrack_acct - BOOLEAN - 0 - disabled (default) - not 0 - enabled ...
Documentation/networking/nf_conntrack-sysctl.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==================================== Netfilter's flowtable infrastructure ==================================== This documentation describes the Netfilter flowtable infrastructure which allows you to define a fastpath through the flowtable datapath. This infrastructure also provides...
Documentation/networking/nf_flowtable.rst
null
null
null
null
null
source
linux
=================== Linux NFC subsystem =================== The Near Field Communication (NFC) subsystem is required to standardize the NFC device drivers development and to create an unified userspace interface. This document covers the architecture overview, the device driver interface description and the userspace...
Documentation/networking/nfc.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0+ ========================================================================= OPEN Alliance 10BASE-T1x MAC-PHY Serial Interface (TC6) Framework Support ========================================================================= Introduction ------------ The IEEE 802.3cg project defines...
Documentation/networking/oa-tc6-framework.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================================= Open vSwitch datapath developer documentation ============================================= The Open vSwitch kernel module allows flexible userspace control over flow-level packet processing on selected network devices. It can be used ...
Documentation/networking/openvswitch.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================== Operational States ================== 1. Introduction =============== Linux distinguishes between administrative and operational state of an interface. Administrative state is the result of "ip link set dev <dev> up or down" and reflects whether the administrat...
Documentation/networking/operstates.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =========== Packet MMAP =========== Abstract ======== This file documents the mmap() facility available with the PACKET socket interface. This type of sockets is used for i) capture network traffic with utilities like tcpdump, ii) transmit network traffic, or any other that needs...
Documentation/networking/packet_mmap.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============= Page Pool API ============= .. kernel-doc:: include/net/page_pool/helpers.h :doc: page_pool allocator Architecture overview ===================== .. code-block:: none +------------------+ | Driver | +------------------+ ^ ...
Documentation/networking/page_pool.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. include:: <isonum.txt> ============================ Linux Phonet protocol family ============================ Introduction ------------ Phonet is a packet protocol used by Nokia cellular modems for both IPC and RPC. With the Linux Phonet socket family, Linux host processes can ...
Documentation/networking/phonet.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. _phy_link_topology: ================= PHY link topology ================= Overview ======== The PHY link topology representation in the networking stack aims at representing the hardware layout for any given Ethernet link. An Ethernet interface from userspace's point of view i...
Documentation/networking/phy-link-topology.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. _phy_port: ================= Ethernet ports ================= This document is a basic description of the phy_port infrastructure, introduced to represent physical interfaces of Ethernet devices. Without phy_port, we already have quite a lot of information about what the media-...
Documentation/networking/phy-port.rst
null
null
null
null
null
source
linux
===================== PHY Abstraction Layer ===================== Purpose ======= Most network devices consist of set of registers which provide an interface to a MAC layer, which communicates with the physical connection through a PHY. The PHY concerns itself with negotiating link parameters with the link partner o...
Documentation/networking/phy.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==================================== HOWTO for the linux packet generator ==================================== Enable CONFIG_NET_PKTGEN to compile and build pktgen either in-kernel or as a module. A module is preferred; modprobe pktgen if needed. Once running, pktgen creates a th...
Documentation/networking/pktgen.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================================================ PLIP: The Parallel Line Internet Protocol Device ================================================ Donald Becker (becker@super.org) I.D.A. Supercomputing Research Center, Bowie MD 20715 At some point T. Thorn will probably contribute...
Documentation/networking/plip.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======================================== PPP Generic Driver and Channel Interface ======================================== Paul Mackerras paulus@samba.org 7 Feb 2002 The generic PPP driver in linux-2.4 provides an implementation of the functionality which is ...
Documentation/networking/ppp_generic.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================================ The proc/net/tcp and proc/net/tcp6 variables ============================================ This document describes the interfaces /proc/net/tcp and /proc/net/tcp6. Note that these interfaces are deprecated in favor of tcp_diag. These /pr...
Documentation/networking/proc_net_tcp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0-only ===================== PSP Security Protocol ===================== Protocol ======== PSP Security Protocol (PSP) was defined at Google and published in: https://raw.githubusercontent.com/google/psp/main/doc/PSP_Arch_Spec.pdf This section briefly covers protocol aspects cruci...
Documentation/networking/psp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =========================== How to use radiotap headers =========================== Pointer to the radiotap include file ------------------------------------ Radiotap headers are variable-length and extensible, you can get most of the information you need to know on them from:: ...
Documentation/networking/radiotap-headers.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 === RDS === Overview ======== This readme tries to provide some background on the hows and whys of RDS, and will hopefully help you find your way around the code. In addition, please see this email about RDS origins: http://oss.oracle.com/pipermail/rds-devel/2007-November/000228....
Documentation/networking/rds.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======================================= Linux wireless regulatory documentation ======================================= This document gives a brief review over how the Linux wireless regulatory infrastructure works. More up to date information can be obtained at the project's web ...
Documentation/networking/regulatory.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. _representors: ============================= Network Function Representors ============================= This document describes the semantics and usage of representor netdevices, as used to control internal switching on SmartNICs. For the closely-related port representors on p...
Documentation/networking/representors.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====================== RxRPC Network Protocol ====================== The RxRPC protocol driver provides a reliable two-phase transport on top of UDP that can be used to perform RxRPC remote operations. This is done over sockets of AF_RXRPC family, using sendmsg() and recvmsg() wit...
Documentation/networking/rxrpc.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================================== Scaling in the Linux Networking Stack ===================================== Introduction ============ This document describes a set of complementary techniques in the Linux networking stack to increase parallelism and improve performance for ...
Documentation/networking/scaling.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================= Linux Kernel SCTP ================= This is the current BETA release of the Linux Kernel SCTP reference implementation. SCTP (Stream Control Transmission Protocol) is a IP based, message oriented, reliable transport protocol, with congestion control, support for ...
Documentation/networking/sctp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================= LSM/SeLinux secid ================= flowi structure: The secid member in the flow structure is used in LSMs (e.g. SELinux) to indicate the label of the flow. This label of the flow is currently used in selecting matching labeled xfrm(s). If this is an outbound f...
Documentation/networking/secid.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==================== Seg6 Sysfs variables ==================== /proc/sys/net/conf/<iface>/seg6_* variables: ============================================ seg6_enabled - BOOL Accept or drop SR-enabled IPv6 packets on this interface. Relevant packets are those with SRH present an...
Documentation/networking/seg6-sysctl.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================== Segmentation Offloads ===================== Introduction ============ This document describes a set of techniques in the Linux networking stack to take advantage of segmentation offload capabilities of various NICs. The following technologies are described:...
Documentation/networking/segmentation-offloads.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======= phylink ======= Overview ======== phylink is a mechanism to support hot-pluggable networking modules directly connected to a MAC without needing to re-initialise the adapter on hot-plug events. phylink supports conventional phylib-based setups, fixed link setups and SFP (...
Documentation/networking/sfp-phylink.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 struct sk_buff ============== :c:type:`sk_buff` is the main networking structure representing a packet. Basic sk_buff geometry ---------------------- .. kernel-doc:: include/linux/skbuff.h :doc: Basic sk_buff geometry Shared skbs and skb clones -------------------------- :c:...
Documentation/networking/skbuff.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========== SMC Sysctl ========== /proc/sys/net/smc/* Variables ============================= autocorking_size - INTEGER Setting SMC auto corking size: SMC auto corking is like TCP auto corking from the application's perspective of view. When applications do consecutive small w...
Documentation/networking/smc-sysctl.rst
null
null
null
null
null
source
linux
============ SNMP counter ============ This document explains the meaning of SNMP counters. General IPv4 counters ===================== All layer 4 packets and ICMP packets will change these counters, but these counters won't be changed by layer 2 packets (such as STP) or ARP packets. * IpInReceives Defined in `RFC...
Documentation/networking/snmp_counter.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============== NIC SR-IOV APIs =============== Modern NICs are strongly encouraged to focus on implementing the ``switchdev`` model (see :ref:`switchdev`) to configure forwarding and security of SR-IOV functionality. Legacy API ========== The old SR-IOV API is implemented in ``r...
Documentation/networking/sriov.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==================== Interface statistics ==================== Overview ======== This document is a guide to Linux network interface statistics. There are three main sources of interface statistics in Linux: - standard interface statistics based on :c:type:`struct rtnl_link_...
Documentation/networking/statistics.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========================= Stream Parser (strparser) ========================= Introduction ============ The stream parser (strparser) is a utility that parses messages of an application layer protocol running over a data stream. The stream parser works in conjunction with an upper...
Documentation/networking/strparser.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. include:: <isonum.txt> .. _switchdev: =============================================== Ethernet switch device driver model (switchdev) =============================================== Copyright |copy| 2014 Jiri Pirko <jiri@resnulli.us> Copyright |copy| 2014-2015 Scott Feldman <sf...
Documentation/networking/switchdev.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============= Sysfs tagging ============= (Taken almost verbatim from Eric Biederman's netns tagging patch commit msg) The problem. Network devices show up in sysfs and with the network namespace active multiple devices with the same name can show up in the same directory, ouch! ...
Documentation/networking/sysfs-tagging.rst
null
null
null
null
null