link

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 13

Documentation

Overview

Package link provides the Cilium specific abstraction and useful helpers to manage network interfaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteByName

func DeleteByName(ifName string) error

DeleteByName deletes the interface with the name ifName.

func GetHardwareAddr

func GetHardwareAddr(ifName string) (mac.MAC, error)

func GetIfIndex

func GetIfIndex(ifName string) (uint32, error)

func Rename

func Rename(curName, newName string) error

Rename renames a network link

Types

This section is empty.

Jump to

Keyboard shortcuts

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