Documentation ¶
Index ¶
Constants ¶
View Source
const ( SizeOfInt = C.sizeof_int SizeOfTimespec = C.sizeof_struct_timespec )
Variables ¶
This section is empty.
Functions ¶
func NewReadMessages ¶
func NewWriteMessages ¶
Types ¶
type Conn ¶
type Conn interface { Read(common.RawBytes) (int, *ReadMeta, error) ReadBatch([]ipv4.Message, []ReadMeta) (int, error) Write(common.RawBytes) (int, error) WriteTo(common.RawBytes, *topology.AddrInfo) (int, error) WriteBatch([]ipv4.Message) (int, error) LocalAddr() *topology.AddrInfo RemoteAddr() *topology.AddrInfo Close() error }
type ReadMeta ¶
type Timespec ¶
type Timespec C.struct_timespec
Click to show internal directories.
Click to hide internal directories.