gvisorgvisor.dev/gvisor/pkg/tcpip/transport Index | Files | Directories

package transport

import "gvisor.dev/gvisor/pkg/tcpip/transport"

Package transport supports transport protocols.

Index

Types

type DatagramEndpointState

type DatagramEndpointState tcpip.EndpointState

DatagramEndpointState is the state of a datagram-based endpoint.

const (
	DatagramEndpointStateInitial DatagramEndpointState
	DatagramEndpointStateBound
	DatagramEndpointStateConnected
	DatagramEndpointStateClosed
)

The states a datagram-based endpoint may be in.

func (DatagramEndpointState) String

func (s DatagramEndpointState) String() string

String implements fmt.Stringer.

Source Files

datagram.go transport.go

Directories

PathSynopsis
pkg/tcpip/transport/icmpPackage icmp contains the implementation of the ICMP and IPv6-ICMP transport protocols for use in ping.
pkg/tcpip/transport/internal
pkg/tcpip/transport/packetPackage packet provides the implementation of packet sockets (see packet(7)).
pkg/tcpip/transport/rawPackage raw provides the implementation of raw sockets (see raw(7)).
pkg/tcpip/transport/tcpPackage tcp contains the implementation of the TCP transport protocol.
pkg/tcpip/transport/tcpconntrackPackage tcpconntrack implements a TCP connection tracking object.
pkg/tcpip/transport/tcp/test
pkg/tcpip/transport/tcp/test/e2ePackage e2e contains definitions common to all e2e tcp tests.
pkg/tcpip/transport/tcp/testing
pkg/tcpip/transport/tcp/testing/contextPackage context provides a test context for use in tcp tests.
pkg/tcpip/transport/testing
pkg/tcpip/transport/testing/contextPackage context provides a context used by datagram-based network endpoints tests.
pkg/tcpip/transport/udpPackage udp contains the implementation of the UDP transport protocol.
Version
v0.0.0-20250605235530-a6711d1e1dc6 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
4 hours ago

Tools for package owners.