Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UndefinedProcessID signifies that the process ID is unknown. // It must match portmaster/process.UndefinedProcessID // It is duplicated here because of import loops. UndefinedProcessID = -1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindInfo ¶
BindInfo holds socket information returned by the system.
func (*BindInfo) GetUIDandInode ¶
GetUIDandInode returns the UID and Inode.
type ConnectionInfo ¶
ConnectionInfo holds socket information returned by the system.
func (*ConnectionInfo) GetUIDandInode ¶
func (i *ConnectionInfo) GetUIDandInode() (int, int)
GetUIDandInode returns the UID and Inode.
func (*ConnectionInfo) SetPID ¶
func (i *ConnectionInfo) SetPID(pid int)
SetPID sets the PID to the given value.
Click to show internal directories.
Click to hide internal directories.