Documentation ¶
Index ¶
- Constants
- Variables
- func BondAdInfoToNative(a *BondAdInfo) *netlink.BondAdInfo
- func BondLinkToNative(ln *Link) netlink.Link
- func BridgeLinkToNative(ln *Link) netlink.Link
- func BytesToIPNet(ip []byte, mask []byte) *net.IPNet
- func BytesToIPs(bs [][]byte) []net.IP
- func DeviceLinkToNative(ln *Link) netlink.Link
- func GenericLinkToNative(ln *Link) netlink.Link
- func IPNetToBytes(ip *net.IPNet) ([]byte, []byte)
- func IPsToBytes(ips []net.IP) [][]byte
- func IptunLinkToNative(ln *Link) netlink.Link
- func LinkAttrsFromNative(a *LinkAttrs, n *netlink.LinkAttrs)
- func LinkAttrsToNative(a *LinkAttrs, n *netlink.LinkAttrs)
- func Neigh_TunnelToNative(src isNeigh_Tunnel) nlamsg.NeighTunnel
- func NewBondLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs
- func NewBridgeLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs
- func NewDeviceLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs
- func NewGenericLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs
- func NewIptunLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs
- func NewMPLSLabelFromNatives(labels []int) []uint32
- func NewMPLSLabelToNatives(labels []uint32) []int
- func NewNeigh_TunnelFromNative(src nlamsg.NeighTunnel) isNeigh_Tunnel
- func NewNexthopInfoToNatives(ns []*NexthopInfo) []*netlink.NexthopInfo
- func NewNodeIdFromNative(nid uint8) uint32
- func NewSlaveInfoFromNative(n netlink.LinkSlaveInfo) isLinkAttrs_SlaveInfo
- func NewVethLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs
- func NewVlanLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs
- func NewVtiLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs
- func NewVxlanLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs
- func NodeIdToNative(nid uint32) uint8
- func RegisterNLAApiServer(s *grpc.Server, srv NLAApiServer)
- func RegisterNLACoreApiServer(s *grpc.Server, srv NLACoreApiServer)
- func SlaveInfoToNative(s isLinkAttrs_SlaveInfo) netlink.LinkSlaveInfo
- func VethLinkToNative(ln *Link) netlink.Link
- func VlanLinkToNative(ln *Link) netlink.Link
- func VtiLinkToNative(ln *Link) netlink.Link
- func VxlanLinkToNative(ln *Link) netlink.Link
- type Addr
- func (*Addr) Descriptor() ([]byte, []int)
- func (m *Addr) GetAdId() uint32
- func (m *Addr) GetBroadcast() []byte
- func (m *Addr) GetFamily() int32
- func (m *Addr) GetFlags() int32
- func (a *Addr) GetIPNet() *net.IPNet
- func (m *Addr) GetIndex() int32
- func (m *Addr) GetIp() []byte
- func (m *Addr) GetIpMask() []byte
- func (m *Addr) GetLabel() string
- func (m *Addr) GetNId() uint32
- func (m *Addr) GetPeer() []byte
- func (m *Addr) GetPeerMask() []byte
- func (m *Addr) GetScope() int32
- func (a *Addr) NetBroadcast() net.IP
- func (a *Addr) NetPeer() *net.IPNet
- func (*Addr) ProtoMessage()
- func (m *Addr) Reset()
- func (m *Addr) String() string
- func (a *Addr) ToNative() *nlamsg.Addr
- func (a *Addr) ToNetlink() *netlink.Addr
- func (m *Addr) XXX_DiscardUnknown()
- func (m *Addr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Addr) XXX_Merge(src proto.Message)
- func (m *Addr) XXX_Size() int
- func (m *Addr) XXX_Unmarshal(b []byte) error
- type AddrKey
- func (*AddrKey) Descriptor() ([]byte, []int)
- func (m *AddrKey) GetAddr() string
- func (m *AddrKey) GetNId() uint32
- func (*AddrKey) ProtoMessage()
- func (m *AddrKey) Reset()
- func (m *AddrKey) String() string
- func (k *AddrKey) ToNative() *nladbm.AddrKey
- func (m *AddrKey) XXX_DiscardUnknown()
- func (m *AddrKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddrKey) XXX_Merge(src proto.Message)
- func (m *AddrKey) XXX_Size() int
- func (m *AddrKey) XXX_Unmarshal(b []byte) error
- type BondAdInfo
- func (*BondAdInfo) Descriptor() ([]byte, []int)
- func (m *BondAdInfo) GetActorKey() int32
- func (m *BondAdInfo) GetAggregatorId() int32
- func (m *BondAdInfo) GetNumPorts() int32
- func (m *BondAdInfo) GetPartnerKey() int32
- func (m *BondAdInfo) GetPartnerMac() []byte
- func (*BondAdInfo) ProtoMessage()
- func (m *BondAdInfo) Reset()
- func (m *BondAdInfo) String() string
- func (m *BondAdInfo) XXX_DiscardUnknown()
- func (m *BondAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondAdInfo) XXX_Merge(src proto.Message)
- func (m *BondAdInfo) XXX_Size() int
- func (m *BondAdInfo) XXX_Unmarshal(b []byte) error
- type BondAdSelect
- type BondArpAllTargets
- type BondArpValidate
- type BondFailOverMac
- type BondLacpRate
- type BondLinkAttrs
- func (*BondLinkAttrs) Descriptor() ([]byte, []int)
- func (m *BondLinkAttrs) GetActiveSlave() int32
- func (m *BondLinkAttrs) GetAdInfo() *BondAdInfo
- func (m *BondLinkAttrs) GetAdSelect() BondAdSelect
- func (m *BondLinkAttrs) GetAllSlavesActive() int32
- func (m *BondLinkAttrs) GetArpAllTargets() BondArpAllTargets
- func (m *BondLinkAttrs) GetArpInterval() int32
- func (m *BondLinkAttrs) GetArpIpTargets() [][]byte
- func (m *BondLinkAttrs) GetArpValidate() BondArpValidate
- func (m *BondLinkAttrs) GetDownDelay() int32
- func (m *BondLinkAttrs) GetFailOverMac() BondFailOverMac
- func (m *BondLinkAttrs) GetLacpRate() BondLacpRate
- func (m *BondLinkAttrs) GetLinkAttrs() *LinkAttrs
- func (m *BondLinkAttrs) GetLpInterval() int32
- func (m *BondLinkAttrs) GetMiimon() int32
- func (m *BondLinkAttrs) GetMinLinks() int32
- func (m *BondLinkAttrs) GetMode() BondMode
- func (m *BondLinkAttrs) GetNumPeerNotif() int32
- func (m *BondLinkAttrs) GetPackersPerSlave() int32
- func (m *BondLinkAttrs) GetPrimary() int32
- func (m *BondLinkAttrs) GetPrimaryReselect() BondPrimaryReselect
- func (m *BondLinkAttrs) GetResendIgmp() int32
- func (m *BondLinkAttrs) GetUpDelay() int32
- func (m *BondLinkAttrs) GetUseCarrier() int32
- func (m *BondLinkAttrs) GetXmitHashPolicy() BondXmitHashPolicy
- func (*BondLinkAttrs) ProtoMessage()
- func (m *BondLinkAttrs) Reset()
- func (m *BondLinkAttrs) String() string
- func (m *BondLinkAttrs) XXX_DiscardUnknown()
- func (m *BondLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondLinkAttrs) XXX_Merge(src proto.Message)
- func (m *BondLinkAttrs) XXX_Size() int
- func (m *BondLinkAttrs) XXX_Unmarshal(b []byte) error
- type BondLinkState
- type BondMode
- type BondPrimaryReselect
- type BondSlaveInfo
- func (*BondSlaveInfo) Descriptor() ([]byte, []int)
- func (m *BondSlaveInfo) GetActorOperPortState() int32
- func (m *BondSlaveInfo) GetAdPartnerOperPortState() int32
- func (m *BondSlaveInfo) GetAggregatorId() int32
- func (m *BondSlaveInfo) GetLinkFailureCount() uint32
- func (m *BondSlaveInfo) GetMiiStatus() BondLinkState
- func (m *BondSlaveInfo) GetPermanentHwAddr() []byte
- func (m *BondSlaveInfo) GetQueueId() int32
- func (m *BondSlaveInfo) GetState() BondState
- func (*BondSlaveInfo) ProtoMessage()
- func (m *BondSlaveInfo) Reset()
- func (b *BondSlaveInfo) SlaveType() string
- func (m *BondSlaveInfo) String() string
- func (b *BondSlaveInfo) ToNative() *netlink.BondSlaveInfo
- func (m *BondSlaveInfo) XXX_DiscardUnknown()
- func (m *BondSlaveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BondSlaveInfo) XXX_Merge(src proto.Message)
- func (m *BondSlaveInfo) XXX_Size() int
- func (m *BondSlaveInfo) XXX_Unmarshal(b []byte) error
- type BondState
- type BondXmitHashPolicy
- type BridgeLinkAttrs
- func (*BridgeLinkAttrs) Descriptor() ([]byte, []int)
- func (m *BridgeLinkAttrs) GetHelloTime() uint32
- func (m *BridgeLinkAttrs) GetLinkAttrs() *LinkAttrs
- func (m *BridgeLinkAttrs) GetMulticastSnooping() bool
- func (m *BridgeLinkAttrs) GetVlanFiltering() bool
- func (*BridgeLinkAttrs) ProtoMessage()
- func (m *BridgeLinkAttrs) Reset()
- func (m *BridgeLinkAttrs) String() string
- func (m *BridgeLinkAttrs) XXX_DiscardUnknown()
- func (m *BridgeLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BridgeLinkAttrs) XXX_Merge(src proto.Message)
- func (m *BridgeLinkAttrs) XXX_Size() int
- func (m *BridgeLinkAttrs) XXX_Unmarshal(b []byte) error
- type BridgeVlanInfo
- func (*BridgeVlanInfo) Descriptor() ([]byte, []int)
- func (m *BridgeVlanInfo) GetBrId() uint32
- func (m *BridgeVlanInfo) GetFlags() BridgeVlanInfo_Flags
- func (m *BridgeVlanInfo) GetIndex() int32
- func (m *BridgeVlanInfo) GetMasterIndex() int32
- func (m *BridgeVlanInfo) GetMtu() uint32
- func (m *BridgeVlanInfo) GetNId() uint32
- func (m *BridgeVlanInfo) GetName() string
- func (m *BridgeVlanInfo) GetVid() uint32
- func (v *BridgeVlanInfo) PortType() BridgeVlanInfo_PortType
- func (*BridgeVlanInfo) ProtoMessage()
- func (m *BridgeVlanInfo) Reset()
- func (m *BridgeVlanInfo) String() string
- func (v *BridgeVlanInfo) ToNative() *nlamsg.BridgeVlanInfo
- func (m *BridgeVlanInfo) XXX_DiscardUnknown()
- func (m *BridgeVlanInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BridgeVlanInfo) XXX_Merge(src proto.Message)
- func (m *BridgeVlanInfo) XXX_Size() int
- func (m *BridgeVlanInfo) XXX_Unmarshal(b []byte) error
- type BridgeVlanInfoKey
- func (*BridgeVlanInfoKey) Descriptor() ([]byte, []int)
- func (m *BridgeVlanInfoKey) GetIndex() int32
- func (m *BridgeVlanInfoKey) GetNId() uint32
- func (m *BridgeVlanInfoKey) GetVid() uint32
- func (*BridgeVlanInfoKey) ProtoMessage()
- func (m *BridgeVlanInfoKey) Reset()
- func (m *BridgeVlanInfoKey) String() string
- func (k *BridgeVlanInfoKey) ToNative() *nladbm.BridgeVlanInfoKey
- func (m *BridgeVlanInfoKey) XXX_DiscardUnknown()
- func (m *BridgeVlanInfoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BridgeVlanInfoKey) XXX_Merge(src proto.Message)
- func (m *BridgeVlanInfoKey) XXX_Size() int
- func (m *BridgeVlanInfoKey) XXX_Unmarshal(b []byte) error
- type BridgeVlanInfo_Flags
- type BridgeVlanInfo_PortType
- type Destination
- func (*Destination) Descriptor() ([]byte, []int)
- func (m *Destination) GetDest() isDestination_Dest
- func (m *Destination) GetFamily() int32
- func (m *Destination) GetMpls() *MPLSDestination
- func (*Destination) ProtoMessage()
- func (m *Destination) Reset()
- func (m *Destination) String() string
- func (d *Destination) ToNative() netlink.Destination
- func (m *Destination) XXX_DiscardUnknown()
- func (m *Destination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Destination) XXX_Merge(src proto.Message)
- func (*Destination) XXX_OneofWrappers() []interface{}
- func (m *Destination) XXX_Size() int
- func (m *Destination) XXX_Unmarshal(b []byte) error
- type Destination_Mpls
- type DeviceLinkAttrs
- func (*DeviceLinkAttrs) Descriptor() ([]byte, []int)
- func (m *DeviceLinkAttrs) GetLinkAttrs() *LinkAttrs
- func (*DeviceLinkAttrs) ProtoMessage()
- func (m *DeviceLinkAttrs) Reset()
- func (m *DeviceLinkAttrs) String() string
- func (m *DeviceLinkAttrs) XXX_DiscardUnknown()
- func (m *DeviceLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeviceLinkAttrs) XXX_Merge(src proto.Message)
- func (m *DeviceLinkAttrs) XXX_Size() int
- func (m *DeviceLinkAttrs) XXX_Unmarshal(b []byte) error
- type Encap
- func (*Encap) Descriptor() ([]byte, []int)
- func (m *Encap) GetEncap() isEncap_Encap
- func (m *Encap) GetMpls() *MPLSEncap
- func (m *Encap) GetType() uint32
- func (*Encap) ProtoMessage()
- func (m *Encap) Reset()
- func (m *Encap) String() string
- func (e *Encap) ToNative() netlink.Encap
- func (m *Encap) XXX_DiscardUnknown()
- func (m *Encap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Encap) XXX_Merge(src proto.Message)
- func (*Encap) XXX_OneofWrappers() []interface{}
- func (m *Encap) XXX_Size() int
- func (m *Encap) XXX_Unmarshal(b []byte) error
- type EncapInfo
- func (*EncapInfo) Descriptor() ([]byte, []int)
- func (m *EncapInfo) GetEnId() uint32
- func (m *EncapInfo) GetIp() []byte
- func (m *EncapInfo) GetMask() []byte
- func (m *EncapInfo) GetVrf() uint32
- func (e *EncapInfo) NetDst() *net.IPNet
- func (*EncapInfo) ProtoMessage()
- func (m *EncapInfo) Reset()
- func (m *EncapInfo) String() string
- func (e *EncapInfo) ToNative() *nlamsg.EncapInfo
- func (m *EncapInfo) XXX_DiscardUnknown()
- func (m *EncapInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncapInfo) XXX_Merge(src proto.Message)
- func (m *EncapInfo) XXX_Size() int
- func (m *EncapInfo) XXX_Unmarshal(b []byte) error
- type EncapInfoKey
- func (*EncapInfoKey) Descriptor() ([]byte, []int)
- func (m *EncapInfoKey) GetDst() string
- func (m *EncapInfoKey) GetVrf() uint32
- func (*EncapInfoKey) ProtoMessage()
- func (m *EncapInfoKey) Reset()
- func (m *EncapInfoKey) String() string
- func (k *EncapInfoKey) ToNative() *nladbm.EncapInfoKey
- func (m *EncapInfoKey) XXX_DiscardUnknown()
- func (m *EncapInfoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncapInfoKey) XXX_Merge(src proto.Message)
- func (m *EncapInfoKey) XXX_Size() int
- func (m *EncapInfoKey) XXX_Unmarshal(b []byte) error
- type Encap_Mpls
- type GenericLinkAttrs
- func (*GenericLinkAttrs) Descriptor() ([]byte, []int)
- func (m *GenericLinkAttrs) GetLinkAttrs() *LinkAttrs
- func (*GenericLinkAttrs) ProtoMessage()
- func (m *GenericLinkAttrs) Reset()
- func (m *GenericLinkAttrs) String() string
- func (m *GenericLinkAttrs) XXX_DiscardUnknown()
- func (m *GenericLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenericLinkAttrs) XXX_Merge(src proto.Message)
- func (m *GenericLinkAttrs) XXX_Size() int
- func (m *GenericLinkAttrs) XXX_Unmarshal(b []byte) error
- type GetAddrsRequest
- func (*GetAddrsRequest) Descriptor() ([]byte, []int)
- func (m *GetAddrsRequest) GetNId() uint32
- func (*GetAddrsRequest) ProtoMessage()
- func (m *GetAddrsRequest) Reset()
- func (m *GetAddrsRequest) String() string
- func (m *GetAddrsRequest) XXX_DiscardUnknown()
- func (m *GetAddrsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAddrsRequest) XXX_Merge(src proto.Message)
- func (m *GetAddrsRequest) XXX_Size() int
- func (m *GetAddrsRequest) XXX_Unmarshal(b []byte) error
- type GetBridgeVlanInfosRequest
- func (*GetBridgeVlanInfosRequest) Descriptor() ([]byte, []int)
- func (m *GetBridgeVlanInfosRequest) GetNId() uint32
- func (*GetBridgeVlanInfosRequest) ProtoMessage()
- func (m *GetBridgeVlanInfosRequest) Reset()
- func (m *GetBridgeVlanInfosRequest) String() string
- func (m *GetBridgeVlanInfosRequest) XXX_DiscardUnknown()
- func (m *GetBridgeVlanInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBridgeVlanInfosRequest) XXX_Merge(src proto.Message)
- func (m *GetBridgeVlanInfosRequest) XXX_Size() int
- func (m *GetBridgeVlanInfosRequest) XXX_Unmarshal(b []byte) error
- type GetEncapInfosRequest
- func (*GetEncapInfosRequest) Descriptor() ([]byte, []int)
- func (*GetEncapInfosRequest) ProtoMessage()
- func (m *GetEncapInfosRequest) Reset()
- func (m *GetEncapInfosRequest) String() string
- func (m *GetEncapInfosRequest) XXX_DiscardUnknown()
- func (m *GetEncapInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEncapInfosRequest) XXX_Merge(src proto.Message)
- func (m *GetEncapInfosRequest) XXX_Size() int
- func (m *GetEncapInfosRequest) XXX_Unmarshal(b []byte) error
- type GetIptunsRequest
- func (*GetIptunsRequest) Descriptor() ([]byte, []int)
- func (*GetIptunsRequest) ProtoMessage()
- func (m *GetIptunsRequest) Reset()
- func (m *GetIptunsRequest) String() string
- func (m *GetIptunsRequest) XXX_DiscardUnknown()
- func (m *GetIptunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIptunsRequest) XXX_Merge(src proto.Message)
- func (m *GetIptunsRequest) XXX_Size() int
- func (m *GetIptunsRequest) XXX_Unmarshal(b []byte) error
- type GetLinksRequest
- func (*GetLinksRequest) Descriptor() ([]byte, []int)
- func (m *GetLinksRequest) GetNId() uint32
- func (*GetLinksRequest) ProtoMessage()
- func (m *GetLinksRequest) Reset()
- func (m *GetLinksRequest) String() string
- func (m *GetLinksRequest) XXX_DiscardUnknown()
- func (m *GetLinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLinksRequest) XXX_Merge(src proto.Message)
- func (m *GetLinksRequest) XXX_Size() int
- func (m *GetLinksRequest) XXX_Unmarshal(b []byte) error
- type GetMplssRequest
- func (*GetMplssRequest) Descriptor() ([]byte, []int)
- func (m *GetMplssRequest) GetNId() uint32
- func (*GetMplssRequest) ProtoMessage()
- func (m *GetMplssRequest) Reset()
- func (m *GetMplssRequest) String() string
- func (m *GetMplssRequest) XXX_DiscardUnknown()
- func (m *GetMplssRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMplssRequest) XXX_Merge(src proto.Message)
- func (m *GetMplssRequest) XXX_Size() int
- func (m *GetMplssRequest) XXX_Unmarshal(b []byte) error
- type GetNeighsRequest
- func (*GetNeighsRequest) Descriptor() ([]byte, []int)
- func (m *GetNeighsRequest) GetNId() uint32
- func (*GetNeighsRequest) ProtoMessage()
- func (m *GetNeighsRequest) Reset()
- func (m *GetNeighsRequest) String() string
- func (m *GetNeighsRequest) XXX_DiscardUnknown()
- func (m *GetNeighsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNeighsRequest) XXX_Merge(src proto.Message)
- func (m *GetNeighsRequest) XXX_Size() int
- func (m *GetNeighsRequest) XXX_Unmarshal(b []byte) error
- type GetNodesRequest
- func (*GetNodesRequest) Descriptor() ([]byte, []int)
- func (*GetNodesRequest) ProtoMessage()
- func (m *GetNodesRequest) Reset()
- func (m *GetNodesRequest) String() string
- func (m *GetNodesRequest) XXX_DiscardUnknown()
- func (m *GetNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodesRequest) XXX_Merge(src proto.Message)
- func (m *GetNodesRequest) XXX_Size() int
- func (m *GetNodesRequest) XXX_Unmarshal(b []byte) error
- type GetRoutesRequest
- func (*GetRoutesRequest) Descriptor() ([]byte, []int)
- func (m *GetRoutesRequest) GetNId() uint32
- func (*GetRoutesRequest) ProtoMessage()
- func (m *GetRoutesRequest) Reset()
- func (m *GetRoutesRequest) String() string
- func (m *GetRoutesRequest) XXX_DiscardUnknown()
- func (m *GetRoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRoutesRequest) XXX_Merge(src proto.Message)
- func (m *GetRoutesRequest) XXX_Size() int
- func (m *GetRoutesRequest) XXX_Unmarshal(b []byte) error
- type GetStatsRequest
- func (*GetStatsRequest) Descriptor() ([]byte, []int)
- func (*GetStatsRequest) ProtoMessage()
- func (m *GetStatsRequest) Reset()
- func (m *GetStatsRequest) String() string
- func (m *GetStatsRequest) XXX_DiscardUnknown()
- func (m *GetStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStatsRequest) XXX_Merge(src proto.Message)
- func (m *GetStatsRequest) XXX_Size() int
- func (m *GetStatsRequest) XXX_Unmarshal(b []byte) error
- type GetVpnsRequest
- func (*GetVpnsRequest) Descriptor() ([]byte, []int)
- func (*GetVpnsRequest) ProtoMessage()
- func (m *GetVpnsRequest) Reset()
- func (m *GetVpnsRequest) String() string
- func (m *GetVpnsRequest) XXX_DiscardUnknown()
- func (m *GetVpnsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVpnsRequest) XXX_Merge(src proto.Message)
- func (m *GetVpnsRequest) XXX_Size() int
- func (m *GetVpnsRequest) XXX_Unmarshal(b []byte) error
- type Iptun
- func (*Iptun) Descriptor() ([]byte, []int)
- func (m *Iptun) GetLink() *Link
- func (v *Iptun) GetLocalIP() net.IP
- func (v *Iptun) GetLocalMACAddr() net.HardwareAddr
- func (m *Iptun) GetLocalMac() []byte
- func (m *Iptun) GetNId() uint32
- func (v *Iptun) GetRemoteIP() net.IP
- func (m *Iptun) GetTnlId() uint32
- func (*Iptun) ProtoMessage()
- func (m *Iptun) Reset()
- func (m *Iptun) String() string
- func (v *Iptun) ToNative() *nlamsg.Iptun
- func (m *Iptun) XXX_DiscardUnknown()
- func (m *Iptun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Iptun) XXX_Merge(src proto.Message)
- func (m *Iptun) XXX_Size() int
- func (m *Iptun) XXX_Unmarshal(b []byte) error
- type IptunKey
- func (*IptunKey) Descriptor() ([]byte, []int)
- func (m *IptunKey) GetNId() uint32
- func (m *IptunKey) GetRemote() []byte
- func (k *IptunKey) GetRemoteIP() net.IP
- func (*IptunKey) ProtoMessage()
- func (m *IptunKey) Reset()
- func (m *IptunKey) String() string
- func (k *IptunKey) ToNative() *nladbm.IptunKey
- func (m *IptunKey) XXX_DiscardUnknown()
- func (m *IptunKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IptunKey) XXX_Merge(src proto.Message)
- func (m *IptunKey) XXX_Size() int
- func (m *IptunKey) XXX_Unmarshal(b []byte) error
- type IptunLinkAttrs
- func (*IptunLinkAttrs) Descriptor() ([]byte, []int)
- func (m *IptunLinkAttrs) GetEncapDport() uint32
- func (m *IptunLinkAttrs) GetEncapFlags() uint32
- func (m *IptunLinkAttrs) GetEncapSport() uint32
- func (m *IptunLinkAttrs) GetEncapType() uint32
- func (m *IptunLinkAttrs) GetFlowBased() bool
- func (m *IptunLinkAttrs) GetLink() uint32
- func (m *IptunLinkAttrs) GetLinkAttrs() *LinkAttrs
- func (m *IptunLinkAttrs) GetLocal() []byte
- func (m *IptunLinkAttrs) GetPMtuDisc() uint32
- func (m *IptunLinkAttrs) GetRemote() []byte
- func (m *IptunLinkAttrs) GetTos() uint32
- func (m *IptunLinkAttrs) GetTtl() uint32
- func (*IptunLinkAttrs) ProtoMessage()
- func (m *IptunLinkAttrs) Reset()
- func (m *IptunLinkAttrs) String() string
- func (m *IptunLinkAttrs) XXX_DiscardUnknown()
- func (m *IptunLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IptunLinkAttrs) XXX_Merge(src proto.Message)
- func (m *IptunLinkAttrs) XXX_Size() int
- func (m *IptunLinkAttrs) XXX_Unmarshal(b []byte) error
- type Link
- func NewBondLink(nid uint8, lnId uint16) *Link
- func NewBridgeLink(nid uint8, lnId uint16) *Link
- func NewDeviceLink(nid uint8, lnId uint16) *Link
- func NewGenericLink(nid uint8, lnId uint16) *Link
- func NewIptunLink(nid uint8, lnId uint8, typ string) *Link
- func NewLinkFromNative(ln *nlamsg.Link) *Link
- func NewVethLink(nid uint8, lnId uint16, peerName string) *Link
- func NewVlanLink(nid uint8, lnId uint16, vlanId uint16) *Link
- func NewVtiLink(nid uint8, lnId uint16) *Link
- func NewVxlanLink(nid uint8, lnId uint16) *Link
- func (*Link) Descriptor() ([]byte, []int)
- func (m *Link) GetBond() *BondLinkAttrs
- func (m *Link) GetBridge() *BridgeLinkAttrs
- func (m *Link) GetDevice() *DeviceLinkAttrs
- func (m *Link) GetGeneric() *GenericLinkAttrs
- func (m *Link) GetIptun() *IptunLinkAttrs
- func (m *Link) GetLinkAttrs() isLink_LinkAttrs
- func (m *Link) GetLnId() uint32
- func (m *Link) GetNId() uint32
- func (m *Link) GetType() string
- func (m *Link) GetVeth() *VethLinkAttrs
- func (m *Link) GetVlan() *VlanLinkAttrs
- func (m *Link) GetVti() *VtiLinkAttrs
- func (m *Link) GetVxlan() *VxlanLinkAttrs
- func (*Link) ProtoMessage()
- func (m *Link) Reset()
- func (m *Link) String() string
- func (ln *Link) ToNative() *nlamsg.Link
- func (ln *Link) ToNetlink() netlink.Link
- func (m *Link) XXX_DiscardUnknown()
- func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Link) XXX_Merge(src proto.Message)
- func (*Link) XXX_OneofWrappers() []interface{}
- func (m *Link) XXX_Size() int
- func (m *Link) XXX_Unmarshal(b []byte) error
- type LinkAttrs
- func (*LinkAttrs) Descriptor() ([]byte, []int)
- func (m *LinkAttrs) GetAlias() string
- func (m *LinkAttrs) GetBondSlaveInfo() *BondSlaveInfo
- func (m *LinkAttrs) GetEncapType() string
- func (m *LinkAttrs) GetFlags() uint32
- func (m *LinkAttrs) GetHardwareAddr() []byte
- func (m *LinkAttrs) GetIndex() int32
- func (m *LinkAttrs) GetMasterIndex() int32
- func (m *LinkAttrs) GetMtu() int32
- func (m *LinkAttrs) GetName() string
- func (m *LinkAttrs) GetOperState() LinkOperState
- func (m *LinkAttrs) GetParentIndex() int32
- func (m *LinkAttrs) GetPromisc() int32
- func (m *LinkAttrs) GetRawFlags() uint32
- func (m *LinkAttrs) GetSlaveInfo() isLinkAttrs_SlaveInfo
- func (m *LinkAttrs) GetTxQLen() int32
- func (a *LinkAttrs) NetHardwareAddr() net.HardwareAddr
- func (*LinkAttrs) ProtoMessage()
- func (m *LinkAttrs) Reset()
- func (m *LinkAttrs) String() string
- func (m *LinkAttrs) XXX_DiscardUnknown()
- func (m *LinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LinkAttrs) XXX_Merge(src proto.Message)
- func (*LinkAttrs) XXX_OneofWrappers() []interface{}
- func (m *LinkAttrs) XXX_Size() int
- func (m *LinkAttrs) XXX_Unmarshal(b []byte) error
- type LinkAttrs_BondSlaveInfo
- type LinkKey
- func (*LinkKey) Descriptor() ([]byte, []int)
- func (m *LinkKey) GetIndex() int32
- func (m *LinkKey) GetNId() uint32
- func (*LinkKey) ProtoMessage()
- func (m *LinkKey) Reset()
- func (m *LinkKey) String() string
- func (k *LinkKey) ToNative() *nladbm.LinkKey
- func (m *LinkKey) XXX_DiscardUnknown()
- func (m *LinkKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LinkKey) XXX_Merge(src proto.Message)
- func (m *LinkKey) XXX_Size() int
- func (m *LinkKey) XXX_Unmarshal(b []byte) error
- type LinkOperState
- type Link_Bond
- type Link_Bridge
- type Link_Device
- type Link_Generic
- type Link_Iptun
- type Link_Veth
- type Link_Vlan
- type Link_Vti
- type Link_Vxlan
- type MPLSDestination
- func (*MPLSDestination) Descriptor() ([]byte, []int)
- func (m *MPLSDestination) GetLabels() []uint32
- func (*MPLSDestination) ProtoMessage()
- func (m *MPLSDestination) Reset()
- func (m *MPLSDestination) String() string
- func (d *MPLSDestination) ToNative() *netlink.MPLSDestination
- func (m *MPLSDestination) XXX_DiscardUnknown()
- func (m *MPLSDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MPLSDestination) XXX_Merge(src proto.Message)
- func (m *MPLSDestination) XXX_Size() int
- func (m *MPLSDestination) XXX_Unmarshal(b []byte) error
- type MPLSEncap
- func (*MPLSEncap) Descriptor() ([]byte, []int)
- func (m *MPLSEncap) GetLabels() []uint32
- func (*MPLSEncap) ProtoMessage()
- func (m *MPLSEncap) Reset()
- func (m *MPLSEncap) String() string
- func (e *MPLSEncap) ToNative() *netlink.MPLSEncap
- func (m *MPLSEncap) XXX_DiscardUnknown()
- func (m *MPLSEncap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MPLSEncap) XXX_Merge(src proto.Message)
- func (m *MPLSEncap) XXX_Size() int
- func (m *MPLSEncap) XXX_Unmarshal(b []byte) error
- type ModNetlinkReply
- func (*ModNetlinkReply) Descriptor() ([]byte, []int)
- func (*ModNetlinkReply) ProtoMessage()
- func (m *ModNetlinkReply) Reset()
- func (m *ModNetlinkReply) String() string
- func (m *ModNetlinkReply) XXX_DiscardUnknown()
- func (m *ModNetlinkReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModNetlinkReply) XXX_Merge(src proto.Message)
- func (m *ModNetlinkReply) XXX_Size() int
- func (m *ModNetlinkReply) XXX_Unmarshal(b []byte) error
- type ModVpnReply
- func (*ModVpnReply) Descriptor() ([]byte, []int)
- func (*ModVpnReply) ProtoMessage()
- func (m *ModVpnReply) Reset()
- func (m *ModVpnReply) String() string
- func (m *ModVpnReply) XXX_DiscardUnknown()
- func (m *ModVpnReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModVpnReply) XXX_Merge(src proto.Message)
- func (m *ModVpnReply) XXX_Size() int
- func (m *ModVpnReply) XXX_Unmarshal(b []byte) error
- type ModVpnRequest
- func (*ModVpnRequest) Descriptor() ([]byte, []int)
- func (m *ModVpnRequest) GetType() uint32
- func (m *ModVpnRequest) GetVpn() *Vpn
- func (*ModVpnRequest) ProtoMessage()
- func (m *ModVpnRequest) Reset()
- func (m *ModVpnRequest) String() string
- func (m *ModVpnRequest) XXX_DiscardUnknown()
- func (m *ModVpnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModVpnRequest) XXX_Merge(src proto.Message)
- func (m *ModVpnRequest) XXX_Size() int
- func (m *ModVpnRequest) XXX_Unmarshal(b []byte) error
- type MonNetlinkRequest
- func (*MonNetlinkRequest) Descriptor() ([]byte, []int)
- func (*MonNetlinkRequest) ProtoMessage()
- func (m *MonNetlinkRequest) Reset()
- func (m *MonNetlinkRequest) String() string
- func (m *MonNetlinkRequest) XXX_DiscardUnknown()
- func (m *MonNetlinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MonNetlinkRequest) XXX_Merge(src proto.Message)
- func (m *MonNetlinkRequest) XXX_Size() int
- func (m *MonNetlinkRequest) XXX_Unmarshal(b []byte) error
- type MplsKey
- func (*MplsKey) Descriptor() ([]byte, []int)
- func (m *MplsKey) GetLLabel() uint32
- func (m *MplsKey) GetNId() uint32
- func (*MplsKey) ProtoMessage()
- func (m *MplsKey) Reset()
- func (m *MplsKey) String() string
- func (k *MplsKey) ToNative() *nladbm.MplsKey
- func (m *MplsKey) XXX_DiscardUnknown()
- func (m *MplsKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MplsKey) XXX_Merge(src proto.Message)
- func (m *MplsKey) XXX_Size() int
- func (m *MplsKey) XXX_Unmarshal(b []byte) error
- type NLAApiClient
- type NLAApiServer
- type NLAApi_GetAddrsClient
- type NLAApi_GetAddrsServer
- type NLAApi_GetBridgeVlanInfosClient
- type NLAApi_GetBridgeVlanInfosServer
- type NLAApi_GetEncapInfosClient
- type NLAApi_GetEncapInfosServer
- type NLAApi_GetIptunsClient
- type NLAApi_GetIptunsServer
- type NLAApi_GetLinksClient
- type NLAApi_GetLinksServer
- type NLAApi_GetMplssClient
- type NLAApi_GetMplssServer
- type NLAApi_GetNeighsClient
- type NLAApi_GetNeighsServer
- type NLAApi_GetNodesClient
- type NLAApi_GetNodesServer
- type NLAApi_GetRoutesClient
- type NLAApi_GetRoutesServer
- type NLAApi_GetStatsClient
- type NLAApi_GetStatsServer
- type NLAApi_GetVpnsClient
- type NLAApi_GetVpnsServer
- type NLAApi_MonNetlinkClient
- type NLAApi_MonNetlinkServer
- type NLACoreApiClient
- type NLACoreApiServer
- type NLACoreApi_MonNetlinkMessageClient
- type NLACoreApi_MonNetlinkMessageServer
- type Neigh
- func (*Neigh) Descriptor() ([]byte, []int)
- func (m *Neigh) GetFamily() int32
- func (m *Neigh) GetFlags() int32
- func (m *Neigh) GetHardwareAddr() []byte
- func (n *Neigh) GetIP() net.IP
- func (m *Neigh) GetIp() []byte
- func (m *Neigh) GetIptun() *NeighIptun
- func (n *Neigh) GetLLIPAddr() net.IP
- func (m *Neigh) GetLinkIndex() int32
- func (m *Neigh) GetLlIpAddr() []byte
- func (m *Neigh) GetNId() uint32
- func (m *Neigh) GetNeId() uint32
- func (m *Neigh) GetNotun() *NeighNotun
- func (m *Neigh) GetPhyLink() int32
- func (m *Neigh) GetState() int32
- func (m *Neigh) GetTunnel() isNeigh_Tunnel
- func (m *Neigh) GetType() int32
- func (m *Neigh) GetVlanId() int32
- func (m *Neigh) GetVni() int32
- func (n *Neigh) NetHardwareAddr() net.HardwareAddr
- func (*Neigh) ProtoMessage()
- func (m *Neigh) Reset()
- func (n *Neigh) SetIptun(iptun *NeighIptun)
- func (n *Neigh) SetNotun(notun *NeighNotun)
- func (m *Neigh) String() string
- func (n *Neigh) ToNative() *nlamsg.Neigh
- func (n *Neigh) ToNetlink() *netlink.Neigh
- func (m *Neigh) XXX_DiscardUnknown()
- func (m *Neigh) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Neigh) XXX_Merge(src proto.Message)
- func (*Neigh) XXX_OneofWrappers() []interface{}
- func (m *Neigh) XXX_Size() int
- func (m *Neigh) XXX_Unmarshal(b []byte) error
- type NeighIptun
- func (*NeighIptun) Descriptor() ([]byte, []int)
- func (n *NeighIptun) GetSrcIP() net.IP
- func (m *NeighIptun) GetSrcIp() []byte
- func (m *NeighIptun) GetTunType() string
- func (*NeighIptun) ProtoMessage()
- func (m *NeighIptun) Reset()
- func (m *NeighIptun) String() string
- func (n *NeighIptun) ToNative() *nlamsg.NeighIptun
- func (m *NeighIptun) XXX_DiscardUnknown()
- func (m *NeighIptun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NeighIptun) XXX_Merge(src proto.Message)
- func (m *NeighIptun) XXX_Size() int
- func (m *NeighIptun) XXX_Unmarshal(b []byte) error
- type NeighKey
- func (*NeighKey) Descriptor() ([]byte, []int)
- func (m *NeighKey) GetAddr() string
- func (m *NeighKey) GetIfindex() int32
- func (m *NeighKey) GetNId() uint32
- func (m *NeighKey) GetVlanId() int32
- func (*NeighKey) ProtoMessage()
- func (m *NeighKey) Reset()
- func (m *NeighKey) String() string
- func (k *NeighKey) ToNative() *nladbm.NeighKey
- func (m *NeighKey) XXX_DiscardUnknown()
- func (m *NeighKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NeighKey) XXX_Merge(src proto.Message)
- func (m *NeighKey) XXX_Size() int
- func (m *NeighKey) XXX_Unmarshal(b []byte) error
- type NeighNotun
- func (*NeighNotun) Descriptor() ([]byte, []int)
- func (*NeighNotun) ProtoMessage()
- func (m *NeighNotun) Reset()
- func (m *NeighNotun) String() string
- func (n *NeighNotun) ToNative() nlamsg.NeighTunnel
- func (m *NeighNotun) XXX_DiscardUnknown()
- func (m *NeighNotun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NeighNotun) XXX_Merge(src proto.Message)
- func (m *NeighNotun) XXX_Size() int
- func (m *NeighNotun) XXX_Unmarshal(b []byte) error
- type Neigh_Iptun
- type Neigh_Notun
- type NetlinkMessage
- func (*NetlinkMessage) Descriptor() ([]byte, []int)
- func (m *NetlinkMessage) GetData() []byte
- func (m *NetlinkMessage) GetHeader() *NlMsghdr
- func (m *NetlinkMessage) GetNId() uint32
- func (m *NetlinkMessage) GetSrc() NlMsgSrc
- func (*NetlinkMessage) ProtoMessage()
- func (m *NetlinkMessage) Reset()
- func (m *NetlinkMessage) String() string
- func (n *NetlinkMessage) ToNative() *nlamsg.NetlinkMessage
- func (n *NetlinkMessage) Type() uint16
- func (m *NetlinkMessage) XXX_DiscardUnknown()
- func (m *NetlinkMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetlinkMessage) XXX_Merge(src proto.Message)
- func (m *NetlinkMessage) XXX_Size() int
- func (m *NetlinkMessage) XXX_Unmarshal(b []byte) error
- type NetlinkMessageReply
- func (*NetlinkMessageReply) Descriptor() ([]byte, []int)
- func (*NetlinkMessageReply) ProtoMessage()
- func (m *NetlinkMessageReply) Reset()
- func (m *NetlinkMessageReply) String() string
- func (m *NetlinkMessageReply) XXX_DiscardUnknown()
- func (m *NetlinkMessageReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetlinkMessageReply) XXX_Merge(src proto.Message)
- func (m *NetlinkMessageReply) XXX_Size() int
- func (m *NetlinkMessageReply) XXX_Unmarshal(b []byte) error
- type NetlinkMessageUnion
- func (*NetlinkMessageUnion) Descriptor() ([]byte, []int)
- func (m *NetlinkMessageUnion) GetHeader() *NlMsghdr
- func (m *NetlinkMessageUnion) GetMsg() *NlMsgUni
- func (m *NetlinkMessageUnion) GetNId() uint32
- func (m *NetlinkMessageUnion) GetSrc() NlMsgSrc
- func (n *NetlinkMessageUnion) Group() uint16
- func (*NetlinkMessageUnion) ProtoMessage()
- func (m *NetlinkMessageUnion) Reset()
- func (m *NetlinkMessageUnion) String() string
- func (n *NetlinkMessageUnion) ToNative() *nlamsg.NetlinkMessageUnion
- func (n *NetlinkMessageUnion) Type() uint16
- func (m *NetlinkMessageUnion) XXX_DiscardUnknown()
- func (m *NetlinkMessageUnion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetlinkMessageUnion) XXX_Merge(src proto.Message)
- func (m *NetlinkMessageUnion) XXX_Size() int
- func (m *NetlinkMessageUnion) XXX_Unmarshal(b []byte) error
- type NexthopInfo
- func (*NexthopInfo) Descriptor() ([]byte, []int)
- func (m *NexthopInfo) GetEncap() *Encap
- func (m *NexthopInfo) GetFlags() int32
- func (m *NexthopInfo) GetGw() []byte
- func (m *NexthopInfo) GetHops() int32
- func (m *NexthopInfo) GetLinkIndex() int32
- func (m *NexthopInfo) GetNewDst() *Destination
- func (n *NexthopInfo) NetGw() net.IP
- func (*NexthopInfo) ProtoMessage()
- func (m *NexthopInfo) Reset()
- func (m *NexthopInfo) String() string
- func (n *NexthopInfo) ToNative() *netlink.NexthopInfo
- func (m *NexthopInfo) XXX_DiscardUnknown()
- func (m *NexthopInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NexthopInfo) XXX_Merge(src proto.Message)
- func (m *NexthopInfo) XXX_Size() int
- func (m *NexthopInfo) XXX_Unmarshal(b []byte) error
- type NlMsgSrc
- type NlMsgUni
- func (*NlMsgUni) Descriptor() ([]byte, []int)
- func (m *NlMsgUni) GetAddr() *Addr
- func (m *NlMsgUni) GetBrVlanInfo() *BridgeVlanInfo
- func (m *NlMsgUni) GetLink() *Link
- func (m *NlMsgUni) GetMsg() isNlMsgUni_Msg
- func (m *NlMsgUni) GetNeigh() *Neigh
- func (m *NlMsgUni) GetNode() *Node
- func (m *NlMsgUni) GetRoute() *Route
- func (m *NlMsgUni) GetVpn() *Vpn
- func (*NlMsgUni) ProtoMessage()
- func (m *NlMsgUni) Reset()
- func (m *NlMsgUni) String() string
- func (n *NlMsgUni) ToNative(g uint16) interface{}
- func (m *NlMsgUni) XXX_DiscardUnknown()
- func (m *NlMsgUni) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NlMsgUni) XXX_Merge(src proto.Message)
- func (*NlMsgUni) XXX_OneofWrappers() []interface{}
- func (m *NlMsgUni) XXX_Size() int
- func (m *NlMsgUni) XXX_Unmarshal(b []byte) error
- type NlMsgUni_Addr
- type NlMsgUni_BrVlanInfo
- type NlMsgUni_Link
- type NlMsgUni_Neigh
- type NlMsgUni_Node
- type NlMsgUni_Route
- type NlMsgUni_Vpn
- type NlMsghdr
- func (*NlMsghdr) Descriptor() ([]byte, []int)
- func (m *NlMsghdr) GetFlags() uint32
- func (m *NlMsghdr) GetLen() uint32
- func (m *NlMsghdr) GetPid() uint32
- func (m *NlMsghdr) GetSeq() uint32
- func (m *NlMsghdr) GetType() uint32
- func (*NlMsghdr) ProtoMessage()
- func (m *NlMsghdr) Reset()
- func (m *NlMsghdr) String() string
- func (h *NlMsghdr) ToNative() *syscall.NlMsghdr
- func (m *NlMsghdr) XXX_DiscardUnknown()
- func (m *NlMsghdr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NlMsghdr) XXX_Merge(src proto.Message)
- func (m *NlMsghdr) XXX_Size() int
- func (m *NlMsghdr) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (n *Node) GetIP() net.IP
- func (m *Node) GetIp() []byte
- func (m *Node) GetNId() uint32
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (n *Node) ToNative() *nlamsg.Node
- func (n *Node) ToNetlink() *nlalink.Node
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type NodeKey
- func (*NodeKey) Descriptor() ([]byte, []int)
- func (m *NodeKey) GetNId() uint32
- func (*NodeKey) ProtoMessage()
- func (m *NodeKey) Reset()
- func (m *NodeKey) String() string
- func (k *NodeKey) ToNative() *nladbm.NodeKey
- func (m *NodeKey) XXX_DiscardUnknown()
- func (m *NodeKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeKey) XXX_Merge(src proto.Message)
- func (m *NodeKey) XXX_Size() int
- func (m *NodeKey) XXX_Unmarshal(b []byte) error
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (m *Route) GetDst() []byte
- func (m *Route) GetDstMask() []byte
- func (m *Route) GetEnIds() []uint32
- func (m *Route) GetEncap() *Encap
- func (m *Route) GetFlags() int32
- func (m *Route) GetGw() []byte
- func (m *Route) GetILinkIndex() int32
- func (m *Route) GetLinkIndex() int32
- func (m *Route) GetMplsDst() int32
- func (m *Route) GetMultiPath() []*NexthopInfo
- func (m *Route) GetNId() uint32
- func (m *Route) GetNewDst() *Destination
- func (m *Route) GetPriority() int32
- func (m *Route) GetProtocol() int32
- func (m *Route) GetRtId() uint32
- func (m *Route) GetScope() int32
- func (m *Route) GetSrc() []byte
- func (m *Route) GetTable() int32
- func (m *Route) GetTos() int32
- func (m *Route) GetType() int32
- func (m *Route) GetVpnGw() []byte
- func (r *Route) NetDst() *net.IPNet
- func (r *Route) NetGw() net.IP
- func (r *Route) NetScope() netlink.Scope
- func (r *Route) NetSrc() net.IP
- func (r *Route) NetVpnGw() net.IP
- func (*Route) ProtoMessage()
- func (m *Route) Reset()
- func (m *Route) String() string
- func (r *Route) ToNative() *nlamsg.Route
- func (r *Route) ToNetlink() *netlink.Route
- func (m *Route) XXX_DiscardUnknown()
- func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Route) XXX_Merge(src proto.Message)
- func (m *Route) XXX_Size() int
- func (m *Route) XXX_Unmarshal(b []byte) error
- type RouteKey
- func (*RouteKey) Descriptor() ([]byte, []int)
- func (m *RouteKey) GetAddr() string
- func (m *RouteKey) GetNId() uint32
- func (*RouteKey) ProtoMessage()
- func (m *RouteKey) Reset()
- func (m *RouteKey) String() string
- func (k *RouteKey) ToNative() *nladbm.RouteKey
- func (m *RouteKey) XXX_DiscardUnknown()
- func (m *RouteKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteKey) XXX_Merge(src proto.Message)
- func (m *RouteKey) XXX_Size() int
- func (m *RouteKey) XXX_Unmarshal(b []byte) error
- type Stat
- func (*Stat) Descriptor() ([]byte, []int)
- func (m *Stat) GetKey() string
- func (m *Stat) GetVal() uint64
- func (*Stat) ProtoMessage()
- func (m *Stat) Reset()
- func (m *Stat) String() string
- func (m *Stat) XXX_DiscardUnknown()
- func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stat) XXX_Merge(src proto.Message)
- func (m *Stat) XXX_Size() int
- func (m *Stat) XXX_Unmarshal(b []byte) error
- type UnimplementedNLAApiServer
- func (*UnimplementedNLAApiServer) GetAddr(ctx context.Context, req *AddrKey) (*Addr, error)
- func (*UnimplementedNLAApiServer) GetAddrs(req *GetAddrsRequest, srv NLAApi_GetAddrsServer) error
- func (*UnimplementedNLAApiServer) GetBridgeVlanInfo(ctx context.Context, req *BridgeVlanInfoKey) (*BridgeVlanInfo, error)
- func (*UnimplementedNLAApiServer) GetBridgeVlanInfos(req *GetBridgeVlanInfosRequest, srv NLAApi_GetBridgeVlanInfosServer) error
- func (*UnimplementedNLAApiServer) GetEncapInfo(ctx context.Context, req *EncapInfoKey) (*EncapInfo, error)
- func (*UnimplementedNLAApiServer) GetEncapInfos(req *GetEncapInfosRequest, srv NLAApi_GetEncapInfosServer) error
- func (*UnimplementedNLAApiServer) GetIptun(ctx context.Context, req *IptunKey) (*Iptun, error)
- func (*UnimplementedNLAApiServer) GetIptuns(req *GetIptunsRequest, srv NLAApi_GetIptunsServer) error
- func (*UnimplementedNLAApiServer) GetLink(ctx context.Context, req *LinkKey) (*Link, error)
- func (*UnimplementedNLAApiServer) GetLinks(req *GetLinksRequest, srv NLAApi_GetLinksServer) error
- func (*UnimplementedNLAApiServer) GetMpls(ctx context.Context, req *MplsKey) (*Route, error)
- func (*UnimplementedNLAApiServer) GetMplss(req *GetMplssRequest, srv NLAApi_GetMplssServer) error
- func (*UnimplementedNLAApiServer) GetNeigh(ctx context.Context, req *NeighKey) (*Neigh, error)
- func (*UnimplementedNLAApiServer) GetNeighs(req *GetNeighsRequest, srv NLAApi_GetNeighsServer) error
- func (*UnimplementedNLAApiServer) GetNode(ctx context.Context, req *NodeKey) (*Node, error)
- func (*UnimplementedNLAApiServer) GetNodes(req *GetNodesRequest, srv NLAApi_GetNodesServer) error
- func (*UnimplementedNLAApiServer) GetRoute(ctx context.Context, req *RouteKey) (*Route, error)
- func (*UnimplementedNLAApiServer) GetRoutes(req *GetRoutesRequest, srv NLAApi_GetRoutesServer) error
- func (*UnimplementedNLAApiServer) GetStats(req *GetStatsRequest, srv NLAApi_GetStatsServer) error
- func (*UnimplementedNLAApiServer) GetVpn(ctx context.Context, req *VpnKey) (*Vpn, error)
- func (*UnimplementedNLAApiServer) GetVpns(req *GetVpnsRequest, srv NLAApi_GetVpnsServer) error
- func (*UnimplementedNLAApiServer) ModNetlink(ctx context.Context, req *NetlinkMessageUnion) (*ModNetlinkReply, error)
- func (*UnimplementedNLAApiServer) ModVpn(ctx context.Context, req *ModVpnRequest) (*ModVpnReply, error)
- func (*UnimplementedNLAApiServer) MonNetlink(req *MonNetlinkRequest, srv NLAApi_MonNetlinkServer) error
- type UnimplementedNLACoreApiServer
- type VethLinkAttrs
- func (*VethLinkAttrs) Descriptor() ([]byte, []int)
- func (m *VethLinkAttrs) GetLinkAttrs() *LinkAttrs
- func (m *VethLinkAttrs) GetPeerName() string
- func (*VethLinkAttrs) ProtoMessage()
- func (m *VethLinkAttrs) Reset()
- func (m *VethLinkAttrs) String() string
- func (m *VethLinkAttrs) XXX_DiscardUnknown()
- func (m *VethLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VethLinkAttrs) XXX_Merge(src proto.Message)
- func (m *VethLinkAttrs) XXX_Size() int
- func (m *VethLinkAttrs) XXX_Unmarshal(b []byte) error
- type VlanLinkAttrs
- func (*VlanLinkAttrs) Descriptor() ([]byte, []int)
- func (m *VlanLinkAttrs) GetLinkAttrs() *LinkAttrs
- func (m *VlanLinkAttrs) GetVlanId() int32
- func (*VlanLinkAttrs) ProtoMessage()
- func (m *VlanLinkAttrs) Reset()
- func (m *VlanLinkAttrs) String() string
- func (m *VlanLinkAttrs) XXX_DiscardUnknown()
- func (m *VlanLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VlanLinkAttrs) XXX_Merge(src proto.Message)
- func (m *VlanLinkAttrs) XXX_Size() int
- func (m *VlanLinkAttrs) XXX_Unmarshal(b []byte) error
- type Vpn
- func (*Vpn) Descriptor() ([]byte, []int)
- func (m *Vpn) GetGw() []byte
- func (v *Vpn) GetIPNet() *net.IPNet
- func (m *Vpn) GetIp() []byte
- func (m *Vpn) GetLabel() uint32
- func (m *Vpn) GetMask() []byte
- func (m *Vpn) GetNId() uint32
- func (m *Vpn) GetVpnGw() []byte
- func (m *Vpn) GetVpnId() uint32
- func (v *Vpn) NetGw() net.IP
- func (v *Vpn) NetVpnGw() net.IP
- func (*Vpn) ProtoMessage()
- func (m *Vpn) Reset()
- func (m *Vpn) String() string
- func (v *Vpn) ToNative() *nlamsg.Vpn
- func (v *Vpn) ToNetlink() *nlalink.Vpn
- func (m *Vpn) XXX_DiscardUnknown()
- func (m *Vpn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vpn) XXX_Merge(src proto.Message)
- func (m *Vpn) XXX_Size() int
- func (m *Vpn) XXX_Unmarshal(b []byte) error
- type VpnKey
- func (*VpnKey) Descriptor() ([]byte, []int)
- func (m *VpnKey) GetDst() string
- func (m *VpnKey) GetGw() string
- func (m *VpnKey) GetNId() uint32
- func (*VpnKey) ProtoMessage()
- func (m *VpnKey) Reset()
- func (m *VpnKey) String() string
- func (k *VpnKey) ToNative() *nladbm.VpnKey
- func (m *VpnKey) XXX_DiscardUnknown()
- func (m *VpnKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VpnKey) XXX_Merge(src proto.Message)
- func (m *VpnKey) XXX_Size() int
- func (m *VpnKey) XXX_Unmarshal(b []byte) error
- type VtiLinkAttrs
- func (*VtiLinkAttrs) Descriptor() ([]byte, []int)
- func (m *VtiLinkAttrs) GetIKey() uint32
- func (m *VtiLinkAttrs) GetLink() uint32
- func (m *VtiLinkAttrs) GetLinkAttrs() *LinkAttrs
- func (m *VtiLinkAttrs) GetLocal() []byte
- func (m *VtiLinkAttrs) GetOKey() uint32
- func (m *VtiLinkAttrs) GetRemote() []byte
- func (*VtiLinkAttrs) ProtoMessage()
- func (m *VtiLinkAttrs) Reset()
- func (m *VtiLinkAttrs) String() string
- func (m *VtiLinkAttrs) XXX_DiscardUnknown()
- func (m *VtiLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VtiLinkAttrs) XXX_Merge(src proto.Message)
- func (m *VtiLinkAttrs) XXX_Size() int
- func (m *VtiLinkAttrs) XXX_Unmarshal(b []byte) error
- type VxlanLinkAttrs
- func (*VxlanLinkAttrs) Descriptor() ([]byte, []int)
- func (m *VxlanLinkAttrs) GetAge() int32
- func (m *VxlanLinkAttrs) GetGbp() bool
- func (m *VxlanLinkAttrs) GetGroup() []byte
- func (m *VxlanLinkAttrs) GetL2Miss() bool
- func (m *VxlanLinkAttrs) GetL3Miss() bool
- func (m *VxlanLinkAttrs) GetLearning() bool
- func (m *VxlanLinkAttrs) GetLimit() int32
- func (m *VxlanLinkAttrs) GetLinkAttrs() *LinkAttrs
- func (m *VxlanLinkAttrs) GetNoAge() bool
- func (m *VxlanLinkAttrs) GetPort() int32
- func (m *VxlanLinkAttrs) GetPortHigh() int32
- func (m *VxlanLinkAttrs) GetPortLow() int32
- func (m *VxlanLinkAttrs) GetProxy() bool
- func (m *VxlanLinkAttrs) GetRsc() bool
- func (m *VxlanLinkAttrs) GetSrcAddr() []byte
- func (m *VxlanLinkAttrs) GetTos() int32
- func (m *VxlanLinkAttrs) GetTtl() int32
- func (m *VxlanLinkAttrs) GetUdpCSum() bool
- func (m *VxlanLinkAttrs) GetVtepDevIndex() int32
- func (m *VxlanLinkAttrs) GetVxlanId() int32
- func (*VxlanLinkAttrs) ProtoMessage()
- func (m *VxlanLinkAttrs) Reset()
- func (m *VxlanLinkAttrs) String() string
- func (m *VxlanLinkAttrs) XXX_DiscardUnknown()
- func (m *VxlanLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VxlanLinkAttrs) XXX_Merge(src proto.Message)
- func (m *VxlanLinkAttrs) XXX_Size() int
- func (m *VxlanLinkAttrs) XXX_Unmarshal(b []byte) error
Constants ¶
const ( LINK_TYPE_DEVICE = "device" LINK_TYPE_BRIDGE = "bridge" LINK_TYPE_VLAN = "vlan" LINK_TYPE_VXLAN = "vxlan" LINK_TYPE_VTI = "vti" LINK_TYPE_VTI6 = "vti6" LINK_TYPE_VETH = "veth" LINK_TYPE_BOND = "bond" LINK_TYPE_GENERIC = "generic" LINK_TYPE_IP4TUN = "ipip" LINK_TYPE_IP6TUN = "ip6tnl" )
const NODE_ID_ALL uint8 = 255
Variables ¶
var BondAdSelect_name = map[int32]string{
0: "BOND_AD_SELECT_STABLE",
1: "BOND_AD_SELECT_BANDWIDTH",
2: "BOND_AD_SELECT_COUNT",
}
var BondAdSelect_value = map[string]int32{
"BOND_AD_SELECT_STABLE": 0,
"BOND_AD_SELECT_BANDWIDTH": 1,
"BOND_AD_SELECT_COUNT": 2,
}
var BondArpAllTargets_name = map[int32]string{
0: "BOND_ARP_ALL_TARGETS_ANY",
1: "BOND_ARP_ALL_TARGETS_ALL",
}
var BondArpAllTargets_value = map[string]int32{
"BOND_ARP_ALL_TARGETS_ANY": 0,
"BOND_ARP_ALL_TARGETS_ALL": 1,
}
var BondArpValidate_name = map[int32]string{
0: "BOND_ARP_VALIDATE_NONE",
1: "BOND_ARP_VALIDATE_ACTIVE",
2: "BOND_ARP_VALIDATE_BACKUP",
3: "BOND_ARP_VALIDATE_ALL",
}
var BondArpValidate_value = map[string]int32{
"BOND_ARP_VALIDATE_NONE": 0,
"BOND_ARP_VALIDATE_ACTIVE": 1,
"BOND_ARP_VALIDATE_BACKUP": 2,
"BOND_ARP_VALIDATE_ALL": 3,
}
var BondFailOverMac_name = map[int32]string{
0: "BOND_FAIL_OVER_MAC_NONE",
1: "BOND_FAIL_OVER_MAC_ACTIVE",
2: "BOND_FAIL_OVER_MAC_FOLLOW",
}
var BondFailOverMac_value = map[string]int32{
"BOND_FAIL_OVER_MAC_NONE": 0,
"BOND_FAIL_OVER_MAC_ACTIVE": 1,
"BOND_FAIL_OVER_MAC_FOLLOW": 2,
}
var BondLacpRate_name = map[int32]string{
0: "BOND_LACP_RATE_SLOW",
1: "BOND_LACP_RATE_FAST",
2: "BOND_LACP_RATE_UNKNOWN",
}
var BondLacpRate_value = map[string]int32{
"BOND_LACP_RATE_SLOW": 0,
"BOND_LACP_RATE_FAST": 1,
"BOND_LACP_RATE_UNKNOWN": 2,
}
var BondLinkState_name = map[int32]string{
0: "BOND_LINK_UP",
1: "BOND_LINK_FAIL",
2: "BOND_LINK_DOWN",
3: "BOND_LINK_BACK",
-1: "BOND_LINK_UNKNOWN",
}
var BondLinkState_value = map[string]int32{
"BOND_LINK_UP": 0,
"BOND_LINK_FAIL": 1,
"BOND_LINK_DOWN": 2,
"BOND_LINK_BACK": 3,
"BOND_LINK_UNKNOWN": -1,
}
var BondMode_name = map[int32]string{
0: "BOND_MODE_BALANCE_RR",
1: "BOND_MODE_ACTIVE_BACKUP",
2: "BOND_MODE_BALANCE_XOR",
3: "BOND_MODE_BROADCAST",
4: "BOND_MODE_802_3AD",
5: "BOND_MODE_BALANCE_TLB",
6: "BOND_MODE_BALANCE_ALB",
7: "BOND_MODE_UNKNOWN",
}
var BondMode_value = map[string]int32{
"BOND_MODE_BALANCE_RR": 0,
"BOND_MODE_ACTIVE_BACKUP": 1,
"BOND_MODE_BALANCE_XOR": 2,
"BOND_MODE_BROADCAST": 3,
"BOND_MODE_802_3AD": 4,
"BOND_MODE_BALANCE_TLB": 5,
"BOND_MODE_BALANCE_ALB": 6,
"BOND_MODE_UNKNOWN": 7,
}
var BondPrimaryReselect_name = map[int32]string{
0: "BOND_PRIMARY_RESELECT_ALWAYS",
1: "BOND_PRIMARY_RESELECT_BETTER",
2: "BOND_PRIMARY_RESELECT_FAILURE",
}
var BondPrimaryReselect_value = map[string]int32{
"BOND_PRIMARY_RESELECT_ALWAYS": 0,
"BOND_PRIMARY_RESELECT_BETTER": 1,
"BOND_PRIMARY_RESELECT_FAILURE": 2,
}
var BondState_name = map[int32]string{
0: "BOND_STATE_ACTIVE",
1: "BOND_STATE_BACKUP",
-1: "BOND_STATE_UNKNOWN",
}
var BondState_value = map[string]int32{
"BOND_STATE_ACTIVE": 0,
"BOND_STATE_BACKUP": 1,
"BOND_STATE_UNKNOWN": -1,
}
var BondXmitHashPolicy_name = map[int32]string{
0: "BOND_XMIT_HASH_POLICY_LAYER2",
1: "BOND_XMIT_HASH_POLICY_LAYER3_4",
2: "BOND_XMIT_HASH_POLICY_LAYER2_3",
3: "BOND_XMIT_HASH_POLICY_ENCAP2_3",
4: "BOND_XMIT_HASH_POLICY_ENCAP3_4",
5: "BOND_XMIT_HASH_POLICY_UNKNOWN",
}
var BondXmitHashPolicy_value = map[string]int32{
"BOND_XMIT_HASH_POLICY_LAYER2": 0,
"BOND_XMIT_HASH_POLICY_LAYER3_4": 1,
"BOND_XMIT_HASH_POLICY_LAYER2_3": 2,
"BOND_XMIT_HASH_POLICY_ENCAP2_3": 3,
"BOND_XMIT_HASH_POLICY_ENCAP3_4": 4,
"BOND_XMIT_HASH_POLICY_UNKNOWN": 5,
}
var BridgeVlanInfo_Flags_name = map[int32]string{
0: "NOP",
1: "MASTER",
2: "PVID",
4: "UNTAGGED",
8: "RANGE_BEGIN",
16: "RANGE_END",
}
var BridgeVlanInfo_Flags_value = map[string]int32{
"NOP": 0,
"MASTER": 1,
"PVID": 2,
"UNTAGGED": 4,
"RANGE_BEGIN": 8,
"RANGE_END": 16,
}
var BridgeVlanInfo_PortType_name = map[int32]string{
0: "NONE_PORT",
1: "ACCESS_PORT",
2: "TRUNK_PORT",
3: "MASTER_PORT",
}
var BridgeVlanInfo_PortType_value = map[string]int32{
"NONE_PORT": 0,
"ACCESS_PORT": 1,
"TRUNK_PORT": 2,
"MASTER_PORT": 3,
}
var LinkOperState_name = map[int32]string{
0: "OperUnknown",
1: "OperNotPresent",
2: "OperDown",
3: "OperLowerLayerDown",
4: "OperTesting",
5: "OperDormant",
6: "OperUp",
}
var LinkOperState_value = map[string]int32{
"OperUnknown": 0,
"OperNotPresent": 1,
"OperDown": 2,
"OperLowerLayerDown": 3,
"OperTesting": 4,
"OperDormant": 5,
"OperUp": 6,
}
var NlMsgSrc_from_native = map[nlamsg.NlMsgSrc]NlMsgSrc{ nlamsg.SRC_NOP: NlMsgSrc_NOP, nlamsg.SRC_KNL: NlMsgSrc_KNL, nlamsg.SRC_API: NlMsgSrc_API, }
var NlMsgSrc_name = map[int32]string{
0: "NOP",
1: "KNL",
2: "API",
}
var NlMsgSrc_to_native = map[NlMsgSrc]nlamsg.NlMsgSrc{ NlMsgSrc_NOP: nlamsg.SRC_NOP, NlMsgSrc_KNL: nlamsg.SRC_KNL, NlMsgSrc_API: nlamsg.SRC_API, }
NlMsgSrc
var NlMsgSrc_value = map[string]int32{
"NOP": 0,
"KNL": 1,
"API": 2,
}
Functions ¶
func BondAdInfoToNative ¶
func BondAdInfoToNative(a *BondAdInfo) *netlink.BondAdInfo
Link (BondAdInfo)
func BondLinkToNative ¶
func BridgeLinkToNative ¶
func BytesToIPs ¶
func DeviceLinkToNative ¶
func GenericLinkToNative ¶
func IPsToBytes ¶
func IptunLinkToNative ¶ added in v0.3.1
func LinkAttrsFromNative ¶
func LinkAttrsToNative ¶
func Neigh_TunnelToNative ¶ added in v0.3.1
func Neigh_TunnelToNative(src isNeigh_Tunnel) nlamsg.NeighTunnel
func NewIptunLinkAttrsFromNative ¶ added in v0.3.1
func NewMPLSLabelFromNatives ¶
func NewMPLSLabelToNatives ¶
func NewNeigh_TunnelFromNative ¶ added in v0.3.1
func NewNeigh_TunnelFromNative(src nlamsg.NeighTunnel) isNeigh_Tunnel
func NewNexthopInfoToNatives ¶
func NewNexthopInfoToNatives(ns []*NexthopInfo) []*netlink.NexthopInfo
func NewNodeIdFromNative ¶ added in v0.2.0
func NewSlaveInfoFromNative ¶ added in v0.4.0
func NewSlaveInfoFromNative(n netlink.LinkSlaveInfo) isLinkAttrs_SlaveInfo
func NodeIdToNative ¶ added in v0.2.0
func RegisterNLAApiServer ¶
func RegisterNLAApiServer(s *grpc.Server, srv NLAApiServer)
func RegisterNLACoreApiServer ¶
func RegisterNLACoreApiServer(s *grpc.Server, srv NLACoreApiServer)
func SlaveInfoToNative ¶ added in v0.4.0
func SlaveInfoToNative(s isLinkAttrs_SlaveInfo) netlink.LinkSlaveInfo
func VethLinkToNative ¶
func VlanLinkToNative ¶
func VtiLinkToNative ¶
func VxlanLinkToNative ¶
Types ¶
type Addr ¶
type Addr struct { Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` IpMask []byte `protobuf:"bytes,2,opt,name=ip_mask,json=ipMask,proto3" json:"ip_mask,omitempty"` Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` Flags int32 `protobuf:"varint,4,opt,name=flags,proto3" json:"flags,omitempty"` Scope int32 `protobuf:"varint,5,opt,name=scope,proto3" json:"scope,omitempty"` Peer []byte `protobuf:"bytes,6,opt,name=peer,proto3" json:"peer,omitempty"` PeerMask []byte `protobuf:"bytes,7,opt,name=peer_mask,json=peerMask,proto3" json:"peer_mask,omitempty"` Broadcast []byte `protobuf:"bytes,8,opt,name=broadcast,proto3" json:"broadcast,omitempty"` Index int32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"` Family int32 `protobuf:"varint,10,opt,name=family,proto3" json:"family,omitempty"` NId uint32 `protobuf:"varint,11,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` AdId uint32 `protobuf:"varint,12,opt,name=ad_id,json=adId,proto3" json:"ad_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewAddrFromNative ¶
func (*Addr) Descriptor ¶
func (*Addr) GetBroadcast ¶
func (*Addr) GetPeerMask ¶
func (*Addr) NetBroadcast ¶
func (*Addr) ProtoMessage ¶
func (*Addr) ProtoMessage()
func (*Addr) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Addr) XXX_DiscardUnknown()
func (*Addr) XXX_Marshal ¶ added in v0.3.1
func (*Addr) XXX_Unmarshal ¶ added in v0.3.1
type AddrKey ¶
type AddrKey struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewAddrKeyFromNative ¶
func (*AddrKey) Descriptor ¶
func (*AddrKey) ProtoMessage ¶
func (*AddrKey) ProtoMessage()
func (*AddrKey) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *AddrKey) XXX_DiscardUnknown()
func (*AddrKey) XXX_Marshal ¶ added in v0.3.1
func (*AddrKey) XXX_Unmarshal ¶ added in v0.3.1
type BondAdInfo ¶
type BondAdInfo struct { AggregatorId int32 `protobuf:"varint,1,opt,name=aggregator_id,json=aggregatorId,proto3" json:"aggregator_id,omitempty"` NumPorts int32 `protobuf:"varint,2,opt,name=num_ports,json=numPorts,proto3" json:"num_ports,omitempty"` ActorKey int32 `protobuf:"varint,3,opt,name=actor_key,json=actorKey,proto3" json:"actor_key,omitempty"` PartnerKey int32 `protobuf:"varint,4,opt,name=partner_key,json=partnerKey,proto3" json:"partner_key,omitempty"` PartnerMac []byte `protobuf:"bytes,5,opt,name=partner_mac,json=partnerMac,proto3" json:"partner_mac,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func BondAdInfoFromNative ¶
func BondAdInfoFromNative(n *netlink.BondAdInfo) *BondAdInfo
func NewBondAdInfo ¶
func NewBondAdInfo() *BondAdInfo
func (*BondAdInfo) Descriptor ¶
func (*BondAdInfo) Descriptor() ([]byte, []int)
func (*BondAdInfo) GetActorKey ¶
func (m *BondAdInfo) GetActorKey() int32
func (*BondAdInfo) GetAggregatorId ¶
func (m *BondAdInfo) GetAggregatorId() int32
func (*BondAdInfo) GetNumPorts ¶
func (m *BondAdInfo) GetNumPorts() int32
func (*BondAdInfo) GetPartnerKey ¶
func (m *BondAdInfo) GetPartnerKey() int32
func (*BondAdInfo) GetPartnerMac ¶
func (m *BondAdInfo) GetPartnerMac() []byte
func (*BondAdInfo) ProtoMessage ¶
func (*BondAdInfo) ProtoMessage()
func (*BondAdInfo) Reset ¶
func (m *BondAdInfo) Reset()
func (*BondAdInfo) String ¶
func (m *BondAdInfo) String() string
func (*BondAdInfo) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *BondAdInfo) XXX_DiscardUnknown()
func (*BondAdInfo) XXX_Marshal ¶ added in v0.3.1
func (m *BondAdInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondAdInfo) XXX_Merge ¶ added in v0.3.1
func (m *BondAdInfo) XXX_Merge(src proto.Message)
func (*BondAdInfo) XXX_Size ¶ added in v0.3.1
func (m *BondAdInfo) XXX_Size() int
func (*BondAdInfo) XXX_Unmarshal ¶ added in v0.3.1
func (m *BondAdInfo) XXX_Unmarshal(b []byte) error
type BondAdSelect ¶
type BondAdSelect int32
const ( BondAdSelect_BOND_AD_SELECT_STABLE BondAdSelect = 0 BondAdSelect_BOND_AD_SELECT_BANDWIDTH BondAdSelect = 1 BondAdSelect_BOND_AD_SELECT_COUNT BondAdSelect = 2 )
func (BondAdSelect) EnumDescriptor ¶
func (BondAdSelect) EnumDescriptor() ([]byte, []int)
func (BondAdSelect) String ¶
func (x BondAdSelect) String() string
type BondArpAllTargets ¶
type BondArpAllTargets int32
const ( BondArpAllTargets_BOND_ARP_ALL_TARGETS_ANY BondArpAllTargets = 0 BondArpAllTargets_BOND_ARP_ALL_TARGETS_ALL BondArpAllTargets = 1 )
func (BondArpAllTargets) EnumDescriptor ¶
func (BondArpAllTargets) EnumDescriptor() ([]byte, []int)
func (BondArpAllTargets) String ¶
func (x BondArpAllTargets) String() string
type BondArpValidate ¶
type BondArpValidate int32
const ( BondArpValidate_BOND_ARP_VALIDATE_NONE BondArpValidate = 0 BondArpValidate_BOND_ARP_VALIDATE_ACTIVE BondArpValidate = 1 BondArpValidate_BOND_ARP_VALIDATE_BACKUP BondArpValidate = 2 BondArpValidate_BOND_ARP_VALIDATE_ALL BondArpValidate = 3 )
func (BondArpValidate) EnumDescriptor ¶
func (BondArpValidate) EnumDescriptor() ([]byte, []int)
func (BondArpValidate) String ¶
func (x BondArpValidate) String() string
type BondFailOverMac ¶
type BondFailOverMac int32
const ( BondFailOverMac_BOND_FAIL_OVER_MAC_NONE BondFailOverMac = 0 BondFailOverMac_BOND_FAIL_OVER_MAC_ACTIVE BondFailOverMac = 1 BondFailOverMac_BOND_FAIL_OVER_MAC_FOLLOW BondFailOverMac = 2 )
func (BondFailOverMac) EnumDescriptor ¶
func (BondFailOverMac) EnumDescriptor() ([]byte, []int)
func (BondFailOverMac) String ¶
func (x BondFailOverMac) String() string
type BondLacpRate ¶
type BondLacpRate int32
const ( BondLacpRate_BOND_LACP_RATE_SLOW BondLacpRate = 0 BondLacpRate_BOND_LACP_RATE_FAST BondLacpRate = 1 BondLacpRate_BOND_LACP_RATE_UNKNOWN BondLacpRate = 2 )
func (BondLacpRate) EnumDescriptor ¶
func (BondLacpRate) EnumDescriptor() ([]byte, []int)
func (BondLacpRate) String ¶
func (x BondLacpRate) String() string
type BondLinkAttrs ¶
type BondLinkAttrs struct { LinkAttrs *LinkAttrs `protobuf:"bytes,1,opt,name=link_attrs,json=linkAttrs,proto3" json:"link_attrs,omitempty"` Mode BondMode `protobuf:"varint,2,opt,name=mode,proto3,enum=nlaapi.BondMode" json:"mode,omitempty"` ActiveSlave int32 `protobuf:"varint,3,opt,name=active_slave,json=activeSlave,proto3" json:"active_slave,omitempty"` Miimon int32 `protobuf:"varint,4,opt,name=miimon,proto3" json:"miimon,omitempty"` UpDelay int32 `protobuf:"varint,5,opt,name=up_delay,json=upDelay,proto3" json:"up_delay,omitempty"` DownDelay int32 `protobuf:"varint,6,opt,name=down_delay,json=downDelay,proto3" json:"down_delay,omitempty"` UseCarrier int32 `protobuf:"varint,7,opt,name=use_carrier,json=useCarrier,proto3" json:"use_carrier,omitempty"` ArpInterval int32 `protobuf:"varint,8,opt,name=arp_interval,json=arpInterval,proto3" json:"arp_interval,omitempty"` ArpIpTargets [][]byte `protobuf:"bytes,9,rep,name=arp_ip_targets,json=arpIpTargets,proto3" json:"arp_ip_targets,omitempty"` ArpValidate BondArpValidate `protobuf:"varint,10,opt,name=arp_validate,json=arpValidate,proto3,enum=nlaapi.BondArpValidate" json:"arp_validate,omitempty"` ArpAllTargets BondArpAllTargets `` /* 134-byte string literal not displayed */ Primary int32 `protobuf:"varint,12,opt,name=primary,proto3" json:"primary,omitempty"` PrimaryReselect BondPrimaryReselect `` /* 140-byte string literal not displayed */ FailOverMac BondFailOverMac `` /* 126-byte string literal not displayed */ XmitHashPolicy BondXmitHashPolicy `` /* 138-byte string literal not displayed */ ResendIgmp int32 `protobuf:"varint,16,opt,name=resend_igmp,json=resendIgmp,proto3" json:"resend_igmp,omitempty"` NumPeerNotif int32 `protobuf:"varint,17,opt,name=num_peer_notif,json=numPeerNotif,proto3" json:"num_peer_notif,omitempty"` AllSlavesActive int32 `protobuf:"varint,18,opt,name=all_slaves_active,json=allSlavesActive,proto3" json:"all_slaves_active,omitempty"` MinLinks int32 `protobuf:"varint,19,opt,name=min_links,json=minLinks,proto3" json:"min_links,omitempty"` LpInterval int32 `protobuf:"varint,20,opt,name=lp_interval,json=lpInterval,proto3" json:"lp_interval,omitempty"` PackersPerSlave int32 `protobuf:"varint,21,opt,name=packers_per_slave,json=packersPerSlave,proto3" json:"packers_per_slave,omitempty"` LacpRate BondLacpRate `protobuf:"varint,22,opt,name=lacp_rate,json=lacpRate,proto3,enum=nlaapi.BondLacpRate" json:"lacp_rate,omitempty"` AdSelect BondAdSelect `protobuf:"varint,23,opt,name=ad_select,json=adSelect,proto3,enum=nlaapi.BondAdSelect" json:"ad_select,omitempty"` AdInfo *BondAdInfo `protobuf:"bytes,24,opt,name=ad_info,json=adInfo,proto3" json:"ad_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BondLinkAttrs) Descriptor ¶
func (*BondLinkAttrs) Descriptor() ([]byte, []int)
func (*BondLinkAttrs) GetActiveSlave ¶
func (m *BondLinkAttrs) GetActiveSlave() int32
func (*BondLinkAttrs) GetAdInfo ¶
func (m *BondLinkAttrs) GetAdInfo() *BondAdInfo
func (*BondLinkAttrs) GetAdSelect ¶
func (m *BondLinkAttrs) GetAdSelect() BondAdSelect
func (*BondLinkAttrs) GetAllSlavesActive ¶
func (m *BondLinkAttrs) GetAllSlavesActive() int32
func (*BondLinkAttrs) GetArpAllTargets ¶
func (m *BondLinkAttrs) GetArpAllTargets() BondArpAllTargets
func (*BondLinkAttrs) GetArpInterval ¶
func (m *BondLinkAttrs) GetArpInterval() int32
func (*BondLinkAttrs) GetArpIpTargets ¶
func (m *BondLinkAttrs) GetArpIpTargets() [][]byte
func (*BondLinkAttrs) GetArpValidate ¶
func (m *BondLinkAttrs) GetArpValidate() BondArpValidate
func (*BondLinkAttrs) GetDownDelay ¶
func (m *BondLinkAttrs) GetDownDelay() int32
func (*BondLinkAttrs) GetFailOverMac ¶
func (m *BondLinkAttrs) GetFailOverMac() BondFailOverMac
func (*BondLinkAttrs) GetLacpRate ¶
func (m *BondLinkAttrs) GetLacpRate() BondLacpRate
func (*BondLinkAttrs) GetLinkAttrs ¶
func (m *BondLinkAttrs) GetLinkAttrs() *LinkAttrs
func (*BondLinkAttrs) GetLpInterval ¶
func (m *BondLinkAttrs) GetLpInterval() int32
func (*BondLinkAttrs) GetMiimon ¶
func (m *BondLinkAttrs) GetMiimon() int32
func (*BondLinkAttrs) GetMinLinks ¶
func (m *BondLinkAttrs) GetMinLinks() int32
func (*BondLinkAttrs) GetMode ¶
func (m *BondLinkAttrs) GetMode() BondMode
func (*BondLinkAttrs) GetNumPeerNotif ¶
func (m *BondLinkAttrs) GetNumPeerNotif() int32
func (*BondLinkAttrs) GetPackersPerSlave ¶
func (m *BondLinkAttrs) GetPackersPerSlave() int32
func (*BondLinkAttrs) GetPrimary ¶
func (m *BondLinkAttrs) GetPrimary() int32
func (*BondLinkAttrs) GetPrimaryReselect ¶
func (m *BondLinkAttrs) GetPrimaryReselect() BondPrimaryReselect
func (*BondLinkAttrs) GetResendIgmp ¶
func (m *BondLinkAttrs) GetResendIgmp() int32
func (*BondLinkAttrs) GetUpDelay ¶
func (m *BondLinkAttrs) GetUpDelay() int32
func (*BondLinkAttrs) GetUseCarrier ¶
func (m *BondLinkAttrs) GetUseCarrier() int32
func (*BondLinkAttrs) GetXmitHashPolicy ¶
func (m *BondLinkAttrs) GetXmitHashPolicy() BondXmitHashPolicy
func (*BondLinkAttrs) ProtoMessage ¶
func (*BondLinkAttrs) ProtoMessage()
func (*BondLinkAttrs) Reset ¶
func (m *BondLinkAttrs) Reset()
func (*BondLinkAttrs) String ¶
func (m *BondLinkAttrs) String() string
func (*BondLinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *BondLinkAttrs) XXX_DiscardUnknown()
func (*BondLinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (m *BondLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondLinkAttrs) XXX_Merge ¶ added in v0.3.1
func (m *BondLinkAttrs) XXX_Merge(src proto.Message)
func (*BondLinkAttrs) XXX_Size ¶ added in v0.3.1
func (m *BondLinkAttrs) XXX_Size() int
func (*BondLinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
func (m *BondLinkAttrs) XXX_Unmarshal(b []byte) error
type BondLinkState ¶ added in v0.4.0
type BondLinkState int32
const ( BondLinkState_BOND_LINK_UP BondLinkState = 0 BondLinkState_BOND_LINK_FAIL BondLinkState = 1 BondLinkState_BOND_LINK_DOWN BondLinkState = 2 BondLinkState_BOND_LINK_BACK BondLinkState = 3 BondLinkState_BOND_LINK_UNKNOWN BondLinkState = -1 )
func (BondLinkState) EnumDescriptor ¶ added in v0.4.0
func (BondLinkState) EnumDescriptor() ([]byte, []int)
func (BondLinkState) String ¶ added in v0.4.0
func (x BondLinkState) String() string
type BondMode ¶
type BondMode int32
const ( BondMode_BOND_MODE_BALANCE_RR BondMode = 0 BondMode_BOND_MODE_ACTIVE_BACKUP BondMode = 1 BondMode_BOND_MODE_BALANCE_XOR BondMode = 2 BondMode_BOND_MODE_BROADCAST BondMode = 3 BondMode_BOND_MODE_802_3AD BondMode = 4 BondMode_BOND_MODE_BALANCE_TLB BondMode = 5 BondMode_BOND_MODE_BALANCE_ALB BondMode = 6 BondMode_BOND_MODE_UNKNOWN BondMode = 7 )
func (BondMode) EnumDescriptor ¶
type BondPrimaryReselect ¶
type BondPrimaryReselect int32
const ( BondPrimaryReselect_BOND_PRIMARY_RESELECT_ALWAYS BondPrimaryReselect = 0 BondPrimaryReselect_BOND_PRIMARY_RESELECT_BETTER BondPrimaryReselect = 1 BondPrimaryReselect_BOND_PRIMARY_RESELECT_FAILURE BondPrimaryReselect = 2 )
func (BondPrimaryReselect) EnumDescriptor ¶
func (BondPrimaryReselect) EnumDescriptor() ([]byte, []int)
func (BondPrimaryReselect) String ¶
func (x BondPrimaryReselect) String() string
type BondSlaveInfo ¶ added in v0.4.0
type BondSlaveInfo struct { State BondState `protobuf:"varint,1,opt,name=state,proto3,enum=nlaapi.BondState" json:"state,omitempty"` MiiStatus BondLinkState `protobuf:"varint,2,opt,name=mii_status,json=miiStatus,proto3,enum=nlaapi.BondLinkState" json:"mii_status,omitempty"` LinkFailureCount uint32 `protobuf:"varint,3,opt,name=link_failure_count,json=linkFailureCount,proto3" json:"link_failure_count,omitempty"` PermanentHwAddr []byte `protobuf:"bytes,4,opt,name=permanent_hw_addr,json=permanentHwAddr,proto3" json:"permanent_hw_addr,omitempty"` QueueId int32 `protobuf:"varint,5,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"` AggregatorId int32 `protobuf:"varint,6,opt,name=aggregator_id,json=aggregatorId,proto3" json:"aggregator_id,omitempty"` ActorOperPortState int32 `protobuf:"varint,7,opt,name=actor_oper_port_state,json=actorOperPortState,proto3" json:"actor_oper_port_state,omitempty"` AdPartnerOperPortState int32 `` /* 134-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewBondSlaveInfo ¶ added in v0.4.0
func NewBondSlaveInfo() *BondSlaveInfo
func NewBondSlaveInfoFromNative ¶ added in v0.4.0
func NewBondSlaveInfoFromNative(n *netlink.BondSlaveInfo) *BondSlaveInfo
func (*BondSlaveInfo) Descriptor ¶ added in v0.4.0
func (*BondSlaveInfo) Descriptor() ([]byte, []int)
func (*BondSlaveInfo) GetActorOperPortState ¶ added in v0.4.0
func (m *BondSlaveInfo) GetActorOperPortState() int32
func (*BondSlaveInfo) GetAdPartnerOperPortState ¶ added in v0.4.0
func (m *BondSlaveInfo) GetAdPartnerOperPortState() int32
func (*BondSlaveInfo) GetAggregatorId ¶ added in v0.4.0
func (m *BondSlaveInfo) GetAggregatorId() int32
func (*BondSlaveInfo) GetLinkFailureCount ¶ added in v0.4.0
func (m *BondSlaveInfo) GetLinkFailureCount() uint32
func (*BondSlaveInfo) GetMiiStatus ¶ added in v0.4.0
func (m *BondSlaveInfo) GetMiiStatus() BondLinkState
func (*BondSlaveInfo) GetPermanentHwAddr ¶ added in v0.4.0
func (m *BondSlaveInfo) GetPermanentHwAddr() []byte
func (*BondSlaveInfo) GetQueueId ¶ added in v0.4.0
func (m *BondSlaveInfo) GetQueueId() int32
func (*BondSlaveInfo) GetState ¶ added in v0.4.0
func (m *BondSlaveInfo) GetState() BondState
func (*BondSlaveInfo) ProtoMessage ¶ added in v0.4.0
func (*BondSlaveInfo) ProtoMessage()
func (*BondSlaveInfo) Reset ¶ added in v0.4.0
func (m *BondSlaveInfo) Reset()
func (*BondSlaveInfo) SlaveType ¶ added in v0.4.0
func (b *BondSlaveInfo) SlaveType() string
func (*BondSlaveInfo) String ¶ added in v0.4.0
func (m *BondSlaveInfo) String() string
func (*BondSlaveInfo) ToNative ¶ added in v0.4.0
func (b *BondSlaveInfo) ToNative() *netlink.BondSlaveInfo
func (*BondSlaveInfo) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *BondSlaveInfo) XXX_DiscardUnknown()
func (*BondSlaveInfo) XXX_Marshal ¶ added in v0.4.0
func (m *BondSlaveInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BondSlaveInfo) XXX_Merge ¶ added in v0.4.0
func (m *BondSlaveInfo) XXX_Merge(src proto.Message)
func (*BondSlaveInfo) XXX_Size ¶ added in v0.4.0
func (m *BondSlaveInfo) XXX_Size() int
func (*BondSlaveInfo) XXX_Unmarshal ¶ added in v0.4.0
func (m *BondSlaveInfo) XXX_Unmarshal(b []byte) error
type BondState ¶ added in v0.4.0
type BondState int32
func (BondState) EnumDescriptor ¶ added in v0.4.0
type BondXmitHashPolicy ¶
type BondXmitHashPolicy int32
const ( BondXmitHashPolicy_BOND_XMIT_HASH_POLICY_LAYER2 BondXmitHashPolicy = 0 BondXmitHashPolicy_BOND_XMIT_HASH_POLICY_LAYER3_4 BondXmitHashPolicy = 1 BondXmitHashPolicy_BOND_XMIT_HASH_POLICY_LAYER2_3 BondXmitHashPolicy = 2 BondXmitHashPolicy_BOND_XMIT_HASH_POLICY_ENCAP2_3 BondXmitHashPolicy = 3 BondXmitHashPolicy_BOND_XMIT_HASH_POLICY_ENCAP3_4 BondXmitHashPolicy = 4 BondXmitHashPolicy_BOND_XMIT_HASH_POLICY_UNKNOWN BondXmitHashPolicy = 5 )
func (BondXmitHashPolicy) EnumDescriptor ¶
func (BondXmitHashPolicy) EnumDescriptor() ([]byte, []int)
func (BondXmitHashPolicy) String ¶
func (x BondXmitHashPolicy) String() string
type BridgeLinkAttrs ¶
type BridgeLinkAttrs struct { LinkAttrs *LinkAttrs `protobuf:"bytes,1,opt,name=link_attrs,json=linkAttrs,proto3" json:"link_attrs,omitempty"` MulticastSnooping bool `protobuf:"varint,2,opt,name=multicast_snooping,json=multicastSnooping,proto3" json:"multicast_snooping,omitempty"` HelloTime uint32 `protobuf:"varint,3,opt,name=hello_time,json=helloTime,proto3" json:"hello_time,omitempty"` VlanFiltering bool `protobuf:"varint,4,opt,name=vlan_filtering,json=vlanFiltering,proto3" json:"vlan_filtering,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BridgeLinkAttrs) Descriptor ¶
func (*BridgeLinkAttrs) Descriptor() ([]byte, []int)
func (*BridgeLinkAttrs) GetHelloTime ¶ added in v0.4.0
func (m *BridgeLinkAttrs) GetHelloTime() uint32
func (*BridgeLinkAttrs) GetLinkAttrs ¶
func (m *BridgeLinkAttrs) GetLinkAttrs() *LinkAttrs
func (*BridgeLinkAttrs) GetMulticastSnooping ¶ added in v0.4.0
func (m *BridgeLinkAttrs) GetMulticastSnooping() bool
func (*BridgeLinkAttrs) GetVlanFiltering ¶ added in v0.4.0
func (m *BridgeLinkAttrs) GetVlanFiltering() bool
func (*BridgeLinkAttrs) ProtoMessage ¶
func (*BridgeLinkAttrs) ProtoMessage()
func (*BridgeLinkAttrs) Reset ¶
func (m *BridgeLinkAttrs) Reset()
func (*BridgeLinkAttrs) String ¶
func (m *BridgeLinkAttrs) String() string
func (*BridgeLinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *BridgeLinkAttrs) XXX_DiscardUnknown()
func (*BridgeLinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (m *BridgeLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BridgeLinkAttrs) XXX_Merge ¶ added in v0.3.1
func (m *BridgeLinkAttrs) XXX_Merge(src proto.Message)
func (*BridgeLinkAttrs) XXX_Size ¶ added in v0.3.1
func (m *BridgeLinkAttrs) XXX_Size() int
func (*BridgeLinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
func (m *BridgeLinkAttrs) XXX_Unmarshal(b []byte) error
type BridgeVlanInfo ¶ added in v0.4.0
type BridgeVlanInfo struct { Flags BridgeVlanInfo_Flags `protobuf:"varint,1,opt,name=flags,proto3,enum=nlaapi.BridgeVlanInfo_Flags" json:"flags,omitempty"` Vid uint32 `protobuf:"varint,2,opt,name=vid,proto3" json:"vid,omitempty"` Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` MasterIndex int32 `protobuf:"varint,5,opt,name=master_index,json=masterIndex,proto3" json:"master_index,omitempty"` Mtu uint32 `protobuf:"varint,6,opt,name=mtu,proto3" json:"mtu,omitempty"` NId uint32 `protobuf:"varint,7,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` BrId uint32 `protobuf:"varint,8,opt,name=br_id,json=brId,proto3" json:"br_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewBridgeVlanInfo ¶ added in v0.4.0
func NewBridgeVlanInfo(nid uint8, vid uint16, ifindex int, masterIndex int) *BridgeVlanInfo
BridgeVlanInfo
func NewBridgeVlanInfoFromNative ¶ added in v0.4.0
func NewBridgeVlanInfoFromNative(v *nlamsg.BridgeVlanInfo) *BridgeVlanInfo
func (*BridgeVlanInfo) Descriptor ¶ added in v0.4.0
func (*BridgeVlanInfo) Descriptor() ([]byte, []int)
func (*BridgeVlanInfo) GetBrId ¶ added in v0.4.0
func (m *BridgeVlanInfo) GetBrId() uint32
func (*BridgeVlanInfo) GetFlags ¶ added in v0.4.0
func (m *BridgeVlanInfo) GetFlags() BridgeVlanInfo_Flags
func (*BridgeVlanInfo) GetIndex ¶ added in v0.4.0
func (m *BridgeVlanInfo) GetIndex() int32
func (*BridgeVlanInfo) GetMasterIndex ¶ added in v0.4.0
func (m *BridgeVlanInfo) GetMasterIndex() int32
func (*BridgeVlanInfo) GetMtu ¶ added in v0.4.0
func (m *BridgeVlanInfo) GetMtu() uint32
func (*BridgeVlanInfo) GetNId ¶ added in v0.4.0
func (m *BridgeVlanInfo) GetNId() uint32
func (*BridgeVlanInfo) GetName ¶ added in v0.4.0
func (m *BridgeVlanInfo) GetName() string
func (*BridgeVlanInfo) GetVid ¶ added in v0.4.0
func (m *BridgeVlanInfo) GetVid() uint32
func (*BridgeVlanInfo) PortType ¶ added in v0.4.0
func (v *BridgeVlanInfo) PortType() BridgeVlanInfo_PortType
func (*BridgeVlanInfo) ProtoMessage ¶ added in v0.4.0
func (*BridgeVlanInfo) ProtoMessage()
func (*BridgeVlanInfo) Reset ¶ added in v0.4.0
func (m *BridgeVlanInfo) Reset()
func (*BridgeVlanInfo) String ¶ added in v0.4.0
func (m *BridgeVlanInfo) String() string
func (*BridgeVlanInfo) ToNative ¶ added in v0.4.0
func (v *BridgeVlanInfo) ToNative() *nlamsg.BridgeVlanInfo
func (*BridgeVlanInfo) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *BridgeVlanInfo) XXX_DiscardUnknown()
func (*BridgeVlanInfo) XXX_Marshal ¶ added in v0.4.0
func (m *BridgeVlanInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BridgeVlanInfo) XXX_Merge ¶ added in v0.4.0
func (m *BridgeVlanInfo) XXX_Merge(src proto.Message)
func (*BridgeVlanInfo) XXX_Size ¶ added in v0.4.0
func (m *BridgeVlanInfo) XXX_Size() int
func (*BridgeVlanInfo) XXX_Unmarshal ¶ added in v0.4.0
func (m *BridgeVlanInfo) XXX_Unmarshal(b []byte) error
type BridgeVlanInfoKey ¶ added in v0.4.0
type BridgeVlanInfoKey struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Vid uint32 `protobuf:"varint,3,opt,name=vid,proto3" json:"vid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewBridgeVlanInfoKeyFromNative ¶ added in v0.4.0
func NewBridgeVlanInfoKeyFromNative(n *nladbm.BridgeVlanInfoKey) *BridgeVlanInfoKey
func (*BridgeVlanInfoKey) Descriptor ¶ added in v0.4.0
func (*BridgeVlanInfoKey) Descriptor() ([]byte, []int)
func (*BridgeVlanInfoKey) GetIndex ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) GetIndex() int32
func (*BridgeVlanInfoKey) GetNId ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) GetNId() uint32
func (*BridgeVlanInfoKey) GetVid ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) GetVid() uint32
func (*BridgeVlanInfoKey) ProtoMessage ¶ added in v0.4.0
func (*BridgeVlanInfoKey) ProtoMessage()
func (*BridgeVlanInfoKey) Reset ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) Reset()
func (*BridgeVlanInfoKey) String ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) String() string
func (*BridgeVlanInfoKey) ToNative ¶ added in v0.4.0
func (k *BridgeVlanInfoKey) ToNative() *nladbm.BridgeVlanInfoKey
BridgeVlanInfo (Key)
func (*BridgeVlanInfoKey) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) XXX_DiscardUnknown()
func (*BridgeVlanInfoKey) XXX_Marshal ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BridgeVlanInfoKey) XXX_Merge ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) XXX_Merge(src proto.Message)
func (*BridgeVlanInfoKey) XXX_Size ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) XXX_Size() int
func (*BridgeVlanInfoKey) XXX_Unmarshal ¶ added in v0.4.0
func (m *BridgeVlanInfoKey) XXX_Unmarshal(b []byte) error
type BridgeVlanInfo_Flags ¶ added in v0.4.0
type BridgeVlanInfo_Flags int32
const ( BridgeVlanInfo_NOP BridgeVlanInfo_Flags = 0 BridgeVlanInfo_MASTER BridgeVlanInfo_Flags = 1 BridgeVlanInfo_PVID BridgeVlanInfo_Flags = 2 BridgeVlanInfo_UNTAGGED BridgeVlanInfo_Flags = 4 BridgeVlanInfo_RANGE_BEGIN BridgeVlanInfo_Flags = 8 BridgeVlanInfo_RANGE_END BridgeVlanInfo_Flags = 16 )
func (BridgeVlanInfo_Flags) EnumDescriptor ¶ added in v0.4.0
func (BridgeVlanInfo_Flags) EnumDescriptor() ([]byte, []int)
func (BridgeVlanInfo_Flags) String ¶ added in v0.4.0
func (x BridgeVlanInfo_Flags) String() string
type BridgeVlanInfo_PortType ¶ added in v0.4.0
type BridgeVlanInfo_PortType int32
const ( BridgeVlanInfo_NONE_PORT BridgeVlanInfo_PortType = 0 BridgeVlanInfo_ACCESS_PORT BridgeVlanInfo_PortType = 1 BridgeVlanInfo_TRUNK_PORT BridgeVlanInfo_PortType = 2 BridgeVlanInfo_MASTER_PORT BridgeVlanInfo_PortType = 3 )
func (BridgeVlanInfo_PortType) EnumDescriptor ¶ added in v0.4.0
func (BridgeVlanInfo_PortType) EnumDescriptor() ([]byte, []int)
func (BridgeVlanInfo_PortType) String ¶ added in v0.4.0
func (x BridgeVlanInfo_PortType) String() string
type Destination ¶
type Destination struct { Family int32 `protobuf:"varint,1,opt,name=family,proto3" json:"family,omitempty"` // Types that are valid to be assigned to Dest: // *Destination_Mpls Dest isDestination_Dest `protobuf_oneof:"dest"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewDestinationFromNative ¶
func NewDestinationFromNative(n netlink.Destination) *Destination
func (*Destination) Descriptor ¶
func (*Destination) Descriptor() ([]byte, []int)
func (*Destination) GetDest ¶
func (m *Destination) GetDest() isDestination_Dest
func (*Destination) GetFamily ¶
func (m *Destination) GetFamily() int32
func (*Destination) GetMpls ¶
func (m *Destination) GetMpls() *MPLSDestination
func (*Destination) ProtoMessage ¶
func (*Destination) ProtoMessage()
func (*Destination) Reset ¶
func (m *Destination) Reset()
func (*Destination) String ¶
func (m *Destination) String() string
func (*Destination) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Destination) XXX_DiscardUnknown()
func (*Destination) XXX_Marshal ¶ added in v0.3.1
func (m *Destination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Destination) XXX_Merge ¶ added in v0.3.1
func (m *Destination) XXX_Merge(src proto.Message)
func (*Destination) XXX_OneofWrappers ¶ added in v0.3.1
func (*Destination) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Destination) XXX_Size ¶ added in v0.3.1
func (m *Destination) XXX_Size() int
func (*Destination) XXX_Unmarshal ¶ added in v0.3.1
func (m *Destination) XXX_Unmarshal(b []byte) error
type Destination_Mpls ¶
type Destination_Mpls struct {
Mpls *MPLSDestination `protobuf:"bytes,2,opt,name=mpls,proto3,oneof"`
}
type DeviceLinkAttrs ¶
type DeviceLinkAttrs struct { LinkAttrs *LinkAttrs `protobuf:"bytes,1,opt,name=link_attrs,json=linkAttrs,proto3" json:"link_attrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeviceLinkAttrs) Descriptor ¶
func (*DeviceLinkAttrs) Descriptor() ([]byte, []int)
func (*DeviceLinkAttrs) GetLinkAttrs ¶
func (m *DeviceLinkAttrs) GetLinkAttrs() *LinkAttrs
func (*DeviceLinkAttrs) ProtoMessage ¶
func (*DeviceLinkAttrs) ProtoMessage()
func (*DeviceLinkAttrs) Reset ¶
func (m *DeviceLinkAttrs) Reset()
func (*DeviceLinkAttrs) String ¶
func (m *DeviceLinkAttrs) String() string
func (*DeviceLinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *DeviceLinkAttrs) XXX_DiscardUnknown()
func (*DeviceLinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (m *DeviceLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceLinkAttrs) XXX_Merge ¶ added in v0.3.1
func (m *DeviceLinkAttrs) XXX_Merge(src proto.Message)
func (*DeviceLinkAttrs) XXX_Size ¶ added in v0.3.1
func (m *DeviceLinkAttrs) XXX_Size() int
func (*DeviceLinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
func (m *DeviceLinkAttrs) XXX_Unmarshal(b []byte) error
type Encap ¶
type Encap struct { Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // Types that are valid to be assigned to Encap: // *Encap_Mpls Encap isEncap_Encap `protobuf_oneof:"encap"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewEncapFromNative ¶
func (*Encap) Descriptor ¶
func (*Encap) ProtoMessage ¶
func (*Encap) ProtoMessage()
func (*Encap) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Encap) XXX_DiscardUnknown()
func (*Encap) XXX_Marshal ¶ added in v0.3.1
func (*Encap) XXX_OneofWrappers ¶ added in v0.3.1
func (*Encap) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Encap) XXX_Unmarshal ¶ added in v0.3.1
type EncapInfo ¶
type EncapInfo struct { Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Mask []byte `protobuf:"bytes,2,opt,name=mask,proto3" json:"mask,omitempty"` Vrf uint32 `protobuf:"varint,3,opt,name=vrf,proto3" json:"vrf,omitempty"` EnId uint32 `protobuf:"varint,4,opt,name=en_id,json=enId,proto3" json:"en_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewEncapInfoFromNative ¶
func (*EncapInfo) Descriptor ¶
func (*EncapInfo) ProtoMessage ¶
func (*EncapInfo) ProtoMessage()
func (*EncapInfo) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *EncapInfo) XXX_DiscardUnknown()
func (*EncapInfo) XXX_Marshal ¶ added in v0.3.1
func (*EncapInfo) XXX_Unmarshal ¶ added in v0.3.1
type EncapInfoKey ¶
type EncapInfoKey struct { Dst string `protobuf:"bytes,1,opt,name=dst,proto3" json:"dst,omitempty"` Vrf uint32 `protobuf:"varint,2,opt,name=vrf,proto3" json:"vrf,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewEncapInfoKeyFromNative ¶
func NewEncapInfoKeyFromNative(k *nladbm.EncapInfoKey) *EncapInfoKey
func (*EncapInfoKey) Descriptor ¶
func (*EncapInfoKey) Descriptor() ([]byte, []int)
func (*EncapInfoKey) GetDst ¶
func (m *EncapInfoKey) GetDst() string
func (*EncapInfoKey) GetVrf ¶
func (m *EncapInfoKey) GetVrf() uint32
func (*EncapInfoKey) ProtoMessage ¶
func (*EncapInfoKey) ProtoMessage()
func (*EncapInfoKey) Reset ¶
func (m *EncapInfoKey) Reset()
func (*EncapInfoKey) String ¶
func (m *EncapInfoKey) String() string
func (*EncapInfoKey) ToNative ¶
func (k *EncapInfoKey) ToNative() *nladbm.EncapInfoKey
EncapInfo Key
func (*EncapInfoKey) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *EncapInfoKey) XXX_DiscardUnknown()
func (*EncapInfoKey) XXX_Marshal ¶ added in v0.3.1
func (m *EncapInfoKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EncapInfoKey) XXX_Merge ¶ added in v0.3.1
func (m *EncapInfoKey) XXX_Merge(src proto.Message)
func (*EncapInfoKey) XXX_Size ¶ added in v0.3.1
func (m *EncapInfoKey) XXX_Size() int
func (*EncapInfoKey) XXX_Unmarshal ¶ added in v0.3.1
func (m *EncapInfoKey) XXX_Unmarshal(b []byte) error
type Encap_Mpls ¶
type Encap_Mpls struct {
Mpls *MPLSEncap `protobuf:"bytes,2,opt,name=mpls,proto3,oneof"`
}
type GenericLinkAttrs ¶
type GenericLinkAttrs struct { LinkAttrs *LinkAttrs `protobuf:"bytes,1,opt,name=link_attrs,json=linkAttrs,proto3" json:"link_attrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenericLinkAttrs) Descriptor ¶
func (*GenericLinkAttrs) Descriptor() ([]byte, []int)
func (*GenericLinkAttrs) GetLinkAttrs ¶
func (m *GenericLinkAttrs) GetLinkAttrs() *LinkAttrs
func (*GenericLinkAttrs) ProtoMessage ¶
func (*GenericLinkAttrs) ProtoMessage()
func (*GenericLinkAttrs) Reset ¶
func (m *GenericLinkAttrs) Reset()
func (*GenericLinkAttrs) String ¶
func (m *GenericLinkAttrs) String() string
func (*GenericLinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GenericLinkAttrs) XXX_DiscardUnknown()
func (*GenericLinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (m *GenericLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenericLinkAttrs) XXX_Merge ¶ added in v0.3.1
func (m *GenericLinkAttrs) XXX_Merge(src proto.Message)
func (*GenericLinkAttrs) XXX_Size ¶ added in v0.3.1
func (m *GenericLinkAttrs) XXX_Size() int
func (*GenericLinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
func (m *GenericLinkAttrs) XXX_Unmarshal(b []byte) error
type GetAddrsRequest ¶
type GetAddrsRequest struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAddrsRequest) Descriptor ¶
func (*GetAddrsRequest) Descriptor() ([]byte, []int)
func (*GetAddrsRequest) GetNId ¶ added in v0.2.0
func (m *GetAddrsRequest) GetNId() uint32
func (*GetAddrsRequest) ProtoMessage ¶
func (*GetAddrsRequest) ProtoMessage()
func (*GetAddrsRequest) Reset ¶
func (m *GetAddrsRequest) Reset()
func (*GetAddrsRequest) String ¶
func (m *GetAddrsRequest) String() string
func (*GetAddrsRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetAddrsRequest) XXX_DiscardUnknown()
func (*GetAddrsRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetAddrsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAddrsRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetAddrsRequest) XXX_Merge(src proto.Message)
func (*GetAddrsRequest) XXX_Size ¶ added in v0.3.1
func (m *GetAddrsRequest) XXX_Size() int
func (*GetAddrsRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetAddrsRequest) XXX_Unmarshal(b []byte) error
type GetBridgeVlanInfosRequest ¶ added in v0.4.0
type GetBridgeVlanInfosRequest struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetBridgeVlanInfosRequest ¶ added in v0.4.0
func NewGetBridgeVlanInfosRequest(nid uint8) *GetBridgeVlanInfosRequest
func (*GetBridgeVlanInfosRequest) Descriptor ¶ added in v0.4.0
func (*GetBridgeVlanInfosRequest) Descriptor() ([]byte, []int)
func (*GetBridgeVlanInfosRequest) GetNId ¶ added in v0.4.0
func (m *GetBridgeVlanInfosRequest) GetNId() uint32
func (*GetBridgeVlanInfosRequest) ProtoMessage ¶ added in v0.4.0
func (*GetBridgeVlanInfosRequest) ProtoMessage()
func (*GetBridgeVlanInfosRequest) Reset ¶ added in v0.4.0
func (m *GetBridgeVlanInfosRequest) Reset()
func (*GetBridgeVlanInfosRequest) String ¶ added in v0.4.0
func (m *GetBridgeVlanInfosRequest) String() string
func (*GetBridgeVlanInfosRequest) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *GetBridgeVlanInfosRequest) XXX_DiscardUnknown()
func (*GetBridgeVlanInfosRequest) XXX_Marshal ¶ added in v0.4.0
func (m *GetBridgeVlanInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBridgeVlanInfosRequest) XXX_Merge ¶ added in v0.4.0
func (m *GetBridgeVlanInfosRequest) XXX_Merge(src proto.Message)
func (*GetBridgeVlanInfosRequest) XXX_Size ¶ added in v0.4.0
func (m *GetBridgeVlanInfosRequest) XXX_Size() int
func (*GetBridgeVlanInfosRequest) XXX_Unmarshal ¶ added in v0.4.0
func (m *GetBridgeVlanInfosRequest) XXX_Unmarshal(b []byte) error
type GetEncapInfosRequest ¶
type GetEncapInfosRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEncapInfosRequest) Descriptor ¶
func (*GetEncapInfosRequest) Descriptor() ([]byte, []int)
func (*GetEncapInfosRequest) ProtoMessage ¶
func (*GetEncapInfosRequest) ProtoMessage()
func (*GetEncapInfosRequest) Reset ¶
func (m *GetEncapInfosRequest) Reset()
func (*GetEncapInfosRequest) String ¶
func (m *GetEncapInfosRequest) String() string
func (*GetEncapInfosRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetEncapInfosRequest) XXX_DiscardUnknown()
func (*GetEncapInfosRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetEncapInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEncapInfosRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetEncapInfosRequest) XXX_Merge(src proto.Message)
func (*GetEncapInfosRequest) XXX_Size ¶ added in v0.3.1
func (m *GetEncapInfosRequest) XXX_Size() int
func (*GetEncapInfosRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetEncapInfosRequest) XXX_Unmarshal(b []byte) error
type GetIptunsRequest ¶ added in v0.3.1
type GetIptunsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetIptunsRequest) Descriptor ¶ added in v0.3.1
func (*GetIptunsRequest) Descriptor() ([]byte, []int)
func (*GetIptunsRequest) ProtoMessage ¶ added in v0.3.1
func (*GetIptunsRequest) ProtoMessage()
func (*GetIptunsRequest) Reset ¶ added in v0.3.1
func (m *GetIptunsRequest) Reset()
func (*GetIptunsRequest) String ¶ added in v0.3.1
func (m *GetIptunsRequest) String() string
func (*GetIptunsRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetIptunsRequest) XXX_DiscardUnknown()
func (*GetIptunsRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetIptunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIptunsRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetIptunsRequest) XXX_Merge(src proto.Message)
func (*GetIptunsRequest) XXX_Size ¶ added in v0.3.1
func (m *GetIptunsRequest) XXX_Size() int
func (*GetIptunsRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetIptunsRequest) XXX_Unmarshal(b []byte) error
type GetLinksRequest ¶
type GetLinksRequest struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetLinksRequest) Descriptor ¶
func (*GetLinksRequest) Descriptor() ([]byte, []int)
func (*GetLinksRequest) GetNId ¶ added in v0.2.0
func (m *GetLinksRequest) GetNId() uint32
func (*GetLinksRequest) ProtoMessage ¶
func (*GetLinksRequest) ProtoMessage()
func (*GetLinksRequest) Reset ¶
func (m *GetLinksRequest) Reset()
func (*GetLinksRequest) String ¶
func (m *GetLinksRequest) String() string
func (*GetLinksRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetLinksRequest) XXX_DiscardUnknown()
func (*GetLinksRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetLinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLinksRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetLinksRequest) XXX_Merge(src proto.Message)
func (*GetLinksRequest) XXX_Size ¶ added in v0.3.1
func (m *GetLinksRequest) XXX_Size() int
func (*GetLinksRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetLinksRequest) XXX_Unmarshal(b []byte) error
type GetMplssRequest ¶
type GetMplssRequest struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMplssRequest) Descriptor ¶
func (*GetMplssRequest) Descriptor() ([]byte, []int)
func (*GetMplssRequest) GetNId ¶ added in v0.2.0
func (m *GetMplssRequest) GetNId() uint32
func (*GetMplssRequest) ProtoMessage ¶
func (*GetMplssRequest) ProtoMessage()
func (*GetMplssRequest) Reset ¶
func (m *GetMplssRequest) Reset()
func (*GetMplssRequest) String ¶
func (m *GetMplssRequest) String() string
func (*GetMplssRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetMplssRequest) XXX_DiscardUnknown()
func (*GetMplssRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetMplssRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMplssRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetMplssRequest) XXX_Merge(src proto.Message)
func (*GetMplssRequest) XXX_Size ¶ added in v0.3.1
func (m *GetMplssRequest) XXX_Size() int
func (*GetMplssRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetMplssRequest) XXX_Unmarshal(b []byte) error
type GetNeighsRequest ¶
type GetNeighsRequest struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetNeighsRequest ¶ added in v0.2.0
func NewGetNeighsRequest(nid uint8) *GetNeighsRequest
Neighs
func (*GetNeighsRequest) Descriptor ¶
func (*GetNeighsRequest) Descriptor() ([]byte, []int)
func (*GetNeighsRequest) GetNId ¶ added in v0.2.0
func (m *GetNeighsRequest) GetNId() uint32
func (*GetNeighsRequest) ProtoMessage ¶
func (*GetNeighsRequest) ProtoMessage()
func (*GetNeighsRequest) Reset ¶
func (m *GetNeighsRequest) Reset()
func (*GetNeighsRequest) String ¶
func (m *GetNeighsRequest) String() string
func (*GetNeighsRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetNeighsRequest) XXX_DiscardUnknown()
func (*GetNeighsRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetNeighsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNeighsRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetNeighsRequest) XXX_Merge(src proto.Message)
func (*GetNeighsRequest) XXX_Size ¶ added in v0.3.1
func (m *GetNeighsRequest) XXX_Size() int
func (*GetNeighsRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetNeighsRequest) XXX_Unmarshal(b []byte) error
type GetNodesRequest ¶
type GetNodesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetNodesRequest) Descriptor ¶
func (*GetNodesRequest) Descriptor() ([]byte, []int)
func (*GetNodesRequest) ProtoMessage ¶
func (*GetNodesRequest) ProtoMessage()
func (*GetNodesRequest) Reset ¶
func (m *GetNodesRequest) Reset()
func (*GetNodesRequest) String ¶
func (m *GetNodesRequest) String() string
func (*GetNodesRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetNodesRequest) XXX_DiscardUnknown()
func (*GetNodesRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodesRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetNodesRequest) XXX_Merge(src proto.Message)
func (*GetNodesRequest) XXX_Size ¶ added in v0.3.1
func (m *GetNodesRequest) XXX_Size() int
func (*GetNodesRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetNodesRequest) XXX_Unmarshal(b []byte) error
type GetRoutesRequest ¶
type GetRoutesRequest struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewGetRoutesRequest ¶ added in v0.2.0
func NewGetRoutesRequest(nid uint8) *GetRoutesRequest
Routes
func (*GetRoutesRequest) Descriptor ¶
func (*GetRoutesRequest) Descriptor() ([]byte, []int)
func (*GetRoutesRequest) GetNId ¶ added in v0.2.0
func (m *GetRoutesRequest) GetNId() uint32
func (*GetRoutesRequest) ProtoMessage ¶
func (*GetRoutesRequest) ProtoMessage()
func (*GetRoutesRequest) Reset ¶
func (m *GetRoutesRequest) Reset()
func (*GetRoutesRequest) String ¶
func (m *GetRoutesRequest) String() string
func (*GetRoutesRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetRoutesRequest) XXX_DiscardUnknown()
func (*GetRoutesRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetRoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRoutesRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetRoutesRequest) XXX_Merge(src proto.Message)
func (*GetRoutesRequest) XXX_Size ¶ added in v0.3.1
func (m *GetRoutesRequest) XXX_Size() int
func (*GetRoutesRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetRoutesRequest) XXX_Unmarshal(b []byte) error
type GetStatsRequest ¶
type GetStatsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStatsRequest) Descriptor ¶
func (*GetStatsRequest) Descriptor() ([]byte, []int)
func (*GetStatsRequest) ProtoMessage ¶
func (*GetStatsRequest) ProtoMessage()
func (*GetStatsRequest) Reset ¶
func (m *GetStatsRequest) Reset()
func (*GetStatsRequest) String ¶
func (m *GetStatsRequest) String() string
func (*GetStatsRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetStatsRequest) XXX_DiscardUnknown()
func (*GetStatsRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStatsRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetStatsRequest) XXX_Merge(src proto.Message)
func (*GetStatsRequest) XXX_Size ¶ added in v0.3.1
func (m *GetStatsRequest) XXX_Size() int
func (*GetStatsRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetStatsRequest) XXX_Unmarshal(b []byte) error
type GetVpnsRequest ¶
type GetVpnsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetVpnsRequest) Descriptor ¶
func (*GetVpnsRequest) Descriptor() ([]byte, []int)
func (*GetVpnsRequest) ProtoMessage ¶
func (*GetVpnsRequest) ProtoMessage()
func (*GetVpnsRequest) Reset ¶
func (m *GetVpnsRequest) Reset()
func (*GetVpnsRequest) String ¶
func (m *GetVpnsRequest) String() string
func (*GetVpnsRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *GetVpnsRequest) XXX_DiscardUnknown()
func (*GetVpnsRequest) XXX_Marshal ¶ added in v0.3.1
func (m *GetVpnsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVpnsRequest) XXX_Merge ¶ added in v0.3.1
func (m *GetVpnsRequest) XXX_Merge(src proto.Message)
func (*GetVpnsRequest) XXX_Size ¶ added in v0.3.1
func (m *GetVpnsRequest) XXX_Size() int
func (*GetVpnsRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *GetVpnsRequest) XXX_Unmarshal(b []byte) error
type Iptun ¶ added in v0.3.1
type Iptun struct { Link *Link `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` LocalMac []byte `protobuf:"bytes,2,opt,name=local_mac,json=localMac,proto3" json:"local_mac,omitempty"` NId uint32 `protobuf:"varint,3,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` TnlId uint32 `protobuf:"varint,4,opt,name=tnl_id,json=tnlId,proto3" json:"tnl_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewIptunFromNative ¶ added in v0.3.1
func (*Iptun) Descriptor ¶ added in v0.3.1
func (*Iptun) GetLocalIP ¶ added in v0.3.1
func (*Iptun) GetLocalMACAddr ¶ added in v0.3.1
func (v *Iptun) GetLocalMACAddr() net.HardwareAddr
func (*Iptun) GetLocalMac ¶ added in v0.3.1
func (*Iptun) GetRemoteIP ¶ added in v0.3.1
func (*Iptun) ProtoMessage ¶ added in v0.3.1
func (*Iptun) ProtoMessage()
func (*Iptun) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Iptun) XXX_DiscardUnknown()
func (*Iptun) XXX_Marshal ¶ added in v0.3.1
func (*Iptun) XXX_Unmarshal ¶ added in v0.3.1
type IptunKey ¶ added in v0.3.1
type IptunKey struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` Remote []byte `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewIptunKeyFromNative ¶ added in v0.3.1
func (*IptunKey) Descriptor ¶ added in v0.3.1
func (*IptunKey) GetRemoteIP ¶ added in v0.3.1
func (*IptunKey) ProtoMessage ¶ added in v0.3.1
func (*IptunKey) ProtoMessage()
func (*IptunKey) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *IptunKey) XXX_DiscardUnknown()
func (*IptunKey) XXX_Marshal ¶ added in v0.3.1
func (*IptunKey) XXX_Unmarshal ¶ added in v0.3.1
type IptunLinkAttrs ¶ added in v0.3.1
type IptunLinkAttrs struct { LinkAttrs *LinkAttrs `protobuf:"bytes,1,opt,name=link_attrs,json=linkAttrs,proto3" json:"link_attrs,omitempty"` Ttl uint32 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"` Tos uint32 `protobuf:"varint,3,opt,name=tos,proto3" json:"tos,omitempty"` PMtuDisc uint32 `protobuf:"varint,4,opt,name=p_mtu_disc,json=pMtuDisc,proto3" json:"p_mtu_disc,omitempty"` Link uint32 `protobuf:"varint,5,opt,name=link,proto3" json:"link,omitempty"` Local []byte `protobuf:"bytes,6,opt,name=local,proto3" json:"local,omitempty"` Remote []byte `protobuf:"bytes,7,opt,name=remote,proto3" json:"remote,omitempty"` EncapSport uint32 `protobuf:"varint,8,opt,name=encap_sport,json=encapSport,proto3" json:"encap_sport,omitempty"` EncapDport uint32 `protobuf:"varint,9,opt,name=encap_dport,json=encapDport,proto3" json:"encap_dport,omitempty"` EncapType uint32 `protobuf:"varint,10,opt,name=encap_type,json=encapType,proto3" json:"encap_type,omitempty"` EncapFlags uint32 `protobuf:"varint,11,opt,name=encap_flags,json=encapFlags,proto3" json:"encap_flags,omitempty"` FlowBased bool `protobuf:"varint,12,opt,name=flow_based,json=flowBased,proto3" json:"flow_based,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IptunLinkAttrs) Descriptor ¶ added in v0.3.1
func (*IptunLinkAttrs) Descriptor() ([]byte, []int)
func (*IptunLinkAttrs) GetEncapDport ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetEncapDport() uint32
func (*IptunLinkAttrs) GetEncapFlags ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetEncapFlags() uint32
func (*IptunLinkAttrs) GetEncapSport ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetEncapSport() uint32
func (*IptunLinkAttrs) GetEncapType ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetEncapType() uint32
func (*IptunLinkAttrs) GetFlowBased ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetFlowBased() bool
func (*IptunLinkAttrs) GetLink ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetLink() uint32
func (*IptunLinkAttrs) GetLinkAttrs ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetLinkAttrs() *LinkAttrs
func (*IptunLinkAttrs) GetLocal ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetLocal() []byte
func (*IptunLinkAttrs) GetPMtuDisc ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetPMtuDisc() uint32
func (*IptunLinkAttrs) GetRemote ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetRemote() []byte
func (*IptunLinkAttrs) GetTos ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetTos() uint32
func (*IptunLinkAttrs) GetTtl ¶ added in v0.3.1
func (m *IptunLinkAttrs) GetTtl() uint32
func (*IptunLinkAttrs) ProtoMessage ¶ added in v0.3.1
func (*IptunLinkAttrs) ProtoMessage()
func (*IptunLinkAttrs) Reset ¶ added in v0.3.1
func (m *IptunLinkAttrs) Reset()
func (*IptunLinkAttrs) String ¶ added in v0.3.1
func (m *IptunLinkAttrs) String() string
func (*IptunLinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *IptunLinkAttrs) XXX_DiscardUnknown()
func (*IptunLinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (m *IptunLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IptunLinkAttrs) XXX_Merge ¶ added in v0.3.1
func (m *IptunLinkAttrs) XXX_Merge(src proto.Message)
func (*IptunLinkAttrs) XXX_Size ¶ added in v0.3.1
func (m *IptunLinkAttrs) XXX_Size() int
func (*IptunLinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
func (m *IptunLinkAttrs) XXX_Unmarshal(b []byte) error
type Link ¶
type Link struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Types that are valid to be assigned to LinkAttrs: // *Link_Device // *Link_Bridge // *Link_Vlan // *Link_Vxlan // *Link_Vti // *Link_Veth // *Link_Bond // *Link_Generic // *Link_Iptun LinkAttrs isLink_LinkAttrs `protobuf_oneof:"link_attrs"` NId uint32 `protobuf:"varint,2,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` LnId uint32 `protobuf:"varint,3,opt,name=ln_id,json=lnId,proto3" json:"ln_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewIptunLink ¶ added in v0.3.1
Link (Iptun)
func NewLinkFromNative ¶
func (*Link) Descriptor ¶
func (*Link) GetBond ¶
func (m *Link) GetBond() *BondLinkAttrs
func (*Link) GetBridge ¶
func (m *Link) GetBridge() *BridgeLinkAttrs
func (*Link) GetDevice ¶
func (m *Link) GetDevice() *DeviceLinkAttrs
func (*Link) GetGeneric ¶
func (m *Link) GetGeneric() *GenericLinkAttrs
func (*Link) GetIptun ¶ added in v0.3.1
func (m *Link) GetIptun() *IptunLinkAttrs
func (*Link) GetLinkAttrs ¶
func (m *Link) GetLinkAttrs() isLink_LinkAttrs
func (*Link) GetVeth ¶
func (m *Link) GetVeth() *VethLinkAttrs
func (*Link) GetVlan ¶
func (m *Link) GetVlan() *VlanLinkAttrs
func (*Link) GetVti ¶
func (m *Link) GetVti() *VtiLinkAttrs
func (*Link) GetVxlan ¶
func (m *Link) GetVxlan() *VxlanLinkAttrs
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Link) XXX_DiscardUnknown()
func (*Link) XXX_Marshal ¶ added in v0.3.1
func (*Link) XXX_OneofWrappers ¶ added in v0.3.1
func (*Link) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Link) XXX_Unmarshal ¶ added in v0.3.1
type LinkAttrs ¶
type LinkAttrs struct { Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Mtu int32 `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"` TxQLen int32 `protobuf:"varint,3,opt,name=tx_q_len,json=txQLen,proto3" json:"tx_q_len,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` HardwareAddr []byte `protobuf:"bytes,5,opt,name=hardware_addr,json=hardwareAddr,proto3" json:"hardware_addr,omitempty"` Flags uint32 `protobuf:"varint,6,opt,name=flags,proto3" json:"flags,omitempty"` RawFlags uint32 `protobuf:"varint,7,opt,name=raw_flags,json=rawFlags,proto3" json:"raw_flags,omitempty"` ParentIndex int32 `protobuf:"varint,8,opt,name=parent_index,json=parentIndex,proto3" json:"parent_index,omitempty"` MasterIndex int32 `protobuf:"varint,9,opt,name=master_index,json=masterIndex,proto3" json:"master_index,omitempty"` Alias string `protobuf:"bytes,10,opt,name=alias,proto3" json:"alias,omitempty"` Promisc int32 `protobuf:"varint,11,opt,name=promisc,proto3" json:"promisc,omitempty"` EncapType string `protobuf:"bytes,12,opt,name=encap_type,json=encapType,proto3" json:"encap_type,omitempty"` OperState LinkOperState `protobuf:"varint,13,opt,name=oper_state,json=operState,proto3,enum=nlaapi.LinkOperState" json:"oper_state,omitempty"` // Types that are valid to be assigned to SlaveInfo: // *LinkAttrs_BondSlaveInfo SlaveInfo isLinkAttrs_SlaveInfo `protobuf_oneof:"slave_info"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LinkAttrs) Descriptor ¶
func (*LinkAttrs) GetBondSlaveInfo ¶ added in v0.4.0
func (m *LinkAttrs) GetBondSlaveInfo() *BondSlaveInfo
func (*LinkAttrs) GetEncapType ¶
func (*LinkAttrs) GetHardwareAddr ¶
func (*LinkAttrs) GetMasterIndex ¶
func (*LinkAttrs) GetOperState ¶
func (m *LinkAttrs) GetOperState() LinkOperState
func (*LinkAttrs) GetParentIndex ¶
func (*LinkAttrs) GetPromisc ¶
func (*LinkAttrs) GetRawFlags ¶
func (*LinkAttrs) GetSlaveInfo ¶ added in v0.4.0
func (m *LinkAttrs) GetSlaveInfo() isLinkAttrs_SlaveInfo
func (*LinkAttrs) NetHardwareAddr ¶
func (a *LinkAttrs) NetHardwareAddr() net.HardwareAddr
func (*LinkAttrs) ProtoMessage ¶
func (*LinkAttrs) ProtoMessage()
func (*LinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *LinkAttrs) XXX_DiscardUnknown()
func (*LinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (*LinkAttrs) XXX_OneofWrappers ¶ added in v0.4.0
func (*LinkAttrs) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*LinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
type LinkAttrs_BondSlaveInfo ¶ added in v0.4.0
type LinkAttrs_BondSlaveInfo struct {
BondSlaveInfo *BondSlaveInfo `protobuf:"bytes,14,opt,name=bond_slave_info,json=bondSlaveInfo,proto3,oneof"`
}
type LinkKey ¶
type LinkKey struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewLinkKeyFromNative ¶
func (*LinkKey) Descriptor ¶
func (*LinkKey) ProtoMessage ¶
func (*LinkKey) ProtoMessage()
func (*LinkKey) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *LinkKey) XXX_DiscardUnknown()
func (*LinkKey) XXX_Marshal ¶ added in v0.3.1
func (*LinkKey) XXX_Unmarshal ¶ added in v0.3.1
type LinkOperState ¶
type LinkOperState int32
const ( LinkOperState_OperUnknown LinkOperState = 0 LinkOperState_OperNotPresent LinkOperState = 1 LinkOperState_OperDown LinkOperState = 2 LinkOperState_OperLowerLayerDown LinkOperState = 3 LinkOperState_OperTesting LinkOperState = 4 LinkOperState_OperDormant LinkOperState = 5 LinkOperState_OperUp LinkOperState = 6 )
func (LinkOperState) EnumDescriptor ¶
func (LinkOperState) EnumDescriptor() ([]byte, []int)
func (LinkOperState) String ¶
func (x LinkOperState) String() string
type Link_Bond ¶
type Link_Bond struct {
Bond *BondLinkAttrs `protobuf:"bytes,10,opt,name=bond,proto3,oneof"`
}
func NewBondLinkAttrs ¶
func NewBondLinkAttrs() *Link_Bond
type Link_Bridge ¶
type Link_Bridge struct {
Bridge *BridgeLinkAttrs `protobuf:"bytes,5,opt,name=bridge,proto3,oneof"`
}
func NewBridgeLinkAttrs ¶
func NewBridgeLinkAttrs() *Link_Bridge
type Link_Device ¶
type Link_Device struct {
Device *DeviceLinkAttrs `protobuf:"bytes,4,opt,name=device,proto3,oneof"`
}
func NewDeviceLinkAttrs ¶
func NewDeviceLinkAttrs() *Link_Device
type Link_Generic ¶
type Link_Generic struct {
Generic *GenericLinkAttrs `protobuf:"bytes,11,opt,name=generic,proto3,oneof"`
}
func NewGenericLinkAttrs ¶
func NewGenericLinkAttrs() *Link_Generic
type Link_Iptun ¶ added in v0.3.1
type Link_Iptun struct {
Iptun *IptunLinkAttrs `protobuf:"bytes,12,opt,name=iptun,proto3,oneof"`
}
func NewIptunLinkAttrs ¶ added in v0.3.1
func NewIptunLinkAttrs() *Link_Iptun
type Link_Veth ¶
type Link_Veth struct {
Veth *VethLinkAttrs `protobuf:"bytes,9,opt,name=veth,proto3,oneof"`
}
func NewVethLinkAttrs ¶
type Link_Vlan ¶
type Link_Vlan struct {
Vlan *VlanLinkAttrs `protobuf:"bytes,6,opt,name=vlan,proto3,oneof"`
}
func NewVlanLinkAttrs ¶
type Link_Vti ¶
type Link_Vti struct {
Vti *VtiLinkAttrs `protobuf:"bytes,8,opt,name=vti,proto3,oneof"`
}
func NewVtiLinkAttrs ¶
func NewVtiLinkAttrs() *Link_Vti
type Link_Vxlan ¶
type Link_Vxlan struct {
Vxlan *VxlanLinkAttrs `protobuf:"bytes,7,opt,name=vxlan,proto3,oneof"`
}
func NewVxlanLinkAttrs ¶
func NewVxlanLinkAttrs() *Link_Vxlan
type MPLSDestination ¶
type MPLSDestination struct { Labels []uint32 `protobuf:"varint,1,rep,packed,name=labels,proto3" json:"labels,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewMPLSDestinationFromNative ¶
func NewMPLSDestinationFromNative(n *netlink.MPLSDestination) *MPLSDestination
func (*MPLSDestination) Descriptor ¶
func (*MPLSDestination) Descriptor() ([]byte, []int)
func (*MPLSDestination) GetLabels ¶
func (m *MPLSDestination) GetLabels() []uint32
func (*MPLSDestination) ProtoMessage ¶
func (*MPLSDestination) ProtoMessage()
func (*MPLSDestination) Reset ¶
func (m *MPLSDestination) Reset()
func (*MPLSDestination) String ¶
func (m *MPLSDestination) String() string
func (*MPLSDestination) ToNative ¶
func (d *MPLSDestination) ToNative() *netlink.MPLSDestination
MPLSDestination
func (*MPLSDestination) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *MPLSDestination) XXX_DiscardUnknown()
func (*MPLSDestination) XXX_Marshal ¶ added in v0.3.1
func (m *MPLSDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MPLSDestination) XXX_Merge ¶ added in v0.3.1
func (m *MPLSDestination) XXX_Merge(src proto.Message)
func (*MPLSDestination) XXX_Size ¶ added in v0.3.1
func (m *MPLSDestination) XXX_Size() int
func (*MPLSDestination) XXX_Unmarshal ¶ added in v0.3.1
func (m *MPLSDestination) XXX_Unmarshal(b []byte) error
type MPLSEncap ¶
type MPLSEncap struct { Labels []uint32 `protobuf:"varint,1,rep,packed,name=labels,proto3" json:"labels,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewMPLSEncapFromNatives ¶
func (*MPLSEncap) Descriptor ¶
func (*MPLSEncap) ProtoMessage ¶
func (*MPLSEncap) ProtoMessage()
func (*MPLSEncap) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *MPLSEncap) XXX_DiscardUnknown()
func (*MPLSEncap) XXX_Marshal ¶ added in v0.3.1
func (*MPLSEncap) XXX_Unmarshal ¶ added in v0.3.1
type ModNetlinkReply ¶
type ModNetlinkReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModNetlinkReply) Descriptor ¶
func (*ModNetlinkReply) Descriptor() ([]byte, []int)
func (*ModNetlinkReply) ProtoMessage ¶
func (*ModNetlinkReply) ProtoMessage()
func (*ModNetlinkReply) Reset ¶
func (m *ModNetlinkReply) Reset()
func (*ModNetlinkReply) String ¶
func (m *ModNetlinkReply) String() string
func (*ModNetlinkReply) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *ModNetlinkReply) XXX_DiscardUnknown()
func (*ModNetlinkReply) XXX_Marshal ¶ added in v0.3.1
func (m *ModNetlinkReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModNetlinkReply) XXX_Merge ¶ added in v0.3.1
func (m *ModNetlinkReply) XXX_Merge(src proto.Message)
func (*ModNetlinkReply) XXX_Size ¶ added in v0.3.1
func (m *ModNetlinkReply) XXX_Size() int
func (*ModNetlinkReply) XXX_Unmarshal ¶ added in v0.3.1
func (m *ModNetlinkReply) XXX_Unmarshal(b []byte) error
type ModVpnReply ¶
type ModVpnReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModVpnReply) Descriptor ¶
func (*ModVpnReply) Descriptor() ([]byte, []int)
func (*ModVpnReply) ProtoMessage ¶
func (*ModVpnReply) ProtoMessage()
func (*ModVpnReply) Reset ¶
func (m *ModVpnReply) Reset()
func (*ModVpnReply) String ¶
func (m *ModVpnReply) String() string
func (*ModVpnReply) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *ModVpnReply) XXX_DiscardUnknown()
func (*ModVpnReply) XXX_Marshal ¶ added in v0.3.1
func (m *ModVpnReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModVpnReply) XXX_Merge ¶ added in v0.3.1
func (m *ModVpnReply) XXX_Merge(src proto.Message)
func (*ModVpnReply) XXX_Size ¶ added in v0.3.1
func (m *ModVpnReply) XXX_Size() int
func (*ModVpnReply) XXX_Unmarshal ¶ added in v0.3.1
func (m *ModVpnReply) XXX_Unmarshal(b []byte) error
type ModVpnRequest ¶
type ModVpnRequest struct { Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Vpn *Vpn `protobuf:"bytes,2,opt,name=vpn,proto3" json:"vpn,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModVpnRequest) Descriptor ¶
func (*ModVpnRequest) Descriptor() ([]byte, []int)
func (*ModVpnRequest) GetType ¶
func (m *ModVpnRequest) GetType() uint32
func (*ModVpnRequest) GetVpn ¶
func (m *ModVpnRequest) GetVpn() *Vpn
func (*ModVpnRequest) ProtoMessage ¶
func (*ModVpnRequest) ProtoMessage()
func (*ModVpnRequest) Reset ¶
func (m *ModVpnRequest) Reset()
func (*ModVpnRequest) String ¶
func (m *ModVpnRequest) String() string
func (*ModVpnRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *ModVpnRequest) XXX_DiscardUnknown()
func (*ModVpnRequest) XXX_Marshal ¶ added in v0.3.1
func (m *ModVpnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModVpnRequest) XXX_Merge ¶ added in v0.3.1
func (m *ModVpnRequest) XXX_Merge(src proto.Message)
func (*ModVpnRequest) XXX_Size ¶ added in v0.3.1
func (m *ModVpnRequest) XXX_Size() int
func (*ModVpnRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *ModVpnRequest) XXX_Unmarshal(b []byte) error
type MonNetlinkRequest ¶
type MonNetlinkRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MonNetlinkRequest) Descriptor ¶
func (*MonNetlinkRequest) Descriptor() ([]byte, []int)
func (*MonNetlinkRequest) ProtoMessage ¶
func (*MonNetlinkRequest) ProtoMessage()
func (*MonNetlinkRequest) Reset ¶
func (m *MonNetlinkRequest) Reset()
func (*MonNetlinkRequest) String ¶
func (m *MonNetlinkRequest) String() string
func (*MonNetlinkRequest) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *MonNetlinkRequest) XXX_DiscardUnknown()
func (*MonNetlinkRequest) XXX_Marshal ¶ added in v0.3.1
func (m *MonNetlinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MonNetlinkRequest) XXX_Merge ¶ added in v0.3.1
func (m *MonNetlinkRequest) XXX_Merge(src proto.Message)
func (*MonNetlinkRequest) XXX_Size ¶ added in v0.3.1
func (m *MonNetlinkRequest) XXX_Size() int
func (*MonNetlinkRequest) XXX_Unmarshal ¶ added in v0.3.1
func (m *MonNetlinkRequest) XXX_Unmarshal(b []byte) error
type MplsKey ¶
type MplsKey struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` LLabel uint32 `protobuf:"varint,2,opt,name=l_label,json=lLabel,proto3" json:"l_label,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewMplsKeyFromNative ¶
func (*MplsKey) Descriptor ¶
func (*MplsKey) ProtoMessage ¶
func (*MplsKey) ProtoMessage()
func (*MplsKey) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *MplsKey) XXX_DiscardUnknown()
func (*MplsKey) XXX_Marshal ¶ added in v0.3.1
func (*MplsKey) XXX_Unmarshal ¶ added in v0.3.1
type NLAApiClient ¶
type NLAApiClient interface { ModVpn(ctx context.Context, in *ModVpnRequest, opts ...grpc.CallOption) (*ModVpnReply, error) ModNetlink(ctx context.Context, in *NetlinkMessageUnion, opts ...grpc.CallOption) (*ModNetlinkReply, error) MonNetlink(ctx context.Context, in *MonNetlinkRequest, opts ...grpc.CallOption) (NLAApi_MonNetlinkClient, error) GetLink(ctx context.Context, in *LinkKey, opts ...grpc.CallOption) (*Link, error) GetAddr(ctx context.Context, in *AddrKey, opts ...grpc.CallOption) (*Addr, error) GetNeigh(ctx context.Context, in *NeighKey, opts ...grpc.CallOption) (*Neigh, error) GetRoute(ctx context.Context, in *RouteKey, opts ...grpc.CallOption) (*Route, error) GetMpls(ctx context.Context, in *MplsKey, opts ...grpc.CallOption) (*Route, error) GetNode(ctx context.Context, in *NodeKey, opts ...grpc.CallOption) (*Node, error) GetVpn(ctx context.Context, in *VpnKey, opts ...grpc.CallOption) (*Vpn, error) GetEncapInfo(ctx context.Context, in *EncapInfoKey, opts ...grpc.CallOption) (*EncapInfo, error) GetIptun(ctx context.Context, in *IptunKey, opts ...grpc.CallOption) (*Iptun, error) GetBridgeVlanInfo(ctx context.Context, in *BridgeVlanInfoKey, opts ...grpc.CallOption) (*BridgeVlanInfo, error) GetLinks(ctx context.Context, in *GetLinksRequest, opts ...grpc.CallOption) (NLAApi_GetLinksClient, error) GetAddrs(ctx context.Context, in *GetAddrsRequest, opts ...grpc.CallOption) (NLAApi_GetAddrsClient, error) GetNeighs(ctx context.Context, in *GetNeighsRequest, opts ...grpc.CallOption) (NLAApi_GetNeighsClient, error) GetRoutes(ctx context.Context, in *GetRoutesRequest, opts ...grpc.CallOption) (NLAApi_GetRoutesClient, error) GetMplss(ctx context.Context, in *GetMplssRequest, opts ...grpc.CallOption) (NLAApi_GetMplssClient, error) GetNodes(ctx context.Context, in *GetNodesRequest, opts ...grpc.CallOption) (NLAApi_GetNodesClient, error) GetVpns(ctx context.Context, in *GetVpnsRequest, opts ...grpc.CallOption) (NLAApi_GetVpnsClient, error) GetEncapInfos(ctx context.Context, in *GetEncapInfosRequest, opts ...grpc.CallOption) (NLAApi_GetEncapInfosClient, error) GetIptuns(ctx context.Context, in *GetIptunsRequest, opts ...grpc.CallOption) (NLAApi_GetIptunsClient, error) GetBridgeVlanInfos(ctx context.Context, in *GetBridgeVlanInfosRequest, opts ...grpc.CallOption) (NLAApi_GetBridgeVlanInfosClient, error) GetStats(ctx context.Context, in *GetStatsRequest, opts ...grpc.CallOption) (NLAApi_GetStatsClient, error) }
NLAApiClient is the client API for NLAApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNLAApiClient ¶
func NewNLAApiClient(cc *grpc.ClientConn) NLAApiClient
type NLAApiServer ¶
type NLAApiServer interface { ModVpn(context.Context, *ModVpnRequest) (*ModVpnReply, error) ModNetlink(context.Context, *NetlinkMessageUnion) (*ModNetlinkReply, error) MonNetlink(*MonNetlinkRequest, NLAApi_MonNetlinkServer) error GetLink(context.Context, *LinkKey) (*Link, error) GetAddr(context.Context, *AddrKey) (*Addr, error) GetNeigh(context.Context, *NeighKey) (*Neigh, error) GetRoute(context.Context, *RouteKey) (*Route, error) GetMpls(context.Context, *MplsKey) (*Route, error) GetNode(context.Context, *NodeKey) (*Node, error) GetVpn(context.Context, *VpnKey) (*Vpn, error) GetEncapInfo(context.Context, *EncapInfoKey) (*EncapInfo, error) GetIptun(context.Context, *IptunKey) (*Iptun, error) GetBridgeVlanInfo(context.Context, *BridgeVlanInfoKey) (*BridgeVlanInfo, error) GetLinks(*GetLinksRequest, NLAApi_GetLinksServer) error GetAddrs(*GetAddrsRequest, NLAApi_GetAddrsServer) error GetNeighs(*GetNeighsRequest, NLAApi_GetNeighsServer) error GetRoutes(*GetRoutesRequest, NLAApi_GetRoutesServer) error GetMplss(*GetMplssRequest, NLAApi_GetMplssServer) error GetNodes(*GetNodesRequest, NLAApi_GetNodesServer) error GetVpns(*GetVpnsRequest, NLAApi_GetVpnsServer) error GetEncapInfos(*GetEncapInfosRequest, NLAApi_GetEncapInfosServer) error GetIptuns(*GetIptunsRequest, NLAApi_GetIptunsServer) error GetBridgeVlanInfos(*GetBridgeVlanInfosRequest, NLAApi_GetBridgeVlanInfosServer) error GetStats(*GetStatsRequest, NLAApi_GetStatsServer) error }
NLAApiServer is the server API for NLAApi service.
type NLAApi_GetAddrsClient ¶
type NLAApi_GetAddrsClient interface { Recv() (*Addr, error) grpc.ClientStream }
type NLAApi_GetAddrsServer ¶
type NLAApi_GetAddrsServer interface { Send(*Addr) error grpc.ServerStream }
type NLAApi_GetBridgeVlanInfosClient ¶ added in v0.4.0
type NLAApi_GetBridgeVlanInfosClient interface { Recv() (*BridgeVlanInfo, error) grpc.ClientStream }
type NLAApi_GetBridgeVlanInfosServer ¶ added in v0.4.0
type NLAApi_GetBridgeVlanInfosServer interface { Send(*BridgeVlanInfo) error grpc.ServerStream }
type NLAApi_GetEncapInfosClient ¶
type NLAApi_GetEncapInfosClient interface { Recv() (*EncapInfo, error) grpc.ClientStream }
type NLAApi_GetEncapInfosServer ¶
type NLAApi_GetEncapInfosServer interface { Send(*EncapInfo) error grpc.ServerStream }
type NLAApi_GetIptunsClient ¶ added in v0.3.1
type NLAApi_GetIptunsClient interface { Recv() (*Iptun, error) grpc.ClientStream }
type NLAApi_GetIptunsServer ¶ added in v0.3.1
type NLAApi_GetIptunsServer interface { Send(*Iptun) error grpc.ServerStream }
type NLAApi_GetLinksClient ¶
type NLAApi_GetLinksClient interface { Recv() (*Link, error) grpc.ClientStream }
type NLAApi_GetLinksServer ¶
type NLAApi_GetLinksServer interface { Send(*Link) error grpc.ServerStream }
type NLAApi_GetMplssClient ¶
type NLAApi_GetMplssClient interface { Recv() (*Route, error) grpc.ClientStream }
type NLAApi_GetMplssServer ¶
type NLAApi_GetMplssServer interface { Send(*Route) error grpc.ServerStream }
type NLAApi_GetNeighsClient ¶
type NLAApi_GetNeighsClient interface { Recv() (*Neigh, error) grpc.ClientStream }
type NLAApi_GetNeighsServer ¶
type NLAApi_GetNeighsServer interface { Send(*Neigh) error grpc.ServerStream }
type NLAApi_GetNodesClient ¶
type NLAApi_GetNodesClient interface { Recv() (*Node, error) grpc.ClientStream }
type NLAApi_GetNodesServer ¶
type NLAApi_GetNodesServer interface { Send(*Node) error grpc.ServerStream }
type NLAApi_GetRoutesClient ¶
type NLAApi_GetRoutesClient interface { Recv() (*Route, error) grpc.ClientStream }
type NLAApi_GetRoutesServer ¶
type NLAApi_GetRoutesServer interface { Send(*Route) error grpc.ServerStream }
type NLAApi_GetStatsClient ¶
type NLAApi_GetStatsClient interface { Recv() (*Stat, error) grpc.ClientStream }
type NLAApi_GetStatsServer ¶
type NLAApi_GetStatsServer interface { Send(*Stat) error grpc.ServerStream }
type NLAApi_GetVpnsClient ¶
type NLAApi_GetVpnsClient interface { Recv() (*Vpn, error) grpc.ClientStream }
type NLAApi_GetVpnsServer ¶
type NLAApi_GetVpnsServer interface { Send(*Vpn) error grpc.ServerStream }
type NLAApi_MonNetlinkClient ¶
type NLAApi_MonNetlinkClient interface { Recv() (*NetlinkMessageUnion, error) grpc.ClientStream }
type NLAApi_MonNetlinkServer ¶
type NLAApi_MonNetlinkServer interface { Send(*NetlinkMessageUnion) error grpc.ServerStream }
type NLACoreApiClient ¶
type NLACoreApiClient interface { SendNetlinkMessage(ctx context.Context, in *NetlinkMessage, opts ...grpc.CallOption) (*NetlinkMessageReply, error) MonNetlinkMessage(ctx context.Context, in *Node, opts ...grpc.CallOption) (NLACoreApi_MonNetlinkMessageClient, error) }
NLACoreApiClient is the client API for NLACoreApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNLACoreApiClient ¶
func NewNLACoreApiClient(cc *grpc.ClientConn) NLACoreApiClient
type NLACoreApiServer ¶
type NLACoreApiServer interface { SendNetlinkMessage(context.Context, *NetlinkMessage) (*NetlinkMessageReply, error) MonNetlinkMessage(*Node, NLACoreApi_MonNetlinkMessageServer) error }
NLACoreApiServer is the server API for NLACoreApi service.
type NLACoreApi_MonNetlinkMessageClient ¶
type NLACoreApi_MonNetlinkMessageClient interface { Recv() (*NetlinkMessageUnion, error) grpc.ClientStream }
type NLACoreApi_MonNetlinkMessageServer ¶
type NLACoreApi_MonNetlinkMessageServer interface { Send(*NetlinkMessageUnion) error grpc.ServerStream }
type Neigh ¶
type Neigh struct { LinkIndex int32 `protobuf:"varint,1,opt,name=link_index,json=linkIndex,proto3" json:"link_index,omitempty"` Family int32 `protobuf:"varint,2,opt,name=family,proto3" json:"family,omitempty"` State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"` Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` Flags int32 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"` Ip []byte `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"` HardwareAddr []byte `protobuf:"bytes,7,opt,name=hardware_addr,json=hardwareAddr,proto3" json:"hardware_addr,omitempty"` LlIpAddr []byte `protobuf:"bytes,8,opt,name=ll_ip_addr,json=llIpAddr,proto3" json:"ll_ip_addr,omitempty"` VlanId int32 `protobuf:"varint,9,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` Vni int32 `protobuf:"varint,10,opt,name=vni,proto3" json:"vni,omitempty"` NId uint32 `protobuf:"varint,11,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` NeId uint32 `protobuf:"varint,12,opt,name=ne_id,json=neId,proto3" json:"ne_id,omitempty"` PhyLink int32 `protobuf:"varint,13,opt,name=phy_link,json=phyLink,proto3" json:"phy_link,omitempty"` // Types that are valid to be assigned to Tunnel: // *Neigh_Notun // *Neigh_Iptun Tunnel isNeigh_Tunnel `protobuf_oneof:"tunnel"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNeighFromNative ¶
func (*Neigh) Descriptor ¶
func (*Neigh) GetHardwareAddr ¶
func (*Neigh) GetIptun ¶ added in v0.3.1
func (m *Neigh) GetIptun() *NeighIptun
func (*Neigh) GetLLIPAddr ¶ added in v0.2.0
func (*Neigh) GetLinkIndex ¶
func (*Neigh) GetLlIpAddr ¶ added in v0.2.0
func (*Neigh) GetNotun ¶ added in v0.3.1
func (m *Neigh) GetNotun() *NeighNotun
func (*Neigh) GetPhyLink ¶ added in v0.3.1
func (*Neigh) NetHardwareAddr ¶
func (n *Neigh) NetHardwareAddr() net.HardwareAddr
func (*Neigh) ProtoMessage ¶
func (*Neigh) ProtoMessage()
func (*Neigh) SetIptun ¶ added in v0.3.1
func (n *Neigh) SetIptun(iptun *NeighIptun)
func (*Neigh) SetNotun ¶ added in v0.3.1
func (n *Neigh) SetNotun(notun *NeighNotun)
func (*Neigh) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Neigh) XXX_DiscardUnknown()
func (*Neigh) XXX_Marshal ¶ added in v0.3.1
func (*Neigh) XXX_OneofWrappers ¶ added in v0.3.1
func (*Neigh) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Neigh) XXX_Unmarshal ¶ added in v0.3.1
type NeighIptun ¶ added in v0.3.1
type NeighIptun struct { TunType string `protobuf:"bytes,1,opt,name=tun_type,json=tunType,proto3" json:"tun_type,omitempty"` SrcIp []byte `protobuf:"bytes,2,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNeighIptunFromNative ¶ added in v0.3.1
func NewNeighIptunFromNative(n *nlamsg.NeighIptun) *NeighIptun
func (*NeighIptun) Descriptor ¶ added in v0.3.1
func (*NeighIptun) Descriptor() ([]byte, []int)
func (*NeighIptun) GetSrcIp ¶ added in v0.3.1
func (m *NeighIptun) GetSrcIp() []byte
func (*NeighIptun) GetTunType ¶ added in v0.3.1
func (m *NeighIptun) GetTunType() string
func (*NeighIptun) ProtoMessage ¶ added in v0.3.1
func (*NeighIptun) ProtoMessage()
func (*NeighIptun) Reset ¶ added in v0.3.1
func (m *NeighIptun) Reset()
func (*NeighIptun) String ¶ added in v0.3.1
func (m *NeighIptun) String() string
func (*NeighIptun) ToNative ¶ added in v0.3.1
func (n *NeighIptun) ToNative() *nlamsg.NeighIptun
func (*NeighIptun) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NeighIptun) XXX_DiscardUnknown()
func (*NeighIptun) XXX_Marshal ¶ added in v0.3.1
func (m *NeighIptun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NeighIptun) XXX_Merge ¶ added in v0.3.1
func (m *NeighIptun) XXX_Merge(src proto.Message)
func (*NeighIptun) XXX_Size ¶ added in v0.3.1
func (m *NeighIptun) XXX_Size() int
func (*NeighIptun) XXX_Unmarshal ¶ added in v0.3.1
func (m *NeighIptun) XXX_Unmarshal(b []byte) error
type NeighKey ¶
type NeighKey struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Ifindex int32 `protobuf:"varint,3,opt,name=ifindex,proto3" json:"ifindex,omitempty"` VlanId int32 `protobuf:"varint,4,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNeighKeyFromNative ¶
func (*NeighKey) Descriptor ¶
func (*NeighKey) GetIfindex ¶ added in v0.2.0
func (*NeighKey) ProtoMessage ¶
func (*NeighKey) ProtoMessage()
func (*NeighKey) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NeighKey) XXX_DiscardUnknown()
func (*NeighKey) XXX_Marshal ¶ added in v0.3.1
func (*NeighKey) XXX_Unmarshal ¶ added in v0.3.1
type NeighNotun ¶ added in v0.3.1
type NeighNotun struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNeighNotunFromNative ¶ added in v0.3.1
func NewNeighNotunFromNative(n nlamsg.NeighTunnel) *NeighNotun
func (*NeighNotun) Descriptor ¶ added in v0.3.1
func (*NeighNotun) Descriptor() ([]byte, []int)
func (*NeighNotun) ProtoMessage ¶ added in v0.3.1
func (*NeighNotun) ProtoMessage()
func (*NeighNotun) Reset ¶ added in v0.3.1
func (m *NeighNotun) Reset()
func (*NeighNotun) String ¶ added in v0.3.1
func (m *NeighNotun) String() string
func (*NeighNotun) ToNative ¶ added in v0.3.1
func (n *NeighNotun) ToNative() nlamsg.NeighTunnel
NeighNotun
func (*NeighNotun) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NeighNotun) XXX_DiscardUnknown()
func (*NeighNotun) XXX_Marshal ¶ added in v0.3.1
func (m *NeighNotun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NeighNotun) XXX_Merge ¶ added in v0.3.1
func (m *NeighNotun) XXX_Merge(src proto.Message)
func (*NeighNotun) XXX_Size ¶ added in v0.3.1
func (m *NeighNotun) XXX_Size() int
func (*NeighNotun) XXX_Unmarshal ¶ added in v0.3.1
func (m *NeighNotun) XXX_Unmarshal(b []byte) error
type Neigh_Iptun ¶ added in v0.3.1
type Neigh_Iptun struct {
Iptun *NeighIptun `protobuf:"bytes,15,opt,name=iptun,proto3,oneof"`
}
type Neigh_Notun ¶ added in v0.3.1
type Neigh_Notun struct {
Notun *NeighNotun `protobuf:"bytes,14,opt,name=notun,proto3,oneof"`
}
type NetlinkMessage ¶
type NetlinkMessage struct { Header *NlMsghdr `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` NId uint32 `protobuf:"varint,3,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` Src NlMsgSrc `protobuf:"varint,4,opt,name=src,proto3,enum=nlaapi.NlMsgSrc" json:"src,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNetlinkMessageFromNative ¶
func NewNetlinkMessageFromNative(n *nlamsg.NetlinkMessage) *NetlinkMessage
func (*NetlinkMessage) Descriptor ¶
func (*NetlinkMessage) Descriptor() ([]byte, []int)
func (*NetlinkMessage) GetData ¶
func (m *NetlinkMessage) GetData() []byte
func (*NetlinkMessage) GetHeader ¶
func (m *NetlinkMessage) GetHeader() *NlMsghdr
func (*NetlinkMessage) GetNId ¶
func (m *NetlinkMessage) GetNId() uint32
func (*NetlinkMessage) GetSrc ¶
func (m *NetlinkMessage) GetSrc() NlMsgSrc
func (*NetlinkMessage) ProtoMessage ¶
func (*NetlinkMessage) ProtoMessage()
func (*NetlinkMessage) Reset ¶
func (m *NetlinkMessage) Reset()
func (*NetlinkMessage) String ¶
func (m *NetlinkMessage) String() string
func (*NetlinkMessage) ToNative ¶
func (n *NetlinkMessage) ToNative() *nlamsg.NetlinkMessage
func (*NetlinkMessage) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NetlinkMessage) XXX_DiscardUnknown()
func (*NetlinkMessage) XXX_Marshal ¶ added in v0.3.1
func (m *NetlinkMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetlinkMessage) XXX_Merge ¶ added in v0.3.1
func (m *NetlinkMessage) XXX_Merge(src proto.Message)
func (*NetlinkMessage) XXX_Size ¶ added in v0.3.1
func (m *NetlinkMessage) XXX_Size() int
func (*NetlinkMessage) XXX_Unmarshal ¶ added in v0.3.1
func (m *NetlinkMessage) XXX_Unmarshal(b []byte) error
type NetlinkMessageReply ¶
type NetlinkMessageReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetlinkMessageReply) Descriptor ¶
func (*NetlinkMessageReply) Descriptor() ([]byte, []int)
func (*NetlinkMessageReply) ProtoMessage ¶
func (*NetlinkMessageReply) ProtoMessage()
func (*NetlinkMessageReply) Reset ¶
func (m *NetlinkMessageReply) Reset()
func (*NetlinkMessageReply) String ¶
func (m *NetlinkMessageReply) String() string
func (*NetlinkMessageReply) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NetlinkMessageReply) XXX_DiscardUnknown()
func (*NetlinkMessageReply) XXX_Marshal ¶ added in v0.3.1
func (m *NetlinkMessageReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetlinkMessageReply) XXX_Merge ¶ added in v0.3.1
func (m *NetlinkMessageReply) XXX_Merge(src proto.Message)
func (*NetlinkMessageReply) XXX_Size ¶ added in v0.3.1
func (m *NetlinkMessageReply) XXX_Size() int
func (*NetlinkMessageReply) XXX_Unmarshal ¶ added in v0.3.1
func (m *NetlinkMessageReply) XXX_Unmarshal(b []byte) error
type NetlinkMessageUnion ¶
type NetlinkMessageUnion struct { Header *NlMsghdr `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Msg *NlMsgUni `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` NId uint32 `protobuf:"varint,3,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` Src NlMsgSrc `protobuf:"varint,4,opt,name=src,proto3,enum=nlaapi.NlMsgSrc" json:"src,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNetlinkMessageUnion ¶
func NewNetlinkMessageUnion(nid uint8, t uint16, m interface{}) *NetlinkMessageUnion
func NewNetlinkMessageUnionFromNative ¶
func NewNetlinkMessageUnionFromNative(n *nlamsg.NetlinkMessageUnion) *NetlinkMessageUnion
func (*NetlinkMessageUnion) Descriptor ¶
func (*NetlinkMessageUnion) Descriptor() ([]byte, []int)
func (*NetlinkMessageUnion) GetHeader ¶
func (m *NetlinkMessageUnion) GetHeader() *NlMsghdr
func (*NetlinkMessageUnion) GetMsg ¶
func (m *NetlinkMessageUnion) GetMsg() *NlMsgUni
func (*NetlinkMessageUnion) GetNId ¶
func (m *NetlinkMessageUnion) GetNId() uint32
func (*NetlinkMessageUnion) GetSrc ¶
func (m *NetlinkMessageUnion) GetSrc() NlMsgSrc
func (*NetlinkMessageUnion) Group ¶
func (n *NetlinkMessageUnion) Group() uint16
func (*NetlinkMessageUnion) ProtoMessage ¶
func (*NetlinkMessageUnion) ProtoMessage()
func (*NetlinkMessageUnion) Reset ¶
func (m *NetlinkMessageUnion) Reset()
func (*NetlinkMessageUnion) String ¶
func (m *NetlinkMessageUnion) String() string
func (*NetlinkMessageUnion) ToNative ¶
func (n *NetlinkMessageUnion) ToNative() *nlamsg.NetlinkMessageUnion
func (*NetlinkMessageUnion) Type ¶
func (n *NetlinkMessageUnion) Type() uint16
func (*NetlinkMessageUnion) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NetlinkMessageUnion) XXX_DiscardUnknown()
func (*NetlinkMessageUnion) XXX_Marshal ¶ added in v0.3.1
func (m *NetlinkMessageUnion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetlinkMessageUnion) XXX_Merge ¶ added in v0.3.1
func (m *NetlinkMessageUnion) XXX_Merge(src proto.Message)
func (*NetlinkMessageUnion) XXX_Size ¶ added in v0.3.1
func (m *NetlinkMessageUnion) XXX_Size() int
func (*NetlinkMessageUnion) XXX_Unmarshal ¶ added in v0.3.1
func (m *NetlinkMessageUnion) XXX_Unmarshal(b []byte) error
type NexthopInfo ¶
type NexthopInfo struct { LinkIndex int32 `protobuf:"varint,1,opt,name=link_index,json=linkIndex,proto3" json:"link_index,omitempty"` Hops int32 `protobuf:"varint,2,opt,name=hops,proto3" json:"hops,omitempty"` Gw []byte `protobuf:"bytes,3,opt,name=gw,proto3" json:"gw,omitempty"` Flags int32 `protobuf:"varint,4,opt,name=flags,proto3" json:"flags,omitempty"` NewDst *Destination `protobuf:"bytes,5,opt,name=new_dst,json=newDst,proto3" json:"new_dst,omitempty"` Encap *Encap `protobuf:"bytes,6,opt,name=encap,proto3" json:"encap,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNexthopInfoFromNative ¶
func NewNexthopInfoFromNative(n *netlink.NexthopInfo) *NexthopInfo
func NewNexthopInfoFromNatives ¶
func NewNexthopInfoFromNatives(ns []*netlink.NexthopInfo) []*NexthopInfo
func (*NexthopInfo) Descriptor ¶
func (*NexthopInfo) Descriptor() ([]byte, []int)
func (*NexthopInfo) GetEncap ¶
func (m *NexthopInfo) GetEncap() *Encap
func (*NexthopInfo) GetFlags ¶
func (m *NexthopInfo) GetFlags() int32
func (*NexthopInfo) GetGw ¶
func (m *NexthopInfo) GetGw() []byte
func (*NexthopInfo) GetHops ¶
func (m *NexthopInfo) GetHops() int32
func (*NexthopInfo) GetLinkIndex ¶
func (m *NexthopInfo) GetLinkIndex() int32
func (*NexthopInfo) GetNewDst ¶
func (m *NexthopInfo) GetNewDst() *Destination
func (*NexthopInfo) ProtoMessage ¶
func (*NexthopInfo) ProtoMessage()
func (*NexthopInfo) Reset ¶
func (m *NexthopInfo) Reset()
func (*NexthopInfo) String ¶
func (m *NexthopInfo) String() string
func (*NexthopInfo) ToNative ¶
func (n *NexthopInfo) ToNative() *netlink.NexthopInfo
func (*NexthopInfo) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NexthopInfo) XXX_DiscardUnknown()
func (*NexthopInfo) XXX_Marshal ¶ added in v0.3.1
func (m *NexthopInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NexthopInfo) XXX_Merge ¶ added in v0.3.1
func (m *NexthopInfo) XXX_Merge(src proto.Message)
func (*NexthopInfo) XXX_Size ¶ added in v0.3.1
func (m *NexthopInfo) XXX_Size() int
func (*NexthopInfo) XXX_Unmarshal ¶ added in v0.3.1
func (m *NexthopInfo) XXX_Unmarshal(b []byte) error
type NlMsgSrc ¶
type NlMsgSrc int32
Message Source
func NewNlMsgSrcFromNative ¶
func (NlMsgSrc) EnumDescriptor ¶
type NlMsgUni ¶
type NlMsgUni struct { // Types that are valid to be assigned to Msg: // *NlMsgUni_Link // *NlMsgUni_Addr // *NlMsgUni_Neigh // *NlMsgUni_Route // *NlMsgUni_Node // *NlMsgUni_Vpn // *NlMsgUni_BrVlanInfo Msg isNlMsgUni_Msg `protobuf_oneof:"msg"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNlMsgUni ¶
func NewNlMsgUniFromNative ¶
func (*NlMsgUni) Descriptor ¶
func (*NlMsgUni) GetBrVlanInfo ¶ added in v0.4.0
func (m *NlMsgUni) GetBrVlanInfo() *BridgeVlanInfo
func (*NlMsgUni) ProtoMessage ¶
func (*NlMsgUni) ProtoMessage()
func (*NlMsgUni) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NlMsgUni) XXX_DiscardUnknown()
func (*NlMsgUni) XXX_Marshal ¶ added in v0.3.1
func (*NlMsgUni) XXX_OneofWrappers ¶ added in v0.3.1
func (*NlMsgUni) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*NlMsgUni) XXX_Unmarshal ¶ added in v0.3.1
type NlMsgUni_Addr ¶
type NlMsgUni_Addr struct {
Addr *Addr `protobuf:"bytes,2,opt,name=addr,proto3,oneof"`
}
type NlMsgUni_BrVlanInfo ¶ added in v0.4.0
type NlMsgUni_BrVlanInfo struct {
BrVlanInfo *BridgeVlanInfo `protobuf:"bytes,7,opt,name=br_vlan_info,json=brVlanInfo,proto3,oneof"`
}
type NlMsgUni_Link ¶
type NlMsgUni_Link struct {
Link *Link `protobuf:"bytes,1,opt,name=link,proto3,oneof"`
}
type NlMsgUni_Neigh ¶
type NlMsgUni_Neigh struct {
Neigh *Neigh `protobuf:"bytes,3,opt,name=neigh,proto3,oneof"`
}
type NlMsgUni_Node ¶
type NlMsgUni_Node struct {
Node *Node `protobuf:"bytes,5,opt,name=node,proto3,oneof"`
}
type NlMsgUni_Route ¶
type NlMsgUni_Route struct {
Route *Route `protobuf:"bytes,4,opt,name=route,proto3,oneof"`
}
type NlMsgUni_Vpn ¶
type NlMsgUni_Vpn struct {
Vpn *Vpn `protobuf:"bytes,6,opt,name=vpn,proto3,oneof"`
}
type NlMsghdr ¶
type NlMsghdr struct { Len uint32 `protobuf:"varint,1,opt,name=len,proto3" json:"len,omitempty"` Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` Flags uint32 `protobuf:"varint,3,opt,name=flags,proto3" json:"flags,omitempty"` Seq uint32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` Pid uint32 `protobuf:"varint,5,opt,name=pid,proto3" json:"pid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Common
func NewNlMsghdrFromNative ¶
func (*NlMsghdr) Descriptor ¶
func (*NlMsghdr) ProtoMessage ¶
func (*NlMsghdr) ProtoMessage()
func (*NlMsghdr) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NlMsghdr) XXX_DiscardUnknown()
func (*NlMsghdr) XXX_Marshal ¶ added in v0.3.1
func (*NlMsghdr) XXX_Unmarshal ¶ added in v0.3.1
type Node ¶
type Node struct { Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` NId uint32 `protobuf:"varint,2,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNodeFromNative ¶
func (*Node) Descriptor ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Marshal ¶ added in v0.3.1
func (*Node) XXX_Unmarshal ¶ added in v0.3.1
type NodeKey ¶
type NodeKey struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewNodeKeyFromNative ¶
func (*NodeKey) Descriptor ¶
func (*NodeKey) ProtoMessage ¶
func (*NodeKey) ProtoMessage()
func (*NodeKey) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *NodeKey) XXX_DiscardUnknown()
func (*NodeKey) XXX_Marshal ¶ added in v0.3.1
func (*NodeKey) XXX_Unmarshal ¶ added in v0.3.1
type Route ¶
type Route struct { LinkIndex int32 `protobuf:"varint,1,opt,name=link_index,json=linkIndex,proto3" json:"link_index,omitempty"` ILinkIndex int32 `protobuf:"varint,2,opt,name=i_link_index,json=iLinkIndex,proto3" json:"i_link_index,omitempty"` Scope int32 `protobuf:"varint,3,opt,name=scope,proto3" json:"scope,omitempty"` Dst []byte `protobuf:"bytes,4,opt,name=dst,proto3" json:"dst,omitempty"` DstMask []byte `protobuf:"bytes,5,opt,name=dst_mask,json=dstMask,proto3" json:"dst_mask,omitempty"` Src []byte `protobuf:"bytes,6,opt,name=src,proto3" json:"src,omitempty"` Gw []byte `protobuf:"bytes,7,opt,name=gw,proto3" json:"gw,omitempty"` MultiPath []*NexthopInfo `protobuf:"bytes,8,rep,name=multi_path,json=multiPath,proto3" json:"multi_path,omitempty"` Protocol int32 `protobuf:"varint,9,opt,name=protocol,proto3" json:"protocol,omitempty"` Priority int32 `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"` Table int32 `protobuf:"varint,11,opt,name=table,proto3" json:"table,omitempty"` Type int32 `protobuf:"varint,12,opt,name=type,proto3" json:"type,omitempty"` Tos int32 `protobuf:"varint,13,opt,name=tos,proto3" json:"tos,omitempty"` Flags int32 `protobuf:"varint,14,opt,name=flags,proto3" json:"flags,omitempty"` MplsDst int32 `protobuf:"varint,15,opt,name=mpls_dst,json=mplsDst,proto3" json:"mpls_dst,omitempty"` NewDst *Destination `protobuf:"bytes,16,opt,name=new_dst,json=newDst,proto3" json:"new_dst,omitempty"` Encap *Encap `protobuf:"bytes,17,opt,name=encap,proto3" json:"encap,omitempty"` NId uint32 `protobuf:"varint,18,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` RtId uint32 `protobuf:"varint,19,opt,name=rt_id,json=rtId,proto3" json:"rt_id,omitempty"` VpnGw []byte `protobuf:"bytes,20,opt,name=vpn_gw,json=vpnGw,proto3" json:"vpn_gw,omitempty"` EnIds []uint32 `protobuf:"varint,21,rep,packed,name=en_ids,json=enIds,proto3" json:"en_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewRouteFromNative ¶
func (*Route) Descriptor ¶
func (*Route) GetDstMask ¶
func (*Route) GetILinkIndex ¶
func (*Route) GetLinkIndex ¶
func (*Route) GetMplsDst ¶
func (*Route) GetMultiPath ¶
func (m *Route) GetMultiPath() []*NexthopInfo
func (*Route) GetNewDst ¶
func (m *Route) GetNewDst() *Destination
func (*Route) GetPriority ¶
func (*Route) GetProtocol ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Route) XXX_DiscardUnknown()
func (*Route) XXX_Marshal ¶ added in v0.3.1
func (*Route) XXX_Unmarshal ¶ added in v0.3.1
type RouteKey ¶
type RouteKey struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewRouteKeyFromNative ¶
func (*RouteKey) Descriptor ¶
func (*RouteKey) ProtoMessage ¶
func (*RouteKey) ProtoMessage()
func (*RouteKey) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *RouteKey) XXX_DiscardUnknown()
func (*RouteKey) XXX_Marshal ¶ added in v0.3.1
func (*RouteKey) XXX_Unmarshal ¶ added in v0.3.1
type Stat ¶
type Stat struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Val uint64 `protobuf:"varint,2,opt,name=val,proto3" json:"val,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Messages
func (*Stat) Descriptor ¶
func (*Stat) ProtoMessage ¶
func (*Stat) ProtoMessage()
func (*Stat) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Stat) XXX_DiscardUnknown()
func (*Stat) XXX_Marshal ¶ added in v0.3.1
func (*Stat) XXX_Unmarshal ¶ added in v0.3.1
type UnimplementedNLAApiServer ¶ added in v0.4.0
type UnimplementedNLAApiServer struct { }
UnimplementedNLAApiServer can be embedded to have forward compatible implementations.
func (*UnimplementedNLAApiServer) GetAddrs ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetAddrs(req *GetAddrsRequest, srv NLAApi_GetAddrsServer) error
func (*UnimplementedNLAApiServer) GetBridgeVlanInfo ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetBridgeVlanInfo(ctx context.Context, req *BridgeVlanInfoKey) (*BridgeVlanInfo, error)
func (*UnimplementedNLAApiServer) GetBridgeVlanInfos ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetBridgeVlanInfos(req *GetBridgeVlanInfosRequest, srv NLAApi_GetBridgeVlanInfosServer) error
func (*UnimplementedNLAApiServer) GetEncapInfo ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetEncapInfo(ctx context.Context, req *EncapInfoKey) (*EncapInfo, error)
func (*UnimplementedNLAApiServer) GetEncapInfos ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetEncapInfos(req *GetEncapInfosRequest, srv NLAApi_GetEncapInfosServer) error
func (*UnimplementedNLAApiServer) GetIptuns ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetIptuns(req *GetIptunsRequest, srv NLAApi_GetIptunsServer) error
func (*UnimplementedNLAApiServer) GetLinks ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetLinks(req *GetLinksRequest, srv NLAApi_GetLinksServer) error
func (*UnimplementedNLAApiServer) GetMplss ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetMplss(req *GetMplssRequest, srv NLAApi_GetMplssServer) error
func (*UnimplementedNLAApiServer) GetNeighs ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetNeighs(req *GetNeighsRequest, srv NLAApi_GetNeighsServer) error
func (*UnimplementedNLAApiServer) GetNodes ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetNodes(req *GetNodesRequest, srv NLAApi_GetNodesServer) error
func (*UnimplementedNLAApiServer) GetRoutes ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetRoutes(req *GetRoutesRequest, srv NLAApi_GetRoutesServer) error
func (*UnimplementedNLAApiServer) GetStats ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetStats(req *GetStatsRequest, srv NLAApi_GetStatsServer) error
func (*UnimplementedNLAApiServer) GetVpns ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) GetVpns(req *GetVpnsRequest, srv NLAApi_GetVpnsServer) error
func (*UnimplementedNLAApiServer) ModNetlink ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) ModNetlink(ctx context.Context, req *NetlinkMessageUnion) (*ModNetlinkReply, error)
func (*UnimplementedNLAApiServer) ModVpn ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) ModVpn(ctx context.Context, req *ModVpnRequest) (*ModVpnReply, error)
func (*UnimplementedNLAApiServer) MonNetlink ¶ added in v0.4.0
func (*UnimplementedNLAApiServer) MonNetlink(req *MonNetlinkRequest, srv NLAApi_MonNetlinkServer) error
type UnimplementedNLACoreApiServer ¶ added in v0.4.0
type UnimplementedNLACoreApiServer struct { }
UnimplementedNLACoreApiServer can be embedded to have forward compatible implementations.
func (*UnimplementedNLACoreApiServer) MonNetlinkMessage ¶ added in v0.4.0
func (*UnimplementedNLACoreApiServer) MonNetlinkMessage(req *Node, srv NLACoreApi_MonNetlinkMessageServer) error
func (*UnimplementedNLACoreApiServer) SendNetlinkMessage ¶ added in v0.4.0
func (*UnimplementedNLACoreApiServer) SendNetlinkMessage(ctx context.Context, req *NetlinkMessage) (*NetlinkMessageReply, error)
type VethLinkAttrs ¶
type VethLinkAttrs struct { LinkAttrs *LinkAttrs `protobuf:"bytes,1,opt,name=link_attrs,json=linkAttrs,proto3" json:"link_attrs,omitempty"` PeerName string `protobuf:"bytes,2,opt,name=peer_name,json=peerName,proto3" json:"peer_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VethLinkAttrs) Descriptor ¶
func (*VethLinkAttrs) Descriptor() ([]byte, []int)
func (*VethLinkAttrs) GetLinkAttrs ¶
func (m *VethLinkAttrs) GetLinkAttrs() *LinkAttrs
func (*VethLinkAttrs) GetPeerName ¶
func (m *VethLinkAttrs) GetPeerName() string
func (*VethLinkAttrs) ProtoMessage ¶
func (*VethLinkAttrs) ProtoMessage()
func (*VethLinkAttrs) Reset ¶
func (m *VethLinkAttrs) Reset()
func (*VethLinkAttrs) String ¶
func (m *VethLinkAttrs) String() string
func (*VethLinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *VethLinkAttrs) XXX_DiscardUnknown()
func (*VethLinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (m *VethLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VethLinkAttrs) XXX_Merge ¶ added in v0.3.1
func (m *VethLinkAttrs) XXX_Merge(src proto.Message)
func (*VethLinkAttrs) XXX_Size ¶ added in v0.3.1
func (m *VethLinkAttrs) XXX_Size() int
func (*VethLinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
func (m *VethLinkAttrs) XXX_Unmarshal(b []byte) error
type VlanLinkAttrs ¶
type VlanLinkAttrs struct { LinkAttrs *LinkAttrs `protobuf:"bytes,1,opt,name=link_attrs,json=linkAttrs,proto3" json:"link_attrs,omitempty"` VlanId int32 `protobuf:"varint,2,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VlanLinkAttrs) Descriptor ¶
func (*VlanLinkAttrs) Descriptor() ([]byte, []int)
func (*VlanLinkAttrs) GetLinkAttrs ¶
func (m *VlanLinkAttrs) GetLinkAttrs() *LinkAttrs
func (*VlanLinkAttrs) GetVlanId ¶
func (m *VlanLinkAttrs) GetVlanId() int32
func (*VlanLinkAttrs) ProtoMessage ¶
func (*VlanLinkAttrs) ProtoMessage()
func (*VlanLinkAttrs) Reset ¶
func (m *VlanLinkAttrs) Reset()
func (*VlanLinkAttrs) String ¶
func (m *VlanLinkAttrs) String() string
func (*VlanLinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *VlanLinkAttrs) XXX_DiscardUnknown()
func (*VlanLinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (m *VlanLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VlanLinkAttrs) XXX_Merge ¶ added in v0.3.1
func (m *VlanLinkAttrs) XXX_Merge(src proto.Message)
func (*VlanLinkAttrs) XXX_Size ¶ added in v0.3.1
func (m *VlanLinkAttrs) XXX_Size() int
func (*VlanLinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
func (m *VlanLinkAttrs) XXX_Unmarshal(b []byte) error
type Vpn ¶
type Vpn struct { Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Mask []byte `protobuf:"bytes,2,opt,name=mask,proto3" json:"mask,omitempty"` Gw []byte `protobuf:"bytes,3,opt,name=gw,proto3" json:"gw,omitempty"` Label uint32 `protobuf:"varint,4,opt,name=label,proto3" json:"label,omitempty"` VpnGw []byte `protobuf:"bytes,5,opt,name=vpn_gw,json=vpnGw,proto3" json:"vpn_gw,omitempty"` NId uint32 `protobuf:"varint,6,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` VpnId uint32 `protobuf:"varint,7,opt,name=vpn_id,json=vpnId,proto3" json:"vpn_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewVpnFromNative ¶
func (*Vpn) Descriptor ¶
func (*Vpn) ProtoMessage ¶
func (*Vpn) ProtoMessage()
func (*Vpn) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Vpn) XXX_DiscardUnknown()
func (*Vpn) XXX_Marshal ¶ added in v0.3.1
func (*Vpn) XXX_Unmarshal ¶ added in v0.3.1
type VpnKey ¶
type VpnKey struct { NId uint32 `protobuf:"varint,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` Dst string `protobuf:"bytes,2,opt,name=dst,proto3" json:"dst,omitempty"` Gw string `protobuf:"bytes,3,opt,name=gw,proto3" json:"gw,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewVpnKeyFromNative ¶
func (*VpnKey) Descriptor ¶
func (*VpnKey) ProtoMessage ¶
func (*VpnKey) ProtoMessage()
func (*VpnKey) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *VpnKey) XXX_DiscardUnknown()
func (*VpnKey) XXX_Marshal ¶ added in v0.3.1
func (*VpnKey) XXX_Unmarshal ¶ added in v0.3.1
type VtiLinkAttrs ¶
type VtiLinkAttrs struct { LinkAttrs *LinkAttrs `protobuf:"bytes,1,opt,name=link_attrs,json=linkAttrs,proto3" json:"link_attrs,omitempty"` IKey uint32 `protobuf:"varint,2,opt,name=i_key,json=iKey,proto3" json:"i_key,omitempty"` OKey uint32 `protobuf:"varint,3,opt,name=o_key,json=oKey,proto3" json:"o_key,omitempty"` Link uint32 `protobuf:"varint,4,opt,name=link,proto3" json:"link,omitempty"` Local []byte `protobuf:"bytes,5,opt,name=local,proto3" json:"local,omitempty"` Remote []byte `protobuf:"bytes,6,opt,name=remote,proto3" json:"remote,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VtiLinkAttrs) Descriptor ¶
func (*VtiLinkAttrs) Descriptor() ([]byte, []int)
func (*VtiLinkAttrs) GetIKey ¶
func (m *VtiLinkAttrs) GetIKey() uint32
func (*VtiLinkAttrs) GetLink ¶
func (m *VtiLinkAttrs) GetLink() uint32
func (*VtiLinkAttrs) GetLinkAttrs ¶
func (m *VtiLinkAttrs) GetLinkAttrs() *LinkAttrs
func (*VtiLinkAttrs) GetLocal ¶
func (m *VtiLinkAttrs) GetLocal() []byte
func (*VtiLinkAttrs) GetOKey ¶
func (m *VtiLinkAttrs) GetOKey() uint32
func (*VtiLinkAttrs) GetRemote ¶
func (m *VtiLinkAttrs) GetRemote() []byte
func (*VtiLinkAttrs) ProtoMessage ¶
func (*VtiLinkAttrs) ProtoMessage()
func (*VtiLinkAttrs) Reset ¶
func (m *VtiLinkAttrs) Reset()
func (*VtiLinkAttrs) String ¶
func (m *VtiLinkAttrs) String() string
func (*VtiLinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *VtiLinkAttrs) XXX_DiscardUnknown()
func (*VtiLinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (m *VtiLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VtiLinkAttrs) XXX_Merge ¶ added in v0.3.1
func (m *VtiLinkAttrs) XXX_Merge(src proto.Message)
func (*VtiLinkAttrs) XXX_Size ¶ added in v0.3.1
func (m *VtiLinkAttrs) XXX_Size() int
func (*VtiLinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
func (m *VtiLinkAttrs) XXX_Unmarshal(b []byte) error
type VxlanLinkAttrs ¶
type VxlanLinkAttrs struct { LinkAttrs *LinkAttrs `protobuf:"bytes,1,opt,name=link_attrs,json=linkAttrs,proto3" json:"link_attrs,omitempty"` VxlanId int32 `protobuf:"varint,2,opt,name=vxlan_id,json=vxlanId,proto3" json:"vxlan_id,omitempty"` VtepDevIndex int32 `protobuf:"varint,3,opt,name=vtep_dev_index,json=vtepDevIndex,proto3" json:"vtep_dev_index,omitempty"` SrcAddr []byte `protobuf:"bytes,4,opt,name=src_addr,json=srcAddr,proto3" json:"src_addr,omitempty"` Group []byte `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` Ttl int32 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"` Tos int32 `protobuf:"varint,7,opt,name=tos,proto3" json:"tos,omitempty"` Learning bool `protobuf:"varint,8,opt,name=learning,proto3" json:"learning,omitempty"` Proxy bool `protobuf:"varint,9,opt,name=proxy,proto3" json:"proxy,omitempty"` Rsc bool `protobuf:"varint,10,opt,name=rsc,proto3" json:"rsc,omitempty"` L2Miss bool `protobuf:"varint,11,opt,name=l2miss,proto3" json:"l2miss,omitempty"` L3Miss bool `protobuf:"varint,12,opt,name=l3miss,proto3" json:"l3miss,omitempty"` UdpCSum bool `protobuf:"varint,13,opt,name=udp_c_sum,json=udpCSum,proto3" json:"udp_c_sum,omitempty"` NoAge bool `protobuf:"varint,14,opt,name=no_age,json=noAge,proto3" json:"no_age,omitempty"` Gbp bool `protobuf:"varint,15,opt,name=gbp,proto3" json:"gbp,omitempty"` Age int32 `protobuf:"varint,16,opt,name=age,proto3" json:"age,omitempty"` Limit int32 `protobuf:"varint,17,opt,name=limit,proto3" json:"limit,omitempty"` Port int32 `protobuf:"varint,18,opt,name=port,proto3" json:"port,omitempty"` PortLow int32 `protobuf:"varint,19,opt,name=port_low,json=portLow,proto3" json:"port_low,omitempty"` PortHigh int32 `protobuf:"varint,20,opt,name=port_high,json=portHigh,proto3" json:"port_high,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VxlanLinkAttrs) Descriptor ¶
func (*VxlanLinkAttrs) Descriptor() ([]byte, []int)
func (*VxlanLinkAttrs) GetAge ¶
func (m *VxlanLinkAttrs) GetAge() int32
func (*VxlanLinkAttrs) GetGbp ¶
func (m *VxlanLinkAttrs) GetGbp() bool
func (*VxlanLinkAttrs) GetGroup ¶
func (m *VxlanLinkAttrs) GetGroup() []byte
func (*VxlanLinkAttrs) GetL2Miss ¶
func (m *VxlanLinkAttrs) GetL2Miss() bool
func (*VxlanLinkAttrs) GetL3Miss ¶
func (m *VxlanLinkAttrs) GetL3Miss() bool
func (*VxlanLinkAttrs) GetLearning ¶
func (m *VxlanLinkAttrs) GetLearning() bool
func (*VxlanLinkAttrs) GetLimit ¶
func (m *VxlanLinkAttrs) GetLimit() int32
func (*VxlanLinkAttrs) GetLinkAttrs ¶
func (m *VxlanLinkAttrs) GetLinkAttrs() *LinkAttrs
func (*VxlanLinkAttrs) GetNoAge ¶
func (m *VxlanLinkAttrs) GetNoAge() bool
func (*VxlanLinkAttrs) GetPort ¶
func (m *VxlanLinkAttrs) GetPort() int32
func (*VxlanLinkAttrs) GetPortHigh ¶
func (m *VxlanLinkAttrs) GetPortHigh() int32
func (*VxlanLinkAttrs) GetPortLow ¶
func (m *VxlanLinkAttrs) GetPortLow() int32
func (*VxlanLinkAttrs) GetProxy ¶
func (m *VxlanLinkAttrs) GetProxy() bool
func (*VxlanLinkAttrs) GetRsc ¶
func (m *VxlanLinkAttrs) GetRsc() bool
func (*VxlanLinkAttrs) GetSrcAddr ¶
func (m *VxlanLinkAttrs) GetSrcAddr() []byte
func (*VxlanLinkAttrs) GetTos ¶
func (m *VxlanLinkAttrs) GetTos() int32
func (*VxlanLinkAttrs) GetTtl ¶
func (m *VxlanLinkAttrs) GetTtl() int32
func (*VxlanLinkAttrs) GetUdpCSum ¶
func (m *VxlanLinkAttrs) GetUdpCSum() bool
func (*VxlanLinkAttrs) GetVtepDevIndex ¶
func (m *VxlanLinkAttrs) GetVtepDevIndex() int32
func (*VxlanLinkAttrs) GetVxlanId ¶
func (m *VxlanLinkAttrs) GetVxlanId() int32
func (*VxlanLinkAttrs) ProtoMessage ¶
func (*VxlanLinkAttrs) ProtoMessage()
func (*VxlanLinkAttrs) Reset ¶
func (m *VxlanLinkAttrs) Reset()
func (*VxlanLinkAttrs) String ¶
func (m *VxlanLinkAttrs) String() string
func (*VxlanLinkAttrs) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *VxlanLinkAttrs) XXX_DiscardUnknown()
func (*VxlanLinkAttrs) XXX_Marshal ¶ added in v0.3.1
func (m *VxlanLinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VxlanLinkAttrs) XXX_Merge ¶ added in v0.3.1
func (m *VxlanLinkAttrs) XXX_Merge(src proto.Message)
func (*VxlanLinkAttrs) XXX_Size ¶ added in v0.3.1
func (m *VxlanLinkAttrs) XXX_Size() int
func (*VxlanLinkAttrs) XXX_Unmarshal ¶ added in v0.3.1
func (m *VxlanLinkAttrs) XXX_Unmarshal(b []byte) error