package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
NewProtocol is equivalent to NewProtocolWithOptions with an empty Options.
NewProtocolWithOptions returns an IPv4 network protocol.
# Constants
DefaultTTL is the default time-to-live value for this endpoint.
IGMPVersion1 indicates IGMPv1.
IGMPVersion2 indicates IGMPv2.
IGMPVersion3 indicates IGMPv3.
MaxTotalSize is maximum size that can be encoded in the 16-bit TotalLength field of the ipv4 header.
ProtocolNumber is the ipv4 protocol number.
ReassembleTimeout is the time a packet stays in the reassembly system before being evicted.
UnsolicitedReportIntervalMax is the maximum delay between sending unsolicited IGMP reports.
# Structs
IGMPOptions holds options for IGMP.
Options holds options to configure a new protocol.
Stats holds statistics related to the IPv4 protocol family.
# Interfaces
IGMPEndpoint is a network endpoint that supports IGMP.
# Type aliases
IGMPVersion is the forced version of IGMP.