Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Inits []func() error VrfAdd func(vrfName string, index uint32) error )
Functions ¶
Types ¶
type Address ¶ added in v1.8.1
func AddressFromPb ¶ added in v1.8.1
type FeaComponent ¶
type FeaComponent struct {
Params *FeaParam
}
func NewFeaComponent ¶
func NewFeaComponent(param *FeaParam) *FeaComponent
func (*FeaComponent) Start ¶
func (fea *FeaComponent) Start() component.Component
func (*FeaComponent) Stop ¶
func (fea *FeaComponent) Stop() component.Component
type Interface ¶ added in v1.8.1
type Interface struct {
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
Index uint32 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"`
Flags uint32 `protobuf:"varint,5,opt,name=flags" json:"flags,omitempty"`
Mtu uint32 `protobuf:"varint,6,opt,name=mtu" json:"mtu,omitempty"`
Metric uint32 `protobuf:"varint,7,opt,name=metric" json:"metric,omitempty"`
HwAddr []byte `protobuf:"bytes,8,opt,name=hw_addr,json=hwAddr" json:"hw_addr,omitempty"`
AddrIpv4 []*Address `protobuf:"bytes,9,rep,name=addr_ipv4,json=addrIpv4" json:"addr_ipv4,omitempty"`
AddrIpv6 []*Address `protobuf:"bytes,10,rep,name=addr_ipv6,json=addrIpv6" json:"addr_ipv6,omitempty"`
Info interface{}
}
func InterfaceFromPb ¶ added in v1.8.1
func InterfaceFromPb(from *pb.InterfaceUpdate) *Interface
Click to show internal directories.
Click to hide internal directories.