Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IpAddrToU32Le ¶
Types ¶
type TransportProtocol ¶
type TransportProtocol uint32
const ( TransportProtocolAny TransportProtocol = TransportProtocol(0) TransportProtocolIcmp TransportProtocol = TransportProtocol(constants.PROTOCOL_ICMP) TransportProtocolTcp TransportProtocol = TransportProtocol(constants.PROTOCOL_TCP) TransportProtocolUdp TransportProtocol = TransportProtocol(constants.PROTOCOL_UDP) )
func NewTransportProtocol ¶
func NewTransportProtocol(proto uint32) (TransportProtocol, error)
func TransportProtocolFromString ¶
func TransportProtocolFromString(proto string) (TransportProtocol, error)
func (TransportProtocol) String ¶
func (p TransportProtocol) String() string
Click to show internal directories.
Click to hide internal directories.