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 + var IfStatusFlags_name = map[uint32]string + var IfStatusFlags_value = map[string]uint32 + var IfType_name = map[uint32]string + var IfType_value = map[string]uint32 + var IpipTunnelFlags_name = map[uint8]string + var IpipTunnelFlags_value = map[string]uint8 + var LinkDuplex_name = map[uint32]string + var LinkDuplex_value = map[string]uint32 + var MtuProto_name = map[uint32]string + var MtuProto_value = map[string]uint32 + var RxMode_name = map[uint32]string + var RxMode_value = map[string]uint32 + var SubIfFlags_name = map[uint32]string + var SubIfFlags_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 IfStatusFlags uint32 + const IF_STATUS_API_FLAG_ADMIN_UP + const IF_STATUS_API_FLAG_LINK_UP + func (x IfStatusFlags) String() string + type IfType uint32 + const IF_API_TYPE_HARDWARE + const IF_API_TYPE_P2P + const IF_API_TYPE_PIPE + const IF_API_TYPE_SUB + func (x IfType) String() string + type InterfaceIndex uint32 + type Ipip6rdAddTunnel struct + IP4Prefix IP4Prefix + IP4Src IP4Address + IP4TableID uint32 + IP6Prefix IP6Prefix + IP6TableID uint32 + SecurityCheck bool + TcTos uint8 + func (*Ipip6rdAddTunnel) GetCrcString() string + func (*Ipip6rdAddTunnel) GetMessageName() string + func (*Ipip6rdAddTunnel) GetMessageType() api.MessageType + func (m *Ipip6rdAddTunnel) Marshal(b []byte) ([]byte, error) + func (m *Ipip6rdAddTunnel) Reset() + func (m *Ipip6rdAddTunnel) Size() (size int) + func (m *Ipip6rdAddTunnel) Unmarshal(b []byte) error + type Ipip6rdAddTunnelReply struct + Retval int32 + SwIfIndex InterfaceIndex + func (*Ipip6rdAddTunnelReply) GetCrcString() string + func (*Ipip6rdAddTunnelReply) GetMessageName() string + func (*Ipip6rdAddTunnelReply) GetMessageType() api.MessageType + func (m *Ipip6rdAddTunnelReply) Marshal(b []byte) ([]byte, error) + func (m *Ipip6rdAddTunnelReply) Reset() + func (m *Ipip6rdAddTunnelReply) Size() (size int) + func (m *Ipip6rdAddTunnelReply) Unmarshal(b []byte) error + type Ipip6rdDelTunnel struct + SwIfIndex InterfaceIndex + func (*Ipip6rdDelTunnel) GetCrcString() string + func (*Ipip6rdDelTunnel) GetMessageName() string + func (*Ipip6rdDelTunnel) GetMessageType() api.MessageType + func (m *Ipip6rdDelTunnel) Marshal(b []byte) ([]byte, error) + func (m *Ipip6rdDelTunnel) Reset() + func (m *Ipip6rdDelTunnel) Size() (size int) + func (m *Ipip6rdDelTunnel) Unmarshal(b []byte) error + type Ipip6rdDelTunnelReply struct + Retval int32 + func (*Ipip6rdDelTunnelReply) GetCrcString() string + func (*Ipip6rdDelTunnelReply) GetMessageName() string + func (*Ipip6rdDelTunnelReply) GetMessageType() api.MessageType + func (m *Ipip6rdDelTunnelReply) Marshal(b []byte) ([]byte, error) + func (m *Ipip6rdDelTunnelReply) Reset() + func (m *Ipip6rdDelTunnelReply) Size() (size int) + func (m *Ipip6rdDelTunnelReply) Unmarshal(b []byte) error + type IpipAddTunnel struct + Tunnel IpipTunnel + func (*IpipAddTunnel) GetCrcString() string + func (*IpipAddTunnel) GetMessageName() string + func (*IpipAddTunnel) GetMessageType() api.MessageType + func (m *IpipAddTunnel) Marshal(b []byte) ([]byte, error) + func (m *IpipAddTunnel) Reset() + func (m *IpipAddTunnel) Size() (size int) + func (m *IpipAddTunnel) Unmarshal(b []byte) error + type IpipAddTunnelReply struct + Retval int32 + SwIfIndex InterfaceIndex + func (*IpipAddTunnelReply) GetCrcString() string + func (*IpipAddTunnelReply) GetMessageName() string + func (*IpipAddTunnelReply) GetMessageType() api.MessageType + func (m *IpipAddTunnelReply) Marshal(b []byte) ([]byte, error) + func (m *IpipAddTunnelReply) Reset() + func (m *IpipAddTunnelReply) Size() (size int) + func (m *IpipAddTunnelReply) Unmarshal(b []byte) error + type IpipDelTunnel struct + SwIfIndex InterfaceIndex + func (*IpipDelTunnel) GetCrcString() string + func (*IpipDelTunnel) GetMessageName() string + func (*IpipDelTunnel) GetMessageType() api.MessageType + func (m *IpipDelTunnel) Marshal(b []byte) ([]byte, error) + func (m *IpipDelTunnel) Reset() + func (m *IpipDelTunnel) Size() (size int) + func (m *IpipDelTunnel) Unmarshal(b []byte) error + type IpipDelTunnelReply struct + Retval int32 + func (*IpipDelTunnelReply) GetCrcString() string + func (*IpipDelTunnelReply) GetMessageName() string + func (*IpipDelTunnelReply) GetMessageType() api.MessageType + func (m *IpipDelTunnelReply) Marshal(b []byte) ([]byte, error) + func (m *IpipDelTunnelReply) Reset() + func (m *IpipDelTunnelReply) Size() (size int) + func (m *IpipDelTunnelReply) Unmarshal(b []byte) error + type IpipTunnel struct + Dscp IPDscp + Dst Address + Flags IpipTunnelFlags + Instance uint32 + Src Address + SwIfIndex InterfaceIndex + TableID uint32 + type IpipTunnelDetails struct + Tunnel IpipTunnel + func (*IpipTunnelDetails) GetCrcString() string + func (*IpipTunnelDetails) GetMessageName() string + func (*IpipTunnelDetails) GetMessageType() api.MessageType + func (m *IpipTunnelDetails) Marshal(b []byte) ([]byte, error) + func (m *IpipTunnelDetails) Reset() + func (m *IpipTunnelDetails) Size() (size int) + func (m *IpipTunnelDetails) Unmarshal(b []byte) error + type IpipTunnelDump struct + SwIfIndex InterfaceIndex + func (*IpipTunnelDump) GetCrcString() string + func (*IpipTunnelDump) GetMessageName() string + func (*IpipTunnelDump) GetMessageType() api.MessageType + func (m *IpipTunnelDump) Marshal(b []byte) ([]byte, error) + func (m *IpipTunnelDump) Reset() + func (m *IpipTunnelDump) Size() (size int) + func (m *IpipTunnelDump) Unmarshal(b []byte) error + type IpipTunnelFlags uint8 + const IPIP_TUNNEL_API_FLAG_DECAP_COPY_ECN + const IPIP_TUNNEL_API_FLAG_ENCAP_COPY_DF + const IPIP_TUNNEL_API_FLAG_ENCAP_COPY_DSCP + const IPIP_TUNNEL_API_FLAG_ENCAP_COPY_ECN + const IPIP_TUNNEL_API_FLAG_ENCAP_SET_DF + const IPIP_TUNNEL_API_FLAG_NONE + func (x IpipTunnelFlags) String() string + type LinkDuplex uint32 + const LINK_DUPLEX_API_FULL + const LINK_DUPLEX_API_HALF + const LINK_DUPLEX_API_UNKNOWN + func (x LinkDuplex) String() string + type Mprefix struct + Af AddressFamily + GrpAddress AddressUnion + GrpAddressLength uint16 + SrcAddress AddressUnion + type MtuProto uint32 + const MTU_PROTO_API_IP4 + const MTU_PROTO_API_IP6 + const MTU_PROTO_API_L3 + const MTU_PROTO_API_MPLS + const MTU_PROTO_API_N + func (x MtuProto) String() string + 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 + Ipip6rdAddTunnel func(ctx context.Context, in *Ipip6rdAddTunnel) (*Ipip6rdAddTunnelReply, error) + Ipip6rdDelTunnel func(ctx context.Context, in *Ipip6rdDelTunnel) (*Ipip6rdDelTunnelReply, error) + IpipAddTunnel func(ctx context.Context, in *IpipAddTunnel) (*IpipAddTunnelReply, error) + IpipDelTunnel func(ctx context.Context, in *IpipDelTunnel) (*IpipDelTunnelReply, error) + IpipTunnelDump func(ctx context.Context, in *IpipTunnelDump) (RPCService_IpipTunnelDumpClient, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_IpipTunnelDumpClient interface + Recv func() (*IpipTunnelDetails, error) + type RxMode uint32 + const RX_MODE_API_ADAPTIVE + const RX_MODE_API_DEFAULT + const RX_MODE_API_INTERRUPT + const RX_MODE_API_POLLING + const RX_MODE_API_UNKNOWN + func (x RxMode) String() string + type SubIfFlags uint32 + const SUB_IF_API_FLAG_DEFAULT + const SUB_IF_API_FLAG_DOT1AD + const SUB_IF_API_FLAG_DOT1AH + const SUB_IF_API_FLAG_EXACT_MATCH + const SUB_IF_API_FLAG_INNER_VLAN_ID_ANY + const SUB_IF_API_FLAG_MASK_VNET + const SUB_IF_API_FLAG_NO_TAGS + const SUB_IF_API_FLAG_ONE_TAG + const SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY + const SUB_IF_API_FLAG_TWO_TAGS + func (x SubIfFlags) String() string