pkg/

directory
v0.0.0-...-799fb6b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: Apache-2.0, MIT

Directories

Path Synopsis
abi
Package abi describes the interface between a kernel and userspace.
Package abi describes the interface between a kernel and userspace.
gasket
Package gasket describes the userspace interface for Gasket devices.
Package gasket describes the userspace interface for Gasket devices.
linux
Package linux contains the constants and types needed to interface with a Linux kernel.
Package linux contains the constants and types needed to interface with a Linux kernel.
linux/errno
Package errno holds errno codes for abi/linux.
Package errno holds errno codes for abi/linux.
nvgpu
Package nvgpu tracks the ABI of the Nvidia GPU Linux kernel driver: https://github.com/NVIDIA/open-gpu-kernel-modules
Package nvgpu tracks the ABI of the Nvidia GPU Linux kernel driver: https://github.com/NVIDIA/open-gpu-kernel-modules
sentry
Package sentry contains ABI-related constants for the gVisor sentry.
Package sentry contains ABI-related constants for the gVisor sentry.
tpu
Package tpu defines constants used to interact with TPUs.
Package tpu defines constants used to interact with TPUs.
Package atomicbitops provides extensions to the sync/atomic package.
Package atomicbitops provides extensions to the sync/atomic package.
Package binary translates between select fixed-sized types and a binary representation.
Package binary translates between select fixed-sized types and a binary representation.
Package bitmap provides the implementation of bitmap.
Package bitmap provides the implementation of bitmap.
Package bits includes all bit related types and operations.
Package bits includes all bit related types and operations.
Package bpf provides tools for working with Berkeley Packet Filter (BPF) programs.
Package bpf provides tools for working with Berkeley Packet Filter (BPF) programs.
Package buffer provides the implementation of a non-contiguous buffer that is reference counted, pooled, and copy-on-write.
Package buffer provides the implementation of a non-contiguous buffer that is reference counted, pooled, and copy-on-write.
Package cleanup provides utilities to clean "stuff" on defers.
Package cleanup provides utilities to clean "stuff" on defers.
Package compressio provides parallel compression and decompression, as well as optional SHA-256 hashing.
Package compressio provides parallel compression and decompression, as well as optional SHA-256 hashing.
Package context defines an internal context type.
Package context defines an internal context type.
control
client
Package client provides a basic control client interface.
Package client provides a basic control client interface.
server
Package server provides a basic control server interface.
Package server provides a basic control server interface.
Package coretag implements core tagging.
Package coretag implements core tagging.
Package cpuid provides basic functionality for creating and adjusting CPU feature sets.
Package cpuid provides basic functionality for creating and adjusting CPU feature sets.
Package devutil provides device specific utilities.
Package devutil provides device specific utilities.
Package erofs provides the ability to access the contents in an EROFS [1] image.
Package erofs provides the ability to access the contents in an EROFS [1] image.
Package errors holds the standardized error definition for gVisor.
Package errors holds the standardized error definition for gVisor.
linuxerr
Package linuxerr contains syscall error codes exported as an error interface pointers.
Package linuxerr contains syscall error codes exported as an error interface pointers.
Package eventfd wraps Linux's eventfd(2) syscall.
Package eventfd wraps Linux's eventfd(2) syscall.
Package fd provides types for working with file descriptors.
Package fd provides types for working with file descriptors.
Package fdchannel implements passing file descriptors between processes over Unix domain sockets.
Package fdchannel implements passing file descriptors between processes over Unix domain sockets.
Package fdnotifier contains an adapter that translates IO events (e.g., a file became readable/writable) from native FDs to the notifications in the waiter package.
Package fdnotifier contains an adapter that translates IO events (e.g., a file became readable/writable) from native FDs to the notifications in the waiter package.
Package flipcall implements a protocol providing Fast Local Interprocess Procedure Calls between mutually-distrusting processes.
Package flipcall implements a protocol providing Fast Local Interprocess Procedure Calls between mutually-distrusting processes.
Package fspath provides efficient tools for working with file paths in Linux-compatible filesystem implementations.
Package fspath provides efficient tools for working with file paths in Linux-compatible filesystem implementations.
Package fsutil contains filesystem utilities that can be shared between the sentry and other sandbox components.
Package fsutil contains filesystem utilities that can be shared between the sentry and other sandbox components.
Package gohacks contains utilities for subverting the Go compiler.
Package gohacks contains utilities for subverting the Go compiler.
Package goid provides the Get function.
Package goid provides the Get function.
Package hostarch contains host arch address operations for user memory.
Package hostarch contains host arch address operations for user memory.
Package hosttid provides the Current function.
Package hosttid provides the Current function.
Package linewriter provides an io.Writer which calls an emitter on each line.
Package linewriter provides an io.Writer which calls an emitter on each line.
Package lisafs (LInux SAndbox FileSystem) defines the protocol for filesystem RPCs between an untrusted Sandbox (client) and a trusted filesystem server.
Package lisafs (LInux SAndbox FileSystem) defines the protocol for filesystem RPCs between an untrusted Sandbox (client) and a trusted filesystem server.
Package log implements a library for logging.
Package log implements a library for logging.
Package marshal defines the Marshallable interface for serialize/deserializing go data structures to/from memory, according to the Linux ABI.
Package marshal defines the Marshallable interface for serialize/deserializing go data structures to/from memory, according to the Linux ABI.
primitive
Package primitive defines marshal.Marshallable implementations for primitive types.
Package primitive defines marshal.Marshallable implementations for primitive types.
Package memutil provides utilities for working with shared memory files.
Package memutil provides utilities for working with shared memory files.
Package p9 is a 9P2000.L implementation.
Package p9 is a 9P2000.L implementation.
Package pool provides a trivial integer pool.
Package pool provides a trivial integer pool.
Package rand implements a cryptographically secure pseudorandom number generator.
Package rand implements a cryptographically secure pseudorandom number generator.
Package refs defines an interface for reference counted objects.
Package refs defines an interface for reference counted objects.
Package safecopy provides an efficient implementation of functions to access memory that may result in SIGSEGV or SIGBUS being sent to the accessor.
Package safecopy provides an efficient implementation of functions to access memory that may result in SIGSEGV or SIGBUS being sent to the accessor.
Package safemem provides the Block and BlockSeq types.
Package safemem provides the Block and BlockSeq types.
Package secio provides support for sectioned I/O.
Package secio provides support for sectioned I/O.
Package sighandling contains helpers for handling signals to applications.
Package sighandling contains helpers for handling signals to applications.
Package sleep allows goroutines to efficiently sleep on multiple sources of notifications (wakers).
Package sleep allows goroutines to efficiently sleep on multiple sources of notifications (wakers).
Package state provides functionality related to saving and loading object graphs.
Package state provides functionality related to saving and loading object graphs.
pretty
Package pretty is a pretty-printer for state streams.
Package pretty is a pretty-printer for state streams.
statefile
Package statefile defines the state file data stream.
Package statefile defines the state file data stream.
wire
Package wire contains a few basic types that can be composed to serialize graph information for the state package.
Package wire contains a few basic types that can be composed to serialize graph information for the state package.
Package sync provides synchronization primitives.
Package sync provides synchronization primitives.
locking
Package locking implements lock primitives with the correctness validator.
Package locking implements lock primitives with the correctness validator.
Package syncevent provides efficient primitives for goroutine synchronization based on event bitmasks.
Package syncevent provides efficient primitives for goroutine synchronization based on event bitmasks.
Package syserr contains sandbox-internal errors.
Package syserr contains sandbox-internal errors.
Package tcpip provides the interfaces and related types that users of the tcpip stack will use in order to create endpoints used to send and receive data over the network stack.
Package tcpip provides the interfaces and related types that users of the tcpip stack will use in order to create endpoints used to send and receive data over the network stack.
adapters/gonet
Package gonet provides a Go net package compatible wrapper for a tcpip stack.
Package gonet provides a Go net package compatible wrapper for a tcpip stack.
checksum
Package checksum provides the implementation of the encoding and decoding of network protocol headers.
Package checksum provides the implementation of the encoding and decoding of network protocol headers.
faketime
Package faketime provides a fake clock that implements tcpip.Clock interface.
Package faketime provides a fake clock that implements tcpip.Clock interface.
hash/jenkins
Package jenkins implements Jenkins's one_at_a_time, non-cryptographic hash functions created by by Bob Jenkins.
Package jenkins implements Jenkins's one_at_a_time, non-cryptographic hash functions created by by Bob Jenkins.
header
Package header provides the implementation of the encoding and decoding of network protocol headers.
Package header provides the implementation of the encoding and decoding of network protocol headers.
header/parse
Package parse provides utilities to parse packets.
Package parse provides utilities to parse packets.
internal/tcp
Package tcp contains internal type definitions that are not expected to be used by anyone else outside pkg/tcpip.
Package tcp contains internal type definitions that are not expected to be used by anyone else outside pkg/tcpip.
link/channel
Package channel provides the implementation of channel-based data-link layer endpoints.
Package channel provides the implementation of channel-based data-link layer endpoints.
link/ethernet
Package ethernet provides an implementation of an ethernet link endpoint that wraps an inner link endpoint.
Package ethernet provides an implementation of an ethernet link endpoint that wraps an inner link endpoint.
link/fdbased
Package fdbased provides the implementation of data-link layer endpoints backed by boundary-preserving file descriptors (e.g., TUN devices, seqpacket/datagram sockets).
Package fdbased provides the implementation of data-link layer endpoints backed by boundary-preserving file descriptors (e.g., TUN devices, seqpacket/datagram sockets).
link/loopback
Package loopback provides the implementation of loopback data-link layer endpoints.
Package loopback provides the implementation of loopback data-link layer endpoints.
link/muxed
Package muxed provides a muxed link endpoints.
Package muxed provides a muxed link endpoints.
link/nested
Package nested provides helpers to implement the pattern of nested stack.LinkEndpoints.
Package nested provides helpers to implement the pattern of nested stack.LinkEndpoints.
link/packetsocket
Package packetsocket provides a link endpoint that enables delivery of incoming and outgoing packets to any interested packet sockets.
Package packetsocket provides a link endpoint that enables delivery of incoming and outgoing packets to any interested packet sockets.
link/pipe
Package pipe provides the implementation of pipe-like data-link layer endpoints.
Package pipe provides the implementation of pipe-like data-link layer endpoints.
link/qdisc/fifo
Package 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.
Package 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.
link/rawfile
Package rawfile contains utilities for using the netstack with raw host files on Linux hosts.
Package rawfile contains utilities for using the netstack with raw host files on Linux hosts.
link/sharedmem
Package sharedmem provides the implementation of data-link layer endpoints backed by shared memory.
Package sharedmem provides the implementation of data-link layer endpoints backed by shared memory.
link/sharedmem/pipe
Package pipe implements a shared memory ring buffer on which a single reader and a single writer can operate (read/write) concurrently.
Package pipe implements a shared memory ring buffer on which a single reader and a single writer can operate (read/write) concurrently.
link/sharedmem/queue
Package queue provides the implementation of transmit and receive queues based on shared memory ring buffers.
Package queue provides the implementation of transmit and receive queues based on shared memory ring buffers.
link/sniffer
Package sniffer provides the implementation of data-link layer endpoints that wrap another endpoint and logs inbound and outbound packets.
Package sniffer provides the implementation of data-link layer endpoints that wrap another endpoint and logs inbound and outbound packets.
link/stopfd
Package stopfd provides an type that can be used to signal the stop of a dispatcher.
Package stopfd provides an type that can be used to signal the stop of a dispatcher.
link/tun
Package tun contains methods to open TAP and TUN devices.
Package tun contains methods to open TAP and TUN devices.
link/waitable
Package 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).
Package 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).
link/xdp
Package xdp provides link layer endpoints backed by AF_XDP sockets.
Package xdp provides link layer endpoints backed by AF_XDP sockets.
network/arp
Package arp implements the ARP network protocol.
Package arp implements the ARP network protocol.
network/hash
Package hash contains utility functions for hashing.
Package hash contains utility functions for hashing.
network/internal/fragmentation
Package fragmentation contains the implementation of IP fragmentation.
Package fragmentation contains the implementation of IP fragmentation.
network/internal/ip
Package ip holds IPv4/IPv6 common utilities.
Package ip holds IPv4/IPv6 common utilities.
network/internal/multicast
Package multicast contains utilities for supporting multicast routing.
Package multicast contains utilities for supporting multicast routing.
network/ipv4
Package ipv4 contains the implementation of the ipv4 network protocol.
Package ipv4 contains the implementation of the ipv4 network protocol.
network/ipv6
Package ipv6 contains the implementation of the ipv6 network protocol.
Package ipv6 contains the implementation of the ipv6 network protocol.
ports
Package ports provides PortManager that manages allocating, reserving and releasing ports.
Package ports provides PortManager that manages allocating, reserving and releasing ports.
seqnum
Package seqnum defines the types and methods for TCP sequence numbers such that they fit in 32-bit words and work properly when overflows occur.
Package seqnum defines the types and methods for TCP sequence numbers such that they fit in 32-bit words and work properly when overflows occur.
stack
Package stack provides the glue between networking protocols and the consumers of the networking stack.
Package stack provides the glue between networking protocols and the consumers of the networking stack.
transport
Package transport supports transport protocols.
Package transport supports transport protocols.
transport/icmp
Package icmp contains the implementation of the ICMP and IPv6-ICMP transport protocols for use in ping.
Package icmp contains the implementation of the ICMP and IPv6-ICMP transport protocols for use in ping.
transport/internal/network
Package network provides facilities to support tcpip.Endpoints that operate at the network layer or above.
Package network provides facilities to support tcpip.Endpoints that operate at the network layer or above.
transport/internal/noop
Package noop contains an endpoint that implements all tcpip.Endpoint functions as noops.
Package noop contains an endpoint that implements all tcpip.Endpoint functions as noops.
transport/packet
Package packet provides the implementation of packet sockets (see packet(7)).
Package packet provides the implementation of packet sockets (see packet(7)).
transport/raw
Package raw provides the implementation of raw sockets (see raw(7)).
Package raw provides the implementation of raw sockets (see raw(7)).
transport/tcp
Package tcp contains the implementation of the TCP transport protocol.
Package tcp contains the implementation of the TCP transport protocol.
transport/tcpconntrack
Package tcpconntrack implements a TCP connection tracking object.
Package tcpconntrack implements a TCP connection tracking object.
transport/udp
Package udp contains the implementation of the UDP transport protocol.
Package udp contains the implementation of the UDP transport protocol.
Package unet provides a minimal net package based on Unix Domain Sockets.
Package unet provides a minimal net package based on Unix Domain Sockets.
Package urpc provides a minimal RPC package based on unet.
Package urpc provides a minimal RPC package based on unet.
Package usermem governs access to user memory.
Package usermem governs access to user memory.
Package waiter provides the implementation of a wait queue, where waiters can be enqueued to be notified when an event of interest happens.
Package waiter provides the implementation of a wait queue, where waiters can be enqueued to be notified when an event of interest happens.
Package xdp provides tools for working with AF_XDP sockets.
Package xdp provides tools for working with AF_XDP sockets.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL