nlaapi

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const NODE_ID_ALL uint8 = 255

Variables

View Source
var BondAdSelect_name = map[int32]string{
	0: "BOND_AD_SELECT_STABLE",
	1: "BOND_AD_SELECT_BANDWIDTH",
	2: "BOND_AD_SELECT_COUNT",
}
View Source
var BondAdSelect_value = map[string]int32{
	"BOND_AD_SELECT_STABLE":    0,
	"BOND_AD_SELECT_BANDWIDTH": 1,
	"BOND_AD_SELECT_COUNT":     2,
}
View Source
var BondArpAllTargets_name = map[int32]string{
	0: "BOND_ARP_ALL_TARGETS_ANY",
	1: "BOND_ARP_ALL_TARGETS_ALL",
}
View Source
var BondArpAllTargets_value = map[string]int32{
	"BOND_ARP_ALL_TARGETS_ANY": 0,
	"BOND_ARP_ALL_TARGETS_ALL": 1,
}
View Source
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",
}
View Source
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,
}
View Source
var BondFailOverMac_name = map[int32]string{
	0: "BOND_FAIL_OVER_MAC_NONE",
	1: "BOND_FAIL_OVER_MAC_ACTIVE",
	2: "BOND_FAIL_OVER_MAC_FOLLOW",
}
View Source
var BondFailOverMac_value = map[string]int32{
	"BOND_FAIL_OVER_MAC_NONE":   0,
	"BOND_FAIL_OVER_MAC_ACTIVE": 1,
	"BOND_FAIL_OVER_MAC_FOLLOW": 2,
}
View Source
var BondLacpRate_name = map[int32]string{
	0: "BOND_LACP_RATE_SLOW",
	1: "BOND_LACP_RATE_FAST",
	2: "BOND_LACP_RATE_UNKNOWN",
}
View Source
var BondLacpRate_value = map[string]int32{
	"BOND_LACP_RATE_SLOW":    0,
	"BOND_LACP_RATE_FAST":    1,
	"BOND_LACP_RATE_UNKNOWN": 2,
}
View Source
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",
}
View Source
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,
}
View Source
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",
}
View Source
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,
}
View Source
var BondPrimaryReselect_name = map[int32]string{
	0: "BOND_PRIMARY_RESELECT_ALWAYS",
	1: "BOND_PRIMARY_RESELECT_BETTER",
	2: "BOND_PRIMARY_RESELECT_FAILURE",
}
View Source
var BondPrimaryReselect_value = map[string]int32{
	"BOND_PRIMARY_RESELECT_ALWAYS":  0,
	"BOND_PRIMARY_RESELECT_BETTER":  1,
	"BOND_PRIMARY_RESELECT_FAILURE": 2,
}
View Source
var BondState_name = map[int32]string{
	0:  "BOND_STATE_ACTIVE",
	1:  "BOND_STATE_BACKUP",
	-1: "BOND_STATE_UNKNOWN",
}
View Source
var BondState_value = map[string]int32{
	"BOND_STATE_ACTIVE":  0,
	"BOND_STATE_BACKUP":  1,
	"BOND_STATE_UNKNOWN": -1,
}
View Source
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",
}
View Source
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,
}
View Source
var BridgeVlanInfo_Flags_name = map[int32]string{
	0:  "NOP",
	1:  "MASTER",
	2:  "PVID",
	4:  "UNTAGGED",
	8:  "RANGE_BEGIN",
	16: "RANGE_END",
}
View Source
var BridgeVlanInfo_Flags_value = map[string]int32{
	"NOP":         0,
	"MASTER":      1,
	"PVID":        2,
	"UNTAGGED":    4,
	"RANGE_BEGIN": 8,
	"RANGE_END":   16,
}
View Source
var BridgeVlanInfo_PortType_name = map[int32]string{
	0: "NONE_PORT",
	1: "ACCESS_PORT",
	2: "TRUNK_PORT",
	3: "MASTER_PORT",
}
View Source
var BridgeVlanInfo_PortType_value = map[string]int32{
	"NONE_PORT":   0,
	"ACCESS_PORT": 1,
	"TRUNK_PORT":  2,
	"MASTER_PORT": 3,
}
View Source
var LinkOperState_name = map[int32]string{
	0: "OperUnknown",
	1: "OperNotPresent",
	2: "OperDown",
	3: "OperLowerLayerDown",
	4: "OperTesting",
	5: "OperDormant",
	6: "OperUp",
}
View Source
var LinkOperState_value = map[string]int32{
	"OperUnknown":        0,
	"OperNotPresent":     1,
	"OperDown":           2,
	"OperLowerLayerDown": 3,
	"OperTesting":        4,
	"OperDormant":        5,
	"OperUp":             6,
}
View Source
var NlMsgSrc_name = map[int32]string{
	0: "NOP",
	1: "KNL",
	2: "API",
}
View Source
var NlMsgSrc_to_native = map[NlMsgSrc]nlamsg.NlMsgSrc{
	NlMsgSrc_NOP: nlamsg.SRC_NOP,
	NlMsgSrc_KNL: nlamsg.SRC_KNL,
	NlMsgSrc_API: nlamsg.SRC_API,
}

NlMsgSrc

View Source
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 BondLinkToNative(ln *Link) netlink.Link

func BridgeLinkToNative

func BridgeLinkToNative(ln *Link) netlink.Link

func BytesToIPNet

func BytesToIPNet(ip []byte, mask []byte) *net.IPNet

func BytesToIPs

func BytesToIPs(bs [][]byte) []net.IP

func DeviceLinkToNative

func DeviceLinkToNative(ln *Link) netlink.Link

func GenericLinkToNative

func GenericLinkToNative(ln *Link) netlink.Link

func IPNetToBytes

func IPNetToBytes(ip *net.IPNet) ([]byte, []byte)

func IPsToBytes

func IPsToBytes(ips []net.IP) [][]byte

func IptunLinkToNative added in v0.3.1

func IptunLinkToNative(ln *Link) netlink.Link

func LinkAttrsFromNative

func LinkAttrsFromNative(a *LinkAttrs, n *netlink.LinkAttrs)

func LinkAttrsToNative

func LinkAttrsToNative(a *LinkAttrs, n *netlink.LinkAttrs)

func Neigh_TunnelToNative added in v0.3.1

func Neigh_TunnelToNative(src isNeigh_Tunnel) nlamsg.NeighTunnel

func NewBondLinkAttrsFromNative

func NewBondLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs

func NewBridgeLinkAttrsFromNative

func NewBridgeLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs

func NewDeviceLinkAttrsFromNative

func NewDeviceLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs

func NewGenericLinkAttrsFromNative

func NewGenericLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs

func NewIptunLinkAttrsFromNative added in v0.3.1

func NewIptunLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs

func NewMPLSLabelFromNatives

func NewMPLSLabelFromNatives(labels []int) []uint32

func NewMPLSLabelToNatives

func NewMPLSLabelToNatives(labels []uint32) []int

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 NewNodeIdFromNative(nid uint8) uint32

func NewSlaveInfoFromNative added in v0.4.0

func NewSlaveInfoFromNative(n netlink.LinkSlaveInfo) isLinkAttrs_SlaveInfo

func NewVethLinkAttrsFromNative

func NewVethLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs

func NewVlanLinkAttrsFromNative

func NewVlanLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs

func NewVtiLinkAttrsFromNative

func NewVtiLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs

func NewVxlanLinkAttrsFromNative

func NewVxlanLinkAttrsFromNative(ln netlink.Link) isLink_LinkAttrs

func NodeIdToNative added in v0.2.0

func NodeIdToNative(nid uint32) uint8

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 VethLinkToNative(ln *Link) netlink.Link

func VlanLinkToNative

func VlanLinkToNative(ln *Link) netlink.Link

func VtiLinkToNative

func VtiLinkToNative(ln *Link) netlink.Link

func VxlanLinkToNative

func VxlanLinkToNative(ln *Link) netlink.Link

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 NewAddrFromNative(n *nlamsg.Addr) *Addr

func (*Addr) Descriptor

func (*Addr) Descriptor() ([]byte, []int)

func (*Addr) GetAdId

func (m *Addr) GetAdId() uint32

func (*Addr) GetBroadcast

func (m *Addr) GetBroadcast() []byte

func (*Addr) GetFamily

func (m *Addr) GetFamily() int32

func (*Addr) GetFlags

func (m *Addr) GetFlags() int32

func (*Addr) GetIPNet

func (a *Addr) GetIPNet() *net.IPNet

Addr

func (*Addr) GetIndex

func (m *Addr) GetIndex() int32

func (*Addr) GetIp

func (m *Addr) GetIp() []byte

func (*Addr) GetIpMask

func (m *Addr) GetIpMask() []byte

func (*Addr) GetLabel

func (m *Addr) GetLabel() string

func (*Addr) GetNId

func (m *Addr) GetNId() uint32

func (*Addr) GetPeer

func (m *Addr) GetPeer() []byte

func (*Addr) GetPeerMask

func (m *Addr) GetPeerMask() []byte

func (*Addr) GetScope

func (m *Addr) GetScope() int32

func (*Addr) NetBroadcast

func (a *Addr) NetBroadcast() net.IP

func (*Addr) NetPeer

func (a *Addr) NetPeer() *net.IPNet

func (*Addr) ProtoMessage

func (*Addr) ProtoMessage()

func (*Addr) Reset

func (m *Addr) Reset()

func (*Addr) String

func (m *Addr) String() string

func (*Addr) ToNative

func (a *Addr) ToNative() *nlamsg.Addr
func (a *Addr) ToNetlink() *netlink.Addr

func (*Addr) XXX_DiscardUnknown added in v0.3.1

func (m *Addr) XXX_DiscardUnknown()

func (*Addr) XXX_Marshal added in v0.3.1

func (m *Addr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Addr) XXX_Merge added in v0.3.1

func (m *Addr) XXX_Merge(src proto.Message)

func (*Addr) XXX_Size added in v0.3.1

func (m *Addr) XXX_Size() int

func (*Addr) XXX_Unmarshal added in v0.3.1

func (m *Addr) XXX_Unmarshal(b []byte) error

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 NewAddrKeyFromNative(n *nladbm.AddrKey) *AddrKey

func (*AddrKey) Descriptor

func (*AddrKey) Descriptor() ([]byte, []int)

func (*AddrKey) GetAddr

func (m *AddrKey) GetAddr() string

func (*AddrKey) GetNId

func (m *AddrKey) GetNId() uint32

func (*AddrKey) ProtoMessage

func (*AddrKey) ProtoMessage()

func (*AddrKey) Reset

func (m *AddrKey) Reset()

func (*AddrKey) String

func (m *AddrKey) String() string

func (*AddrKey) ToNative

func (k *AddrKey) ToNative() *nladbm.AddrKey

Addr (Key)

func (*AddrKey) XXX_DiscardUnknown added in v0.3.1

func (m *AddrKey) XXX_DiscardUnknown()

func (*AddrKey) XXX_Marshal added in v0.3.1

func (m *AddrKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddrKey) XXX_Merge added in v0.3.1

func (m *AddrKey) XXX_Merge(src proto.Message)

func (*AddrKey) XXX_Size added in v0.3.1

func (m *AddrKey) XXX_Size() int

func (*AddrKey) XXX_Unmarshal added in v0.3.1

func (m *AddrKey) XXX_Unmarshal(b []byte) error

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 (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

func (BondMode) EnumDescriptor() ([]byte, []int)

func (BondMode) String

func (x BondMode) String() string

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
const (
	BondState_BOND_STATE_ACTIVE  BondState = 0
	BondState_BOND_STATE_BACKUP  BondState = 1
	BondState_BOND_STATE_UNKNOWN BondState = -1
)

func (BondState) EnumDescriptor added in v0.4.0

func (BondState) EnumDescriptor() ([]byte, []int)

func (BondState) String added in v0.4.0

func (x BondState) String() string

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 (*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

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) ToNative

func (d *Destination) ToNative() netlink.Destination

Destination

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 NewEncapFromNative(n netlink.Encap) *Encap

func (*Encap) Descriptor

func (*Encap) Descriptor() ([]byte, []int)

func (*Encap) GetEncap

func (m *Encap) GetEncap() isEncap_Encap

func (*Encap) GetMpls

func (m *Encap) GetMpls() *MPLSEncap

func (*Encap) GetType

func (m *Encap) GetType() uint32

func (*Encap) ProtoMessage

func (*Encap) ProtoMessage()

func (*Encap) Reset

func (m *Encap) Reset()

func (*Encap) String

func (m *Encap) String() string

func (*Encap) ToNative

func (e *Encap) ToNative() netlink.Encap

Encap

func (*Encap) XXX_DiscardUnknown added in v0.3.1

func (m *Encap) XXX_DiscardUnknown()

func (*Encap) XXX_Marshal added in v0.3.1

func (m *Encap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Encap) XXX_Merge added in v0.3.1

func (m *Encap) XXX_Merge(src proto.Message)

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_Size added in v0.3.1

func (m *Encap) XXX_Size() int

func (*Encap) XXX_Unmarshal added in v0.3.1

func (m *Encap) XXX_Unmarshal(b []byte) error

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 NewEncapInfo

func NewEncapInfo(dst *net.IPNet, vrf uint32) *EncapInfo

func NewEncapInfoFromNative

func NewEncapInfoFromNative(e *nlamsg.EncapInfo) *EncapInfo

func (*EncapInfo) Descriptor

func (*EncapInfo) Descriptor() ([]byte, []int)

func (*EncapInfo) GetEnId

func (m *EncapInfo) GetEnId() uint32

func (*EncapInfo) GetIp

func (m *EncapInfo) GetIp() []byte

func (*EncapInfo) GetMask

func (m *EncapInfo) GetMask() []byte

func (*EncapInfo) GetVrf

func (m *EncapInfo) GetVrf() uint32

func (*EncapInfo) NetDst

func (e *EncapInfo) NetDst() *net.IPNet

func (*EncapInfo) ProtoMessage

func (*EncapInfo) ProtoMessage()

func (*EncapInfo) Reset

func (m *EncapInfo) Reset()

func (*EncapInfo) String

func (m *EncapInfo) String() string

func (*EncapInfo) ToNative

func (e *EncapInfo) ToNative() *nlamsg.EncapInfo

func (*EncapInfo) XXX_DiscardUnknown added in v0.3.1

func (m *EncapInfo) XXX_DiscardUnknown()

func (*EncapInfo) XXX_Marshal added in v0.3.1

func (m *EncapInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncapInfo) XXX_Merge added in v0.3.1

func (m *EncapInfo) XXX_Merge(src proto.Message)

func (*EncapInfo) XXX_Size added in v0.3.1

func (m *EncapInfo) XXX_Size() int

func (*EncapInfo) XXX_Unmarshal added in v0.3.1

func (m *EncapInfo) XXX_Unmarshal(b []byte) error

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 NewGetAddrsRequest added in v0.2.0

func NewGetAddrsRequest(nid uint8) *GetAddrsRequest

Addrs

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 NewGetLinksRequest added in v0.2.0

func NewGetLinksRequest(nid uint8) *GetLinksRequest

Links

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 NewGetMplssRequest added in v0.2.0

func NewGetMplssRequest(nid uint8) *GetMplssRequest

Mplss

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 NewIptun added in v0.3.1

func NewIptun(nid uint8, mac net.HardwareAddr, link *nlamsg.Link) *Iptun

Iptun

func NewIptunFromNative added in v0.3.1

func NewIptunFromNative(v *nlamsg.Iptun) *Iptun

func (*Iptun) Descriptor added in v0.3.1

func (*Iptun) Descriptor() ([]byte, []int)
func (m *Iptun) GetLink() *Link

func (*Iptun) GetLocalIP added in v0.3.1

func (v *Iptun) GetLocalIP() net.IP

func (*Iptun) GetLocalMACAddr added in v0.3.1

func (v *Iptun) GetLocalMACAddr() net.HardwareAddr

func (*Iptun) GetLocalMac added in v0.3.1

func (m *Iptun) GetLocalMac() []byte

func (*Iptun) GetNId added in v0.3.1

func (m *Iptun) GetNId() uint32

func (*Iptun) GetRemoteIP added in v0.3.1

func (v *Iptun) GetRemoteIP() net.IP

func (*Iptun) GetTnlId added in v0.3.1

func (m *Iptun) GetTnlId() uint32

func (*Iptun) ProtoMessage added in v0.3.1

func (*Iptun) ProtoMessage()

func (*Iptun) Reset added in v0.3.1

func (m *Iptun) Reset()

func (*Iptun) String added in v0.3.1

func (m *Iptun) String() string

func (*Iptun) ToNative added in v0.3.1

func (v *Iptun) ToNative() *nlamsg.Iptun

func (*Iptun) XXX_DiscardUnknown added in v0.3.1

func (m *Iptun) XXX_DiscardUnknown()

func (*Iptun) XXX_Marshal added in v0.3.1

func (m *Iptun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Iptun) XXX_Merge added in v0.3.1

func (m *Iptun) XXX_Merge(src proto.Message)

func (*Iptun) XXX_Size added in v0.3.1

func (m *Iptun) XXX_Size() int

func (*Iptun) XXX_Unmarshal added in v0.3.1

func (m *Iptun) XXX_Unmarshal(b []byte) error

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 NewIptunKeyFromNative(n *nladbm.IptunKey) *IptunKey

func (*IptunKey) Descriptor added in v0.3.1

func (*IptunKey) Descriptor() ([]byte, []int)

func (*IptunKey) GetNId added in v0.3.1

func (m *IptunKey) GetNId() uint32

func (*IptunKey) GetRemote added in v0.3.1

func (m *IptunKey) GetRemote() []byte

func (*IptunKey) GetRemoteIP added in v0.3.1

func (k *IptunKey) GetRemoteIP() net.IP

func (*IptunKey) ProtoMessage added in v0.3.1

func (*IptunKey) ProtoMessage()

func (*IptunKey) Reset added in v0.3.1

func (m *IptunKey) Reset()

func (*IptunKey) String added in v0.3.1

func (m *IptunKey) String() string

func (*IptunKey) ToNative added in v0.3.1

func (k *IptunKey) ToNative() *nladbm.IptunKey

Iptun (Key)

func (*IptunKey) XXX_DiscardUnknown added in v0.3.1

func (m *IptunKey) XXX_DiscardUnknown()

func (*IptunKey) XXX_Marshal added in v0.3.1

func (m *IptunKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IptunKey) XXX_Merge added in v0.3.1

func (m *IptunKey) XXX_Merge(src proto.Message)

func (*IptunKey) XXX_Size added in v0.3.1

func (m *IptunKey) XXX_Size() int

func (*IptunKey) XXX_Unmarshal added in v0.3.1

func (m *IptunKey) XXX_Unmarshal(b []byte) error

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 (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 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 NewBondLink(nid uint8, lnId uint16) *Link

Link (Bond)

func NewBridgeLink(nid uint8, lnId uint16) *Link

Link (Bridge)

func NewDeviceLink(nid uint8, lnId uint16) *Link

Link (Device)

func NewGenericLink(nid uint8, lnId uint16) *Link

Link (Generic)

func NewIptunLink(nid uint8, lnId uint8, typ string) *Link

Link (Iptun)

func NewLinkFromNative

func NewLinkFromNative(ln *nlamsg.Link) *Link
func NewVethLink(nid uint8, lnId uint16, peerName string) *Link

Link (Veth)

func NewVlanLink(nid uint8, lnId uint16, vlanId uint16) *Link

Link (VLAN)

func NewVtiLink(nid uint8, lnId uint16) *Link

Link (Vti)

func NewVxlanLink(nid uint8, lnId uint16) *Link

Link (VxLAN)

func (*Link) Descriptor

func (*Link) Descriptor() ([]byte, []int)

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) GetLnId

func (m *Link) GetLnId() uint32

func (*Link) GetNId

func (m *Link) GetNId() uint32

func (*Link) GetType

func (m *Link) GetType() string

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) Reset

