Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FifoStats ¶
type FifoStats struct {
// contains filtered or unexported fields
}
func MakeFifoStats ¶
type MappedVMO ¶
type MappedVMO struct {
// contains filtered or unexported fields
}
MappedVMO own a VMO and its mapping into process memory. It provides common operations for memory mapped VMOs. Closing it will cause the mapped region to be unmapped.
func MapVMO ¶
MapVmo maps a vmo into the process' memory space. It does not take ownership of the VMO.
func NewMappedVMO ¶
NewMappedVMO creates a new VMO the given name and size, in bytes, and maps it to the process' memory space.
func (*MappedVMO) GetData ¶
GetData returns a slice view into the mapped VMO with offset and length. If the provided range is not within bounds of the VMO, GetData panics.
func (*MappedVMO) GetPointer ¶
GetPointer returns a pointer to the mapped VMO at offset. If the offset is not within bounds of the mapped VMO, GetPointer panics.
type TxStats ¶
type TxStats struct { FifoStats Drops tcpip.StatCounter }