1
0
mirror of https://github.com/vishvananda/netlink synced 2025-03-22 11:06:50 +00:00
netlink/netns_unspecified.go

20 lines
330 B
Go
Raw Normal View History

// +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
}