func (m *Link) Reset()

func (*Link) String

func (m *Link) String() string

func (*Link) ToNative

func (ln *Link) ToNative() *nlamsg.Link
func (ln *Link) ToNetlink() netlink.Link

func (*Link) XXX_DiscardUnknown added in v0.3.1

func (m *Link) XXX_DiscardUnknown()

func (*Link) XXX_Marshal added in v0.3.1

func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Link) XXX_Merge added in v0.3.1

func (m *Link) XXX_Merge(src proto.Message)

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_Size added in v0.3.1

func (m *Link) XXX_Size() int

func (*Link) XXX_Unmarshal added in v0.3.1

func (m *Link) XXX_Unmarshal(b []byte) error

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 NewLinkAttrs

func NewLinkAttrs() *LinkAttrs

LinkAttrs

func (*LinkAttrs) Descriptor

func (*LinkAttrs) Descriptor() ([]byte, []int)

func (*LinkAttrs) GetAlias

func (m *LinkAttrs) GetAlias() string

func (*LinkAttrs) GetBondSlaveInfo added in v0.4.0

func (m *LinkAttrs) GetBondSlaveInfo() *BondSlaveInfo

func (*LinkAttrs) GetEncapType

func (m *LinkAttrs) GetEncapType() string

func (*LinkAttrs) GetFlags

func (m *LinkAttrs) GetFlags() uint32

func (*LinkAttrs) GetHardwareAddr

func (m *LinkAttrs) GetHardwareAddr() []byte

func (*LinkAttrs) GetIndex

func (m *LinkAttrs) GetIndex() int32

func (*LinkAttrs) GetMasterIndex

func (m *LinkAttrs) GetMasterIndex() int32

func (*LinkAttrs) GetMtu

func (m *LinkAttrs) GetMtu() int32

func (*LinkAttrs) GetName

func (m *LinkAttrs) GetName() string

func (*LinkAttrs) GetOperState

func (m *LinkAttrs) GetOperState() LinkOperState

func (*LinkAttrs) GetParentIndex

func (m *LinkAttrs) GetParentIndex() int32

func (*LinkAttrs) GetPromisc

func (m *LinkAttrs) GetPromisc() int32

func (*LinkAttrs) GetRawFlags

func (m *LinkAttrs) GetRawFlags() uint32

func (*LinkAttrs) GetSlaveInfo added in v0.4.0

func (m *LinkAttrs) GetSlaveInfo() isLinkAttrs_SlaveInfo

func (*LinkAttrs) GetTxQLen

func (m *LinkAttrs) GetTxQLen() int32

func (*LinkAttrs) NetHardwareAddr

func (a *LinkAttrs) NetHardwareAddr() net.HardwareAddr

func (*LinkAttrs) ProtoMessage

func (*LinkAttrs) ProtoMessage()

func (*LinkAttrs) Reset

func (m *LinkAttrs) Reset()

func (*LinkAttrs) String

func (m *LinkAttrs) String() string

func (*LinkAttrs) XXX_DiscardUnknown added in v0.3.1

func (m *LinkAttrs) XXX_DiscardUnknown()

func (*LinkAttrs) XXX_Marshal added in v0.3.1

func (m *LinkAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkAttrs) XXX_Merge added in v0.3.1

func (m *LinkAttrs) XXX_Merge(src proto.Message)

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_Size added in v0.3.1

func (m *LinkAttrs) XXX_Size() int

func (*LinkAttrs) XXX_Unmarshal added in v0.3.1

func (m *LinkAttrs) XXX_Unmarshal(b []byte) error

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 NewLinkKeyFromNative(n *nladbm.LinkKey) *LinkKey

func (*LinkKey) Descriptor

func (*LinkKey) Descriptor() ([]byte, []int)

func (*LinkKey) GetIndex

func (m *LinkKey) GetIndex() int32

func (*LinkKey) GetNId

func (m *LinkKey) GetNId() uint32

func (*LinkKey) ProtoMessage

func (*LinkKey) ProtoMessage()

func (*LinkKey) Reset

func (m *LinkKey) Reset()

func (*LinkKey) String

func (m *LinkKey) String() string

func (*LinkKey) ToNative

func (k *LinkKey) ToNative() *nladbm.LinkKey

Link (Key)

func (*LinkKey) XXX_DiscardUnknown added in v0.3.1

func (m *LinkKey) XXX_DiscardUnknown()

func (*LinkKey) XXX_Marshal added in v0.3.1

func (m *LinkKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkKey) XXX_Merge added in v0.3.1

func (m *LinkKey) XXX_Merge(src proto.Message)

func (*LinkKey) XXX_Size added in v0.3.1

func (m *LinkKey) XXX_Size() int

func (*LinkKey) XXX_Unmarshal added in v0.3.1

func (m *LinkKey) XXX_Unmarshal(b []byte) error

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 ParseLinkOperState

func ParseLinkOperState(s string) LinkOperState

LinkOperState

func (LinkOperState) EnumDescriptor

func (LinkOperState) EnumDescriptor() ([]byte, []int)

func (LinkOperState) String

func (x LinkOperState) String() string
type Link_Bond struct {
	Bond *BondLinkAttrs `protobuf:"bytes,10,opt,name=bond,proto3,oneof"`
}

func NewBondLinkAttrs

func NewBondLinkAttrs() *Link_Bond
type Link_Bridge struct {
	Bridge *BridgeLinkAttrs `protobuf:"bytes,5,opt,name=bridge,proto3,oneof"`
}

func NewBridgeLinkAttrs

func NewBridgeLinkAttrs() *Link_Bridge
type Link_Device struct {
	Device *DeviceLinkAttrs `protobuf:"bytes,4,opt,name=device,proto3,oneof"`
}

func NewDeviceLinkAttrs

