Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnTrack ¶
type ConnTrack struct {
// contains filtered or unexported fields
}
func NewConnTrack ¶
func (*ConnTrack) UpdateRealPeerAddress ¶
func (c *ConnTrack) UpdateRealPeerAddress(addr *SocketPair) bool
type SocketPair ¶
type SocketPair struct { Family uint32 Role enums.ConnectionRole SrcIP string SrcPort uint16 DestIP string DestPort uint16 }
func ParseSocket ¶
func ParseSocket(pid, sockfd uint32) (*SocketPair, error)
func (*SocketPair) IsValid ¶
func (s *SocketPair) IsValid() bool
func (*SocketPair) String ¶
func (s *SocketPair) String() string
Click to show internal directories.
Click to hide internal directories.