File: netns_unspecified.go

package info (click to toggle)
golang-github-vishvananda-netlink 1.0.0+git20181030.023a6da-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 928 kB
  • sloc: makefile: 25
file content (19 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// +build !linux

package netlink

func GetNetNsIdByPid(pid int) (int, error) {
	return 0, ErrNotImplemented
}

func SetNetNsIdByPid(pid, nsid int) error {
	return ErrNotImplemented
}

func GetNetNsIdByFd(fd int) (int, error) {
	return 0, ErrNotImplemented
}

func SetNetNsIdByFd(fd, nsid int) error {
	return ErrNotImplemented
}