func NewDeviceLinkAttrs() *Link_Device
type Link_Generic struct {
	Generic *GenericLinkAttrs `protobuf:"bytes,11,opt,name=generic,proto3,oneof"`
}

func NewGenericLinkAttrs

func NewGenericLinkAttrs() *Link_Generic
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 struct {
	Veth *VethLinkAttrs `protobuf:"bytes,9,opt,name=veth,proto3,oneof"`
}

func NewVethLinkAttrs

func NewVethLinkAttrs(peerName string) *Link_Veth
type Link_Vlan struct {
	Vlan *VlanLinkAttrs `protobuf:"bytes,6,opt,name=vlan,proto3,oneof"`
}

func NewVlanLinkAttrs

func NewVlanLinkAttrs(vlanId uint16) *Link_Vlan
type Link_Vti struct {
	Vti *VtiLinkAttrs `protobuf:"bytes,8,opt,name=vti,proto3,oneof"`
}

func NewVtiLinkAttrs

func NewVtiLinkAttrs() *Link_Vti
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 NewMPLSEncapFromNatives(n *netlink.MPLSEncap) *MPLSEncap

func (*MPLSEncap) Descriptor

func (*MPLSEncap) Descriptor() ([]byte, []int)

func (*MPLSEncap) GetLabels

func (m *MPLSEncap) GetLabels() []uint32

func (*MPLSEncap) ProtoMessage

func (*MPLSEncap) ProtoMessage()

func (*MPLSEncap) Reset

func (m *MPLSEncap) Reset()

func (*MPLSEncap) String

func (m *MPLSEncap) String() string

func (*MPLSEncap) ToNative

func (e *MPLSEncap) ToNative() *netlink.MPLSEncap

MPLSEncap

func (*MPLSEncap) XXX_DiscardUnknown added in v0.3.1

func (m *MPLSEncap) XXX_DiscardUnknown()

func (*MPLSEncap) XXX_Marshal added in v0.3.1

func (m *MPLSEncap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MPLSEncap) XXX_Merge added in v0.3.1

func (m *MPLSEncap) XXX_Merge(src proto.Message)

func (*MPLSEncap) XXX_Size added in v0.3.1

func (m *MPLSEncap) XXX_Size() int

func (*MPLSEncap) XXX_Unmarshal added in v0.3.1

func (m *MPLSEncap) XXX_Unmarshal(b []byte) error

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 NewMplsKeyFromNative(n *nladbm.MplsKey) *MplsKey

func (*MplsKey) Descriptor

func (*MplsKey) Descriptor() ([]byte, []int)

func (*MplsKey) GetLLabel

func (m *MplsKey) GetLLabel() uint32

func (*MplsKey) GetNId

func (m *MplsKey) GetNId() uint32

func (*MplsKey) ProtoMessage

func (*MplsKey) ProtoMessage()

func (*MplsKey) Reset

func (m *MplsKey) Reset()

func (*MplsKey) String

func (m *MplsKey) String() string

func (*MplsKey) ToNative

func (k *MplsKey) ToNative() *nladbm.MplsKey

func (*MplsKey) XXX_DiscardUnknown added in v0.3.1

func (m *MplsKey) XXX_DiscardUnknown()

func (*MplsKey) XXX_Marshal added in v0.3.1

func (m *MplsKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MplsKey) XXX_Merge added in v0.3.1

func (m *MplsKey) XXX_Merge(src proto.Message)

func (*MplsKey) XXX_Size added in v0.3.1

func (m *MplsKey) XXX_Size() int

func (*MplsKey) XXX_Unmarshal added in v0.3.1

func (m *MplsKey) XXX_Unmarshal(b []byte) error

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

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 NewNeighFromNative(n *nlamsg.Neigh) *Neigh

func (*Neigh) Descriptor

func (*Neigh) Descriptor() ([]byte, []int)

func (*Neigh) GetFamily

func (m *Neigh) GetFamily() int32

func (*Neigh) GetFlags

func (m *Neigh) GetFlags() int32

func (*Neigh) GetHardwareAddr

func (m *Neigh) GetHardwareAddr() []byte

func (*Neigh) GetIP

func (n *Neigh) GetIP() net.IP

func (*Neigh) GetIp

func (m *Neigh) GetIp() []byte

func (*Neigh) GetIptun added in v0.3.1

func (m *Neigh) GetIptun() *NeighIptun

func (*Neigh) GetLLIPAddr added in v0.2.0

func (n *Neigh) GetLLIPAddr() net.IP

func (*Neigh) GetLinkIndex

func (m *Neigh) GetLinkIndex() int32

func (*Neigh) GetLlIpAddr added in v0.2.0

func (m *Neigh) GetLlIpAddr() []byte

func (*Neigh) GetNId

func (m *Neigh) GetNId() uint32

func (*Neigh) GetNeId

func (m *Neigh) GetNeId() uint32

func (*Neigh) GetNotun added in v0.3.1

func (m *Neigh) GetNotun() *NeighNotun
func (m *Neigh) GetPhyLink() int32

func (*Neigh) GetState

func (m *Neigh) GetState() int32

func (*Neigh) GetTunnel added in v0.3.1

func (m *Neigh) GetTunnel() isNeigh_Tunnel

func (*Neigh) GetType

func (m *Neigh) GetType() int32

func (*Neigh) GetVlanId added in v0.2.0

func (m *Neigh) GetVlanId() int32

func (*Neigh) GetVni added in v0.2.0

func (m *Neigh) GetVni() int32

func (*Neigh) NetHardwareAddr

func (n *Neigh) NetHardwareAddr() net.HardwareAddr

func (*Neigh) ProtoMessage

func (*Neigh) ProtoMessage()

func (*Neigh) Reset

func (m *Neigh) Reset()

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) String

func (m *Neigh) String() string

func (*Neigh) ToNative

func (n *Neigh) ToNative() *nlamsg.Neigh
func (n *Neigh) ToNetlink() *netlink.Neigh

func (*Neigh) XXX_DiscardUnknown added in v0.3.1

func (m *Neigh) XXX_DiscardUnknown()

func (*Neigh) XXX_Marshal added in v0.3.1

func (m *Neigh) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Neigh) XXX_Merge added in v0.3.1

func (m *Neigh) XXX_Merge(src proto.Message)

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_Size added in v0.3.1

func (m *Neigh) XXX_Size() int

func (*Neigh) XXX_Unmarshal added in v0.3.1

func (m *Neigh) XXX_Unmarshal(b []byte) error

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 (n *NeighIptun) GetSrcIP() net.IP

