Documentation
¶
Index ¶
- Constants
- func Init() error
- type ImmutableState
- type Inode
- type InodeTable
- type Socket
- func (s *Socket) Accept(flags int) (*Socket, syscall.Errno, error)
- func (s *Socket) Bind(addr netip.AddrPort) (syscall.Errno, error)
- func (s *Socket) BindAddr() (netip.AddrPort, syscall.Errno, error)
- func (s *Socket) Close() syscall.Errno
- func (s *Socket) Connect(addr netip.AddrPort) (syscall.Errno, error)
- func (s *Socket) Errno() unix.Errno
- func (s *Socket) Listen(backlog int) (syscall.Errno, error)
- func (s *Socket) LogValue() slog.Value
- func (s *Socket) PeerAddr() (netip.AddrPort, syscall.Errno, error)
Constants ¶
View Source
const ( StatePassive = iota StateConnected StateConnecting StateListening StateClosed )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImmutableState ¶
type ImmutableState struct {
// contains filtered or unexported fields
}
type InodeTable ¶
type InodeTable struct {
// contains filtered or unexported fields
}
func NewInodeTable ¶
func NewInodeTable() *InodeTable
func (*InodeTable) Add ¶
func (t *InodeTable) Add(ino *Inode)
Click to show internal directories.
Click to hide internal directories.