Versions in this module Expand all Collapse all v0 v0.7.0 Mar 26, 2024 v0.6.0 Feb 22, 2024 v0.5.1 Jan 28, 2024 v0.5.0 Jan 25, 2024 v0.4.0 Dec 21, 2023 v0.3.0 Nov 26, 2023 v0.2.0 Oct 27, 2023 v0.1.0 Oct 7, 2023 Changes in this version + const FamilyV4 + const FamilyV6 + const NeighbourIPStateDelay + const NeighbourIPStateFailed + const NeighbourIPStateIncomplete + const NeighbourIPStateNoARP + const NeighbourIPStateNone + const NeighbourIPStatePermanent + const NeighbourIPStateProbe + const NeighbourIPStateReachable + const NeighbourIPStateStale + func DeleteVDPADevice(vDPADevName string) error + type Action interface + AddAction func() []string + type ActionPolice struct + Burst string + Drop bool + Mtu string + Rate string + func (a *ActionPolice) AddAction() []string + type Addr struct + Address string + DevName string + Family string + Scope string + func (a *Addr) Add() error + func (a *Addr) Flush() error + type Bridge struct + func (b *Bridge) Add() error + type Class struct + Classid string + Dev string + Parent string + type ClassHTB struct + Rate string + func (class *ClassHTB) Add() error + type Dummy struct + func (d *Dummy) Add() error + type Filter struct + Dev string + Flowid string + Parent string + Protocol string + type Gretap struct + Local string + Remote string + func (g *Gretap) Add() error + type Link struct + Address net.HardwareAddr + AllMutlicast bool + MTU uint32 + Master string + Name string + Parent string + TXQueueLength uint32 + Up bool + func (l *Link) BridgeLinkSetHairpin(hairpin bool) error + func (l *Link) BridgeLinkSetIsolated(isolated bool) error + func (l *Link) BridgeVLANAdd(vid string, pvid bool, untagged bool, self bool) error + func (l *Link) BridgeVLANDelete(vid string, self bool) error + func (l *Link) Delete() error + func (l *Link) GetVFInfo(vfID int) (VirtFuncInfo, error) + func (l *Link) SetAddress(address net.HardwareAddr) error + func (l *Link) SetAllMulticast(enabled bool) error + func (l *Link) SetDown() error + func (l *Link) SetMTU(mtu uint32) error + func (l *Link) SetMaster(master string) error + func (l *Link) SetName(newName string) error + func (l *Link) SetNetns(netns string) error + func (l *Link) SetNoMaster() error + func (l *Link) SetTXQueueLength(queueLength uint32) error + func (l *Link) SetUp() error + func (l *Link) SetVfAddress(vf string, address string) error + func (l *Link) SetVfSpoofchk(vf string, mode string) error + func (l *Link) SetVfVlan(vf string, vlan string) error + type Macvlan struct + Mode string + func (macvlan *Macvlan) Add() error + type Macvtap struct + func (macvtap *Macvtap) Add() error + type MgmtVDPADev struct + BusName string + DevName string + func ListVDPAMgmtDevices() ([]*MgmtVDPADev, error) + type Neigh struct + Addr net.IP + DevName string + MAC net.HardwareAddr + State NeighbourIPState + func (n *Neigh) Show() ([]Neigh, error) + type NeighProxy struct + Addr net.IP + DevName string + func (n *NeighProxy) Add() error + func (n *NeighProxy) Delete() error + func (n *NeighProxy) Show() ([]NeighProxy, error) + type NeighbourIPState string + type Qdisc struct + Dev string + Handle string + Ingress bool + Root bool + func (qdisc *Qdisc) Add() error + func (qdisc *Qdisc) Delete() error + type QdiscHTB struct + Default string + func (qdisc *QdiscHTB) Add() error + type Route struct + DevName string + Family string + Proto string + Route string + Src string + Table string + Via string + func (r *Route) Add() error + func (r *Route) Delete() error + func (r *Route) Flush() error + func (r *Route) Replace(routes []string) error + func (r *Route) Show() ([]string, error) + type Tuntap struct + Mode string + MultiQueue bool + Name string + func (t *Tuntap) Add() error + type U32Filter struct + Actions []Action + Mask string + Value string + func (u32 *U32Filter) Add() error + type VDPADev struct + MaxVQs uint32 + MgmtDev *MgmtVDPADev + Name string + VhostVDPA *VhostVDPA + func AddVDPADevice(pciDevSlotName string, volatile map[string]string) (*VDPADev, error) + func ListVDPADevices() ([]*VDPADev, error) + type Veth struct + Peer Link + func (veth *Veth) Add() error + type VhostVDPA struct + Name string + Path string + type VirtFuncInfo struct + Address string + MAC string + SpoofCheck bool + VF int + VLANs []map[string]int + type Vlan struct + Gvrp bool + VlanID string + func (vlan *Vlan) Add() error + type Vxlan struct + DevName string + DstPort string + Group string + Local string + Remote string + TTL string + VxlanID string + func (vxlan *Vxlan) Add() error Other modules containing this package github.com/lxc/incus/v6