Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RawSockaddrInet4 ¶
type RawSockaddrInet4 struct { Family uint16 Port [2]byte Addr [4]byte /* in_addr */ Zero [8]uint8 }
RawSockaddrInet4 is a bit different from syscall.RawSockaddrInet4 that Port should be encoded by BigEndian.
type RawSockaddrInet6 ¶
type RawSockaddrInet6 struct { Family uint16 Port [2]byte Flowinfo [4]byte Addr [16]byte /* in6_addr */ Scope_id [4]byte }
RawSockaddrInet6 is a bit different from syscall.RawSockaddrInet6 that fields except Family should be encoded by BigEndian.
type SocketMetadata ¶
type Storehouse ¶
func MakeStorehouse ¶
func MakeStorehouse() Storehouse
func (Storehouse) Get ¶
func (s Storehouse) Get(pid int, syscallNumber int) (v interface{}, ok bool)
func (Storehouse) Remove ¶
func (t Storehouse) Remove(pid int, syscallNumber int)
func (Storehouse) RemoveAll ¶
func (t Storehouse) RemoveAll(pid int)
func (Storehouse) Save ¶
func (t Storehouse) Save(pid int, syscallNumber int, v interface{})
Click to show internal directories.
Click to hide internal directories.