NeighIptun

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 NewNeighKeyFromNative(n *nladbm.NeighKey) *NeighKey

func (*NeighKey) Descriptor

func (*NeighKey) Descriptor() ([]byte, []int)

func (*NeighKey) GetAddr

func (m *NeighKey) GetAddr() string

func (*NeighKey) GetIfindex added in v0.2.0

func (m *NeighKey) GetIfindex() int32

func (*NeighKey) GetNId

func (m *NeighKey) GetNId() uint32

func (*NeighKey) GetVlanId added in v0.2.0

func (m *NeighKey) GetVlanId() int32

func (*NeighKey) ProtoMessage

func (*NeighKey) ProtoMessage()

func (*NeighKey) Reset

func (m *NeighKey) Reset()

func (*NeighKey) String

func (m *NeighKey) String() string

func (*NeighKey) ToNative

func (k *NeighKey) ToNative() *nladbm.NeighKey

func (*NeighKey) XXX_DiscardUnknown added in v0.3.1

func (m *NeighKey) XXX_DiscardUnknown()

func (*NeighKey) XXX_Marshal added in v0.3.1

func (m *NeighKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NeighKey) XXX_Merge added in v0.3.1

func (m *NeighKey) XXX_Merge(src proto.Message)

func (*NeighKey) XXX_Size added in v0.3.1

func (m *NeighKey) XXX_Size() int

func (*NeighKey) XXX_Unmarshal added in v0.3.1

func (m *NeighKey) XXX_Unmarshal(b []byte) error

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) Type

func (n *NetlinkMessage) Type() uint16

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 (*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) NetGw

func (n *NexthopInfo) NetGw() net.IP

NexthopInfo

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

const (
	NlMsgSrc_NOP NlMsgSrc = 0
	NlMsgSrc_KNL NlMsgSrc = 1
	NlMsgSrc_API NlMsgSrc = 2
)

func NewNlMsgSrcFromNative

func NewNlMsgSrcFromNative(n nlamsg.NlMsgSrc) NlMsgSrc

func (NlMsgSrc) EnumDescriptor

func (NlMsgSrc) EnumDescriptor() ([]byte, []int)

func (NlMsgSrc) String

func (x NlMsgSrc) String() string

func (NlMsgSrc) ToNative

func (n NlMsgSrc) ToNative() nlamsg.NlMsgSrc

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 NewNlMsgUni(n interface{}, g uint16) *NlMsgUni

func NewNlMsgUniFromNative

func NewNlMsgUniFromNative(n interface{}, g uint16) *NlMsgUni

func (*NlMsgUni) Descriptor

func (*NlMsgUni) Descriptor() ([]byte, []int)

func (*NlMsgUni) GetAddr

func (m *NlMsgUni) GetAddr() *Addr

func (*NlMsgUni) GetBrVlanInfo added in v0.4.0

func (m *NlMsgUni) GetBrVlanInfo() *BridgeVlanInfo
func (m *NlMsgUni) GetLink() *Link

func (*NlMsgUni) GetMsg

func (m *NlMsgUni) GetMsg() isNlMsgUni_Msg

func (*NlMsgUni) GetNeigh

func (m *NlMsgUni) GetNeigh() *Neigh

func (*NlMsgUni) GetNode

func (m *NlMsgUni) GetNode() *Node

func (*NlMsgUni) GetRoute

func (m *NlMsgUni) GetRoute() *Route

func (*NlMsgUni) GetVpn

func (m *NlMsgUni) GetVpn() *Vpn

func (*NlMsgUni) ProtoMessage

func (*NlMsgUni) ProtoMessage()

func (*NlMsgUni) Reset

func (m *NlMsgUni) Reset()

func (*NlMsgUni) String

func (m *NlMsgUni) String() string

func (*NlMsgUni) ToNative

func (n *NlMsgUni) ToNative(g uint16) interface{}

NetlinkMessageUnion

func (*NlMsgUni) XXX_DiscardUnknown added in v0.3.1

func (m *NlMsgUni) XXX_DiscardUnknown()

func (*NlMsgUni) XXX_Marshal added in v0.3.1

func (m *NlMsgUni) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NlMsgUni) XXX_Merge added in v0.3.1

func (m *NlMsgUni) XXX_Merge(src proto.Message)

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_Size added in v0.3.1

func (m *NlMsgUni) XXX_Size() int

func (*NlMsgUni) XXX_Unmarshal added in v0.3.1

func (m *NlMsgUni) XXX_Unmarshal(b []byte) error

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 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 NewNlMsghdrFromNative(h *syscall.NlMsghdr) *NlMsghdr

func (*NlMsghdr) Descriptor

func (*NlMsghdr) Descriptor() ([]byte, []int)

func (*NlMsghdr) GetFlags

func (m *NlMsghdr) GetFlags() uint32

func (*NlMsghdr) GetLen

func (m *NlMsghdr) GetLen() uint32

func (*NlMsghdr) GetPid

func (m *NlMsghdr) GetPid() uint32

func (*NlMsghdr) GetSeq

func (m *NlMsghdr) GetSeq() uint32

func (*NlMsghdr) GetType

func (m *NlMsghdr) GetType() uint32

func (*NlMsghdr) ProtoMessage

func (*NlMsghdr) ProtoMessage()

func (*NlMsghdr) Reset

func (m *NlMsghdr) Reset()

func (*NlMsghdr) String

func (m *NlMsghdr) String() string

func (*NlMsghdr) ToNative

func (h *NlMsghdr) ToNative() *syscall.NlMsghdr

NlMsghdr

func (*NlMsghdr) XXX_DiscardUnknown added in v0.3.1

func (m *NlMsghdr) XXX_DiscardUnknown()

func (*NlMsghdr) XXX_Marshal added in v0.3.1

func (m *NlMsghdr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NlMsghdr) XXX_Merge added in v0.3.1

func (m *NlMsghdr) XXX_Merge(src proto.Message)

func (*NlMsghdr) XXX_Size added in v0.3.1

func (m *NlMsghdr) XXX_Size() int

func (*NlMsghdr) XXX_Unmarshal added in v0.3.1

func (m *NlMsghdr) XXX_Unmarshal(b []byte) error

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 NewNodeFromNative(n *nlamsg.Node) *Node

func (*Node) Descriptor

func (*Node) Descriptor() ([]byte, []int)

func (*Node) GetIP

func (n *Node) GetIP() net.IP

func (*Node) GetIp

func (m *Node) GetIp() []byte

func (*Node) GetNId

