Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc v0.4.0 Jan 17, 2022 Changes in this version + var AddressFamily_name = map[uint8]string + var AddressFamily_value = map[string]uint8 + var IPDscp_name = map[uint8]string + var IPDscp_value = map[string]uint8 + var IPEcn_name = map[uint8]string + var IPEcn_value = map[string]uint8 + var IPFeatureLocation_name = map[uint8]string + var IPFeatureLocation_value = map[string]uint8 + var IPProto_name = map[uint8]string + var IPProto_value = map[string]uint8 + type Address struct + Af AddressFamily + Un AddressUnion + func AddressFromIP(ip net.IP) Address + func ParseAddress(s string) (Address, error) + func (x *Address) MarshalText() ([]byte, error) + func (x *Address) UnmarshalText(text []byte) error + func (x Address) String() string + func (x Address) ToIP() net.IP + type AddressFamily uint8 + const ADDRESS_IP4 + const ADDRESS_IP6 + func (x AddressFamily) String() string + type AddressUnion struct + XXX_UnionData [16]byte + func AddressUnionIP4(a IP4Address) (u AddressUnion) + func AddressUnionIP6(a IP6Address) (u AddressUnion) + func (u *AddressUnion) GetIP4() (a IP4Address) + func (u *AddressUnion) GetIP6() (a IP6Address) + func (u *AddressUnion) SetIP4(a IP4Address) + func (u *AddressUnion) SetIP6(a IP6Address) + type AddressWithPrefix Prefix + func ParseAddressWithPrefix(s string) (AddressWithPrefix, error) + func (x *AddressWithPrefix) MarshalText() ([]byte, error) + func (x *AddressWithPrefix) UnmarshalText(text []byte) error + func (x AddressWithPrefix) String() string + type IP4Address [4]uint8 + func ParseIP4Address(s string) (IP4Address, error) + func (x *IP4Address) MarshalText() ([]byte, error) + func (x *IP4Address) UnmarshalText(text []byte) error + func (x IP4Address) String() string + func (x IP4Address) ToIP() net.IP + type IP4AddressAndMask struct + Addr IP4Address + Mask IP4Address + type IP4AddressWithPrefix IP4Prefix + type IP4Prefix struct + Address IP4Address + Len uint8 + func ParseIP4Prefix(s string) (prefix IP4Prefix, err error) + func (x *IP4Prefix) MarshalText() ([]byte, error) + func (x *IP4Prefix) UnmarshalText(text []byte) error + func (x IP4Prefix) String() string + func (x IP4Prefix) ToIPNet() *net.IPNet + type IP6Address [16]uint8 + func ParseIP6Address(s string) (IP6Address, error) + func (x *IP6Address) MarshalText() ([]byte, error) + func (x *IP6Address) UnmarshalText(text []byte) error + func (x IP6Address) String() string + func (x IP6Address) ToIP() net.IP + type IP6AddressAndMask struct + Addr IP6Address + Mask IP6Address + type IP6AddressWithPrefix IP6Prefix + type IP6Prefix struct + Address IP6Address + Len uint8 + func ParseIP6Prefix(s string) (prefix IP6Prefix, err error) + func (x *IP6Prefix) MarshalText() ([]byte, error) + func (x *IP6Prefix) UnmarshalText(text []byte) error + func (x IP6Prefix) String() string + func (x IP6Prefix) ToIPNet() *net.IPNet + type IPDscp uint8 + const IP_API_DSCP_AF11 + const IP_API_DSCP_AF12 + const IP_API_DSCP_AF13 + const IP_API_DSCP_AF21 + const IP_API_DSCP_AF22 + const IP_API_DSCP_AF23 + const IP_API_DSCP_AF31 + const IP_API_DSCP_AF32 + const IP_API_DSCP_AF33 + const IP_API_DSCP_AF41 + const IP_API_DSCP_AF42 + const IP_API_DSCP_AF43 + const IP_API_DSCP_CS0 + const IP_API_DSCP_CS1 + const IP_API_DSCP_CS2 + const IP_API_DSCP_CS3 + const IP_API_DSCP_CS4 + const IP_API_DSCP_CS5 + const IP_API_DSCP_CS6 + const IP_API_DSCP_CS7 + const IP_API_DSCP_EF + func (x IPDscp) String() string + type IPEcn uint8 + const IP_API_ECN_CE + const IP_API_ECN_ECT0 + const IP_API_ECN_ECT1 + const IP_API_ECN_NONE + func (x IPEcn) String() string + type IPFeatureLocation uint8 + const IP_API_FEATURE_DROP + const IP_API_FEATURE_INPUT + const IP_API_FEATURE_LOCAL + const IP_API_FEATURE_OUTPUT + const IP_API_FEATURE_PUNT + func (x IPFeatureLocation) String() string + type IPProto uint8 + const IP_API_PROTO_AH + const IP_API_PROTO_EIGRP + const IP_API_PROTO_ESP + const IP_API_PROTO_GRE + const IP_API_PROTO_HOPOPT + const IP_API_PROTO_ICMP + const IP_API_PROTO_ICMP6 + const IP_API_PROTO_IGMP + const IP_API_PROTO_OSPF + const IP_API_PROTO_RESERVED + const IP_API_PROTO_SCTP + const IP_API_PROTO_TCP + const IP_API_PROTO_UDP + func (x IPProto) String() string + type Mprefix struct + Af AddressFamily + GrpAddress AddressUnion + GrpAddressLength uint16 + SrcAddress AddressUnion + type Prefix struct + Address Address + Len uint8 + func ParsePrefix(ip string) (prefix Prefix, err error) + func (x *Prefix) MarshalText() ([]byte, error) + func (x *Prefix) UnmarshalText(text []byte) error + func (x Prefix) String() string + func (x Prefix) ToIPNet() *net.IPNet + type PrefixMatcher struct + Ge uint8 + Le uint8