netutil

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoInNs

func GetLoInNs(ns string, origin netns.NsHandle) (netlink.Link, error)

func GetPeerInNs

func GetPeerInNs(ns string, origin netns.NsHandle, peerIdx int) (netlink.Link, error)

GetPeerInNs enter target netns to get veth peer's name root needed

func NsidFromPath

func NsidFromPath(path string) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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