link/ directory

Directories

PathSynopsis
pkg/tcpip/link/channelPackage channel provides the implementation of channel-based data-link layer endpoints.
pkg/tcpip/link/ethernetPackage ethernet provides an implementation of an ethernet link endpoint that wraps an inner link endpoint.
pkg/tcpip/link/fdbasedPackage fdbased provides the implementation of data-link layer endpoints backed by boundary-preserving file descriptors (e.g., TUN devices, seqpacket/datagram sockets).
pkg/tcpip/link/loopbackPackage loopback provides the implementation of loopback data-link layer endpoints.
pkg/tcpip/link/muxedPackage muxed provides a muxed link endpoints.
pkg/tcpip/link/nestedPackage nested provides helpers to implement the pattern of nested stack.LinkEndpoints.
pkg/tcpip/link/packetsocketPackage packetsocket provides a link endpoint that enables delivery of incoming and outgoing packets to any interested packet sockets.
pkg/tcpip/link/pipePackage pipe provides the implementation of pipe-like data-link layer endpoints.
pkg/tcpip/link/qdisc
pkg/tcpip/link/qdisc/fifoPackage fifo provides the implementation of FIFO queuing discipline that queues all outbound packets and asynchronously dispatches them to the lower link endpoint in the order that they were queued.
pkg/tcpip/link/sharedmemPackage sharedmem provides the implementation of data-link layer endpoints backed by shared memory.
pkg/tcpip/link/sharedmem/pipePackage pipe implements a shared memory ring buffer on which a single reader and a single writer can operate (read/write) concurrently.
pkg/tcpip/link/sharedmem/queuePackage queue provides the implementation of transmit and receive queues based on shared memory ring buffers.
pkg/tcpip/link/snifferPackage sniffer provides the implementation of data-link layer endpoints that wrap another endpoint and logs inbound and outbound packets.
pkg/tcpip/link/stopfdPackage stopfd provides an type that can be used to signal the stop of a dispatcher.
pkg/tcpip/link/tunPackage tun contains methods to open TAP and TUN devices.
pkg/tcpip/link/vethPackage veth provides the implementation of virtual ethernet device pair.
pkg/tcpip/link/waitablePackage waitable provides the implementation of data-link layer endpoints that wrap other endpoints, and can wait for inflight calls to WritePacket or DeliverNetworkPacket to finish (and new ones to be prevented).
pkg/tcpip/link/xdpPackage xdp provides link layer endpoints backed by AF_XDP sockets.
Version
v0.0.0-20250515200445-d30c58e5b8a4 (latest)
Published
May 15, 2025
Platform
linux/amd64
Last checked
12 hours ago

Tools for package owners.