# Functions
NewEthernetHandle implements pcap.OpenLive for network devices.
NewNgReader initializes a new writer, reads the first section header, and if necessary according to the options the first interface.
NewNgWriter initializes and returns a new writer.
NewNgWriterInterface initializes and returns a new writer.
NewReader returns a new reader object, for reading packet data from the given reader.
NewSnoopReader returns a new SnoopReader object, for reading packet data from the given SnoopReader.
NewWriter returns a new writer object, for writing packet data out to the given writer.
NewWriterNanos returns a new writer object, for writing packet data out to the given writer.
# Constants
NgNoValue64 is a placeholder for an empty numeric 64 bit value.
# Variables
DefaultNgInterface contains default interface options used by NewWriter.
DefaultNgReaderOptions provides sane defaults for a pcapng reader.
DefaultNgWriterOptions contain defaults for a pcapng writer used by NewWriter.
ErrNgLinkTypeMismatch gets returned if the link type of an interface is not the same as the link type from the first interface.
ErrNgVersionMismatch gets returned for unknown pcapng section versions.
# Structs
EthernetHandle holds shared buffers and file descriptor of af_packet socket.
NgInterface holds all the information of a pcapng interface.
NgInterfaceStatistics hold the statistic for an interface at a single point in time.
NgReader wraps an underlying bufio.NgReader to read packet data in pcapng.
NgReaderOptions holds options for reading a pcapng file.
NgSectionInfo contains additional information of a pcapng section.
NgWriter holds the internal state of a pcapng file writer.
NgWriterOptions holds options for creating a pcapng file.
Reader wraps an underlying io.Reader to read packet data in PCAP format.
SnoopReader wraps an underlying io.SnoopReader to read packet data in SNOOP format.
Writer wraps an underlying io.Writer to write packet data in PCAP format.
# Type aliases
NgResolution represents a pcapng timestamp resolution.