kubernetes/vendor/github.com/vishvananda/netlink/link.go

type Link

type NsPid

type NsFd

type LinkAttrs

type LinkSlave

type VfInfo

type LinkOperState

const OperUnknown

const OperNotPresent

const OperDown

const OperLowerLayerDown

const OperTesting

const OperDormant

const OperUp

func (s LinkOperState) String() string {}

// NewLinkAttrs returns LinkAttrs structure filled with default values
func NewLinkAttrs() LinkAttrs {}

type LinkStatistics

type LinkStatistics32

func (s32 LinkStatistics32) to64() *LinkStatistics64 {}

type LinkStatistics64

type LinkXdp

type Device

func (device *Device) Attrs() *LinkAttrs {}

func (device *Device) Type() string {}

type Dummy

func (dummy *Dummy) Attrs() *LinkAttrs {}

func (dummy *Dummy) Type() string {}

type Ifb

func (ifb *Ifb) Attrs() *LinkAttrs {}

func (ifb *Ifb) Type() string {}

type Bridge

func (bridge *Bridge) Attrs() *LinkAttrs {}

func (bridge *Bridge) Type() string {}

type Vlan

func (vlan *Vlan) Attrs() *LinkAttrs {}

func (vlan *Vlan) Type() string {}

type MacvlanMode

const MACVLAN_MODE_DEFAULT

const MACVLAN_MODE_PRIVATE

const MACVLAN_MODE_VEPA

const MACVLAN_MODE_BRIDGE

const MACVLAN_MODE_PASSTHRU

const MACVLAN_MODE_SOURCE

type Macvlan

func (macvlan *Macvlan) Attrs() *LinkAttrs {}

func (macvlan *Macvlan) Type() string {}

type Macvtap

func (macvtap Macvtap) Type() string {}

type TuntapMode

type TuntapFlag

type Tuntap

func (tuntap *Tuntap) Attrs() *LinkAttrs {}

func (tuntap *Tuntap) Type() string {}

type NetkitMode

const NETKIT_MODE_L2

const NETKIT_MODE_L3

type NetkitPolicy

const NETKIT_POLICY_FORWARD

const NETKIT_POLICY_BLACKHOLE

func (n *Netkit) IsPrimary() bool {}

// SetPeerAttrs will not take effect if trying to modify an existing netkit device
func (n *Netkit) SetPeerAttrs(Attrs *LinkAttrs) {}

type Netkit

func (n *Netkit) Attrs() *LinkAttrs {}

func (n *Netkit) Type() string {}

type Veth

func (veth *Veth) Attrs() *LinkAttrs {}

func (veth *Veth) Type() string {}

type Wireguard

func (wg *Wireguard) Attrs() *LinkAttrs {}

func (wg *Wireguard) Type() string {}

type GenericLink

func (generic *GenericLink) Attrs() *LinkAttrs {}

func (generic *GenericLink) Type() string {}

type Vxlan

func (vxlan *Vxlan) Attrs() *LinkAttrs {}

func (vxlan *Vxlan) Type() string {}

type IPVlanMode

const IPVLAN_MODE_L2

const IPVLAN_MODE_L3

const IPVLAN_MODE_L3S

const IPVLAN_MODE_MAX

type IPVlanFlag

const IPVLAN_FLAG_BRIDGE

const IPVLAN_FLAG_PRIVATE

const IPVLAN_FLAG_VEPA

type IPVlan

func (ipvlan *IPVlan) Attrs() *LinkAttrs {}

func (ipvlan *IPVlan) Type() string {}

type IPVtap

func (ipvtap *IPVtap) Attrs() *LinkAttrs {}

func (ipvtap IPVtap) Type() string {}

type VlanProtocol

func (p VlanProtocol) String() string {}

// StringToVlanProtocol returns vlan protocol, or unknown is the s is invalid.
func StringToVlanProtocol(s string) VlanProtocol {}

const VLAN_PROTOCOL_UNKNOWN

const VLAN_PROTOCOL_8021Q

const VLAN_PROTOCOL_8021AD

var VlanProtocolToString

var StringToVlanProtocolMap

type BondMode

func (b BondMode) String() string {}

// StringToBondMode returns bond mode, or unknown is the s is invalid.
func StringToBondMode(s string) BondMode {}

const BOND_MODE_BALANCE_RR

const BOND_MODE_ACTIVE_BACKUP

const BOND_MODE_BALANCE_XOR

const BOND_MODE_BROADCAST

const BOND_MODE_802_3AD

const BOND_MODE_BALANCE_TLB

const BOND_MODE_BALANCE_ALB

const BOND_MODE_UNKNOWN

var bondModeToString

var StringToBondModeMap

type BondArpValidate

const BOND_ARP_VALIDATE_NONE

const BOND_ARP_VALIDATE_ACTIVE

const BOND_ARP_VALIDATE_BACKUP

const BOND_ARP_VALIDATE_ALL

var bondArpValidateToString

var StringToBondArpValidateMap

func (b BondArpValidate) String() string {}

type BondPrimaryReselect

const BOND_PRIMARY_RESELECT_ALWAYS

const BOND_PRIMARY_RESELECT_BETTER

const BOND_PRIMARY_RESELECT_FAILURE

var bondPrimaryReselectToString

var StringToBondPrimaryReselectMap

func (b BondPrimaryReselect) String() string {}

type BondArpAllTargets

const BOND_ARP_ALL_TARGETS_ANY

const BOND_ARP_ALL_TARGETS_ALL

var bondArpAllTargetsToString

var StringToBondArpAllTargetsMap

func (b BondArpAllTargets) String() string {}

type BondFailOverMac

const BOND_FAIL_OVER_MAC_NONE

const BOND_FAIL_OVER_MAC_ACTIVE

const BOND_FAIL_OVER_MAC_FOLLOW

var bondFailOverMacToString

var StringToBondFailOverMacMap

func (b BondFailOverMac) String() string {}

type BondXmitHashPolicy

func (b BondXmitHashPolicy) String() string {}

// StringToBondXmitHashPolicy returns bond lacp arte, or unknown is the s is invalid.
func StringToBondXmitHashPolicy(s string) BondXmitHashPolicy {}

const BOND_XMIT_HASH_POLICY_LAYER2

const BOND_XMIT_HASH_POLICY_LAYER3_4

const BOND_XMIT_HASH_POLICY_LAYER2_3

const BOND_XMIT_HASH_POLICY_ENCAP2_3

const BOND_XMIT_HASH_POLICY_ENCAP3_4

const BOND_XMIT_HASH_POLICY_VLAN_SRCMAC

const BOND_XMIT_HASH_POLICY_UNKNOWN

var bondXmitHashPolicyToString

var StringToBondXmitHashPolicyMap

type BondLacpRate

func (b BondLacpRate) String() string {}

// StringToBondLacpRate returns bond lacp arte, or unknown is the s is invalid.
func StringToBondLacpRate(s string) BondLacpRate {}

const BOND_LACP_RATE_SLOW

const BOND_LACP_RATE_FAST

const BOND_LACP_RATE_UNKNOWN

var bondLacpRateToString

var StringToBondLacpRateMap

type BondAdSelect

const BOND_AD_SELECT_STABLE

const BOND_AD_SELECT_BANDWIDTH

const BOND_AD_SELECT_COUNT

var bondAdSelectToString

var StringToBondAdSelectMap

func (b BondAdSelect) String() string {}

type BondAdInfo

type Bond

func NewLinkBond(atr LinkAttrs) *Bond {}

const BOND_MODE_MASK

const BOND_ACTIVE_SLAVE_MASK

const BOND_MIIMON_MASK

const BOND_UPDELAY_MASK

const BOND_DOWNDELAY_MASK

const BOND_USE_CARRIER_MASK

const BOND_ARP_INTERVAL_MASK

const BOND_ARP_VALIDATE_MASK

const BOND_ARP_ALL_TARGETS_MASK

const BOND_PRIMARY_MASK

const BOND_PRIMARY_RESELECT_MASK

const BOND_FAIL_OVER_MAC_MASK

const BOND_XMIT_HASH_POLICY_MASK

const BOND_RESEND_IGMP_MASK

const BOND_NUM_PEER_NOTIF_MASK

const BOND_ALL_SLAVES_ACTIVE_MASK

const BOND_MIN_LINKS_MASK

const BOND_LP_INTERVAL_MASK

const BOND_PACKETS_PER_SLAVE_MASK

const BOND_LACP_RATE_MASK

const BOND_AD_SELECT_MASK

// Attrs implementation.
func (bond *Bond) Attrs() *LinkAttrs {}

// Type implementation fro Vxlan.
func (bond *Bond) Type() string {}

type BondSlaveState

const BondStateActive

const BondStateBackup

func (s BondSlaveState) String() string {}

type BondSlaveMiiStatus

const BondLinkUp

const BondLinkFail

const BondLinkDown

const BondLinkBack

func (s BondSlaveMiiStatus) String() string {}

type BondSlave

func (b *BondSlave) SlaveType() string {}

type VrfSlave

func (v *VrfSlave) SlaveType() string {}

type Geneve

func (geneve *Geneve) Attrs() *LinkAttrs {}

func (geneve *Geneve) Type() string {}

type GeneveDf

const GENEVE_DF_UNSET

const GENEVE_DF_SET

const GENEVE_DF_INHERIT

const GENEVE_DF_MAX

type Gretap

func (gretap *Gretap) Attrs() *LinkAttrs {}

func (gretap *Gretap) Type() string {}

type Iptun

func (iptun *Iptun) Attrs() *LinkAttrs {}

func (iptun *Iptun) Type() string {}

type Ip6tnl

func (ip6tnl *Ip6tnl) Attrs() *LinkAttrs {}

func (ip6tnl *Ip6tnl) Type() string {}

type TunnelEncapType

const None

const FOU

const GUE

type TunnelEncapFlag

const CSum

const CSum6

const RemCSum

type IP6TunnelFlag

const IP6_TNL_F_IGN_ENCAP_LIMIT

const IP6_TNL_F_USE_ORIG_TCLASS

const IP6_TNL_F_USE_ORIG_FLOWLABEL

const IP6_TNL_F_MIP6_DEV

const IP6_TNL_F_RCV_DSCP_COPY

const IP6_TNL_F_USE_ORIG_FWMARK

const IP6_TNL_F_ALLOW_LOCAL_REMOTE

type Sittun

func (sittun *Sittun) Attrs() *LinkAttrs {}

func (sittun *Sittun) Type() string {}

type Vti

func (vti *Vti) Attrs() *LinkAttrs {}

func (vti *Vti) Type() string {}

type Gretun

func (gretun *Gretun) Attrs() *LinkAttrs {}

func (gretun *Gretun) Type() string {}

type Vrf

func (vrf *Vrf) Attrs() *LinkAttrs {}

func (vrf *Vrf) Type() string {}

type GTP

func (gtp *GTP) Attrs() *LinkAttrs {}

func (gtp *GTP) Type() string {}

type Xfrmi

func (xfrm *Xfrmi) Attrs() *LinkAttrs {}

func (xfrm *Xfrmi) Type() string {}

type IPoIBMode

func (m *IPoIBMode) String() string {}

const IPOIB_MODE_DATAGRAM

const IPOIB_MODE_CONNECTED

var iPoIBModeToString

var StringToIPoIBMode

const CAN_STATE_ERROR_ACTIVE

const CAN_STATE_ERROR_WARNING

const CAN_STATE_ERROR_PASSIVE

const CAN_STATE_BUS_OFF

const CAN_STATE_STOPPED

const CAN_STATE_SLEEPING

type Can

func (can *Can) Attrs() *LinkAttrs {}

func (can *Can) Type() string {}

type IPoIB

func (ipoib *IPoIB) Attrs() *LinkAttrs {}

func (ipoib *IPoIB) Type() string {}

type BareUDP

func (bareudp *BareUDP) Attrs() *LinkAttrs {}

func (bareudp *BareUDP) Type() string {}

type LinkNotFoundError