func (m *Node) GetNId() uint32

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) ToNative

func (n *Node) ToNative() *nlamsg.Node
func (n *Node) ToNetlink() *nlalink.Node

func (*Node) XXX_DiscardUnknown added in v0.3.1

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal added in v0.3.1

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge added in v0.3.1

func (m *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size added in v0.3.1

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal added in v0.3.1

func (m *Node) XXX_Unmarshal(b []byte) error

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 NewNodeKeyFromNative(n *nladbm.NodeKey) *NodeKey

func (*NodeKey) Descriptor

func (*NodeKey) Descriptor() ([]byte, []int)

func (*NodeKey) GetNId

func (m *NodeKey) GetNId() uint32

func (*NodeKey) ProtoMessage

func (*NodeKey) ProtoMessage()

func (*NodeKey) Reset

func (m *NodeKey) Reset()

func (*NodeKey) String

func (m *NodeKey) String() string

func (*NodeKey) ToNative

func (k *NodeKey) ToNative() *nladbm.NodeKey

Node (Key)

func (*NodeKey) XXX_DiscardUnknown added in v0.3.1

func (m *NodeKey) XXX_DiscardUnknown()

func (*NodeKey) XXX_Marshal added in v0.3.1

func (m *NodeKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeKey) XXX_Merge added in v0.3.1

func (m *NodeKey) XXX_Merge(src proto.Message)

func (*NodeKey) XXX_Size added in v0.3.1

func (m *NodeKey) XXX_Size() int

func (*NodeKey) XXX_Unmarshal added in v0.3.1

func (m *NodeKey) XXX_Unmarshal(b []byte) error

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 NewRouteFromNative(r *nlamsg.Route) *Route

func (*Route) Descriptor

func (*Route) Descriptor() ([]byte, []int)

func (*Route) GetDst

func (m *Route) GetDst() []byte

func (*Route) GetDstMask

func (m *Route) GetDstMask() []byte

func (*Route) GetEnIds

func (m *Route) GetEnIds() []uint32

func (*Route) GetEncap

func (m *Route) GetEncap() *Encap

func (*Route) GetFlags

func (m *Route) GetFlags() int32

func (*Route) GetGw

func (m *Route) GetGw() []byte

func (*Route) GetILinkIndex

func (m *Route) GetILinkIndex() int32

func (*Route) GetLinkIndex

func (m *Route) GetLinkIndex() int32

func (*Route) GetMplsDst

func (m *Route) GetMplsDst() int32

func (*Route) GetMultiPath

func (m *Route) GetMultiPath() []*NexthopInfo

func (*Route) GetNId

func (m *Route) GetNId() uint32

func (*Route) GetNewDst

func (m *Route) GetNewDst() *Destination

func (*Route) GetPriority

func (m *Route) GetPriority() int32

func (*Route) GetProtocol

func (m *Route) GetProtocol() int32

func (*Route) GetRtId

func (m *Route) GetRtId() uint32

func (*Route) GetScope

func (m *Route) GetScope() int32

func (*Route) GetSrc

func (m *Route) GetSrc() []byte

func (*Route) GetTable

func (m *Route) GetTable() int32

func (*Route) GetTos

func (m *Route) GetTos() int32

func (*Route) GetType

func (m *Route) GetType() int32

func (*Route) GetVpnGw

func (m *Route) GetVpnGw() []byte

func (*Route) NetDst

func (r *Route) NetDst() *net.IPNet

func (*Route) NetGw

func (r *Route) NetGw() net.IP

func (*Route) NetScope

func (r *Route) NetScope() netlink.Scope

Route

func (*Route) NetSrc

func (r *Route) NetSrc() net.IP

func (*Route) NetVpnGw

func (r *Route) NetVpnGw() net.IP

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) Reset

func (m *Route) Reset()

func (*Route) String

func (m *Route) String() string

func (*Route) ToNative

func (r *Route) ToNative() *nlamsg.Route
func (r *Route) ToNetlink() *netlink.Route

func (*Route) XXX_DiscardUnknown added in v0.3.1

func (m *Route) XXX_DiscardUnknown()

func (*Route) XXX_Marshal added in v0.3.1

func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Route) XXX_Merge added in v0.3.1

func (m *Route) XXX_Merge(src proto.Message)

func (*Route) XXX_Size added in v0.3.1

func (m *Route) XXX_Size() int

func (*Route) XXX_Unmarshal added in v0.3.1

func (m *Route) XXX_Unmarshal(b []byte) error

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 NewRouteKeyFromNative(n *nladbm.RouteKey) *RouteKey

func (*RouteKey) Descriptor

func (*RouteKey) Descriptor() ([]byte, []int)

func (*RouteKey) GetAddr

func (m *RouteKey) GetAddr() string

func (*RouteKey) GetNId

func (m *RouteKey) GetNId() uint32

func (*RouteKey) ProtoMessage

func (*RouteKey) ProtoMessage()

func (*RouteKey) Reset

func (m *RouteKey) Reset()

func (*RouteKey) String

func (m *RouteKey) String() string

func (*RouteKey) ToNative

func (k *RouteKey) ToNative() *nladbm.RouteKey

Route (Key)

func (*RouteKey) XXX_DiscardUnknown added in v0.3.1

func (m *RouteKey) XXX_DiscardUnknown()

func (*RouteKey) XXX_Marshal added in v0.3.1

func (m *RouteKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteKey) XXX_Merge added in v0.3.1

func (m *RouteKey) XXX_Merge(src proto.Message)

func (*RouteKey) XXX_Size added in v0.3.1

func (m *RouteKey) XXX_Size() int

func (*RouteKey) XXX_Unmarshal added in v0.3.1

func (m *RouteKey) XXX_Unmarshal(b []byte) error

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 NewDbStatFromNative

func NewDbStatFromNative(n nladbm.Stat) *Stat

Stat (DB)

func (*Stat) Descriptor

func (*Stat) Descriptor() ([]byte, []int)

func (*Stat) GetKey

func (m *Stat) GetKey() string

func (*Stat) GetVal

func (m *Stat) GetVal() uint64

func (*Stat) ProtoMessage

func (*Stat) ProtoMessage()

func (*Stat) Reset

func (m *Stat) Reset()

func (*Stat) String

func (m *Stat) String() string

func (*Stat) XXX_DiscardUnknown added in v0.3.1

func (m *Stat) XXX_DiscardUnknown()

func (*Stat) XXX_Marshal added in v0.3.1

func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Stat) XXX_Merge added in v0.3.1

func (m *Stat) XXX_Merge(src proto.Message)

