Versions in this module Expand all Collapse all v0 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var AddressFamily_name = map[uint32]string + var AddressFamily_value = map[string]uint32 + 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 IPProto_name = map[uint32]string + var IPProto_value = map[string]uint32 + func AllMessages() []api.Message + type Address struct + Af AddressFamily + Un AddressUnion + 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 uint32 + 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 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 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 IPProto uint32 + 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_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 + type RPCService interface + UDPPingAddDel func(ctx context.Context, in *UDPPingAddDel) (*UDPPingAddDelReply, error) + UDPPingExport func(ctx context.Context, in *UDPPingExport) (*UDPPingExportReply, error) + func NewServiceClient(conn api.Connection) RPCService + type UDPPingAddDel struct + Dis uint8 + DstIPAddress Address + EndDstPort uint16 + EndSrcPort uint16 + FaultDet uint8 + Interval uint16 + Reserve []byte + SrcIPAddress Address + StartDstPort uint16 + StartSrcPort uint16 + func (*UDPPingAddDel) GetCrcString() string + func (*UDPPingAddDel) GetMessageName() string + func (*UDPPingAddDel) GetMessageType() api.MessageType + func (m *UDPPingAddDel) Marshal(b []byte) ([]byte, error) + func (m *UDPPingAddDel) Reset() + func (m *UDPPingAddDel) Size() (size int) + func (m *UDPPingAddDel) Unmarshal(b []byte) error + type UDPPingAddDelReply struct + Retval int32 + func (*UDPPingAddDelReply) GetCrcString() string + func (*UDPPingAddDelReply) GetMessageName() string + func (*UDPPingAddDelReply) GetMessageType() api.MessageType + func (m *UDPPingAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *UDPPingAddDelReply) Reset() + func (m *UDPPingAddDelReply) Size() (size int) + func (m *UDPPingAddDelReply) Unmarshal(b []byte) error + type UDPPingExport struct + Enable bool + func (*UDPPingExport) GetCrcString() string + func (*UDPPingExport) GetMessageName() string + func (*UDPPingExport) GetMessageType() api.MessageType + func (m *UDPPingExport) Marshal(b []byte) ([]byte, error) + func (m *UDPPingExport) Reset() + func (m *UDPPingExport) Size() (size int) + func (m *UDPPingExport) Unmarshal(b []byte) error + type UDPPingExportReply struct + Retval int32 + func (*UDPPingExportReply) GetCrcString() string + func (*UDPPingExportReply) GetMessageName() string + func (*UDPPingExportReply) GetMessageType() api.MessageType + func (m *UDPPingExportReply) Marshal(b []byte) ([]byte, error) + func (m *UDPPingExportReply) Reset() + func (m *UDPPingExportReply) Size() (size int) + func (m *UDPPingExportReply) Unmarshal(b []byte) error