func (*Stat) XXX_Size added in v0.3.1

func (m *Stat) XXX_Size() int

func (*Stat) XXX_Unmarshal added in v0.3.1

func (m *Stat) XXX_Unmarshal(b []byte) error

type UnimplementedNLAApiServer added in v0.4.0

type UnimplementedNLAApiServer struct {
}

UnimplementedNLAApiServer can be embedded to have forward compatible implementations.

func (*UnimplementedNLAApiServer) GetAddr added in v0.4.0

func (*UnimplementedNLAApiServer) GetAddr(ctx context.Context, req *AddrKey) (*Addr, error)

func (*UnimplementedNLAApiServer) GetAddrs added in v0.4.0

func (*UnimplementedNLAApiServer) GetBridgeVlanInfo added in v0.4.0

func (*UnimplementedNLAApiServer) GetBridgeVlanInfos added in v0.4.0

func (*UnimplementedNLAApiServer) GetEncapInfo added in v0.4.0

func (*UnimplementedNLAApiServer) GetEncapInfos added in v0.4.0

func (*UnimplementedNLAApiServer) GetIptun added in v0.4.0

func (*UnimplementedNLAApiServer) GetIptun(ctx context.Context, req *IptunKey) (*Iptun, error)

func (*UnimplementedNLAApiServer) GetIptuns added in v0.4.0

func (*UnimplementedNLAApiServer) GetLink(ctx context.Context, req *LinkKey) (*Link, error)

func (*UnimplementedNLAApiServer) GetMpls added in v0.4.0

func (*UnimplementedNLAApiServer) GetMpls(ctx context.Context, req *MplsKey) (*Route, error)

func (*UnimplementedNLAApiServer) GetMplss added in v0.4.0

func (*UnimplementedNLAApiServer) GetNeigh added in v0.4.0

func (*UnimplementedNLAApiServer) GetNeigh(ctx context.Context, req *NeighKey) (*Neigh, error)

func (*UnimplementedNLAApiServer) GetNeighs added in v0.4.0

func (*UnimplementedNLAApiServer) GetNode added in v0.4.0

func (*UnimplementedNLAApiServer) GetNode(ctx context.Context, req *NodeKey) (*Node, error)

func (*UnimplementedNLAApiServer) GetNodes added in v0.4.0

func (*UnimplementedNLAApiServer) GetRoute added in v0.4.0

func (*UnimplementedNLAApiServer) GetRoute(ctx context.Context, req *RouteKey) (*Route, error)

func (*UnimplementedNLAApiServer) GetRoutes added in v0.4.0

func (*UnimplementedNLAApiServer) GetStats added in v0.4.0

func (*UnimplementedNLAApiServer) GetVpn added in v0.4.0

func (*UnimplementedNLAApiServer) GetVpn(ctx context.Context, req *VpnKey) (*Vpn, error)

func (*UnimplementedNLAApiServer) GetVpns added in v0.4.0

func (*UnimplementedNLAApiServer) ModVpn added in v0.4.0

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) SendNetlinkMessage added in v0.4.0

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 NewVpn

func NewVpn(nid uint8, dst *net.IPNet, gw net.IP, label uint32, vpnGw net.IP) *Vpn

func NewVpnFromNative

func NewVpnFromNative(v *nlamsg.Vpn) *Vpn

func (*Vpn) Descriptor

func (*Vpn) Descriptor() ([]byte, []int)

func (*Vpn) GetGw

func (m *Vpn) GetGw() []byte

func (*Vpn) GetIPNet

func (v *Vpn) GetIPNet() *net.IPNet

func (*Vpn) GetIp

func (m *Vpn) GetIp() []byte

func (*Vpn) GetLabel

func (m *Vpn) GetLabel() uint32

func (*Vpn) GetMask

func (m *Vpn) GetMask() []byte

func (*Vpn) GetNId

func (m *Vpn) GetNId() uint32

func (*Vpn) GetVpnGw

func (m *Vpn) GetVpnGw() []byte

func (*Vpn) GetVpnId

func (m *Vpn) GetVpnId() uint32

func (*Vpn) NetGw

func (v *Vpn) NetGw() net.IP

func (*Vpn) NetVpnGw

func (v *Vpn) NetVpnGw() net.IP

func (*Vpn) ProtoMessage

func (*Vpn) ProtoMessage()

func (*Vpn) Reset

func (m *Vpn) Reset()

func (*Vpn) String

func (m *Vpn) String() string

func (*Vpn) ToNative

func (v *Vpn) ToNative() *nlamsg.Vpn
func (v *Vpn) ToNetlink() *nlalink.Vpn

func (*Vpn) XXX_DiscardUnknown added in v0.3.1

func (m *Vpn) XXX_DiscardUnknown()

func (*Vpn) XXX_Marshal added in v0.3.1

func (m *Vpn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Vpn) XXX_Merge added in v0.3.1

func (m *Vpn) XXX_Merge(src proto.Message)

func (*Vpn) XXX_Size added in v0.3.1

func (m *Vpn) XXX_Size() int

func (*Vpn) XXX_Unmarshal added in v0.3.1

func (m *Vpn) XXX_Unmarshal(b []byte) error

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 NewVpnKeyFromNative(n *nladbm.VpnKey) *VpnKey

func (*VpnKey) Descriptor

func (*VpnKey) Descriptor() ([]byte, []int)

func (*VpnKey) GetDst

func (m *VpnKey) GetDst() string

func (*VpnKey) GetGw

func (m *VpnKey) GetGw() string

func (*VpnKey) GetNId

func (m *VpnKey) GetNId() uint32

func (*VpnKey) ProtoMessage

func (*VpnKey) ProtoMessage()

func (*VpnKey) Reset

func (m *VpnKey) Reset()

func (*VpnKey) String

func (m *VpnKey) String() string

func (*VpnKey) ToNative

func (k *VpnKey) ToNative() *nladbm.VpnKey

Vpn (Key)

func (*VpnKey) XXX_DiscardUnknown added in v0.3.1

func (m *VpnKey) XXX_DiscardUnknown()

func (*VpnKey) XXX_Marshal added in v0.3.1

func (m *VpnKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VpnKey) XXX_Merge added in v0.3.1

func (m *VpnKey) XXX_Merge(src proto.Message)

func (*VpnKey) XXX_Size added in v0.3.1

func (m *VpnKey) XXX_Size() int

func (*VpnKey) XXX_Unmarshal added in v0.3.1

func (m *VpnKey) XXX_Unmarshal(b []byte) error

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 (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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL