Skip to main content

All Questions

1vote
1answer
3kviews

How to specify a namespace when creating a tun/tap device?

On linux I can create a new tun/tap device in C using something like: int fd = open("/dev/net/tun", O_RDWR); ioctl(fd, TUNSETIFF, (void *)&ifr); This will create a new network interface in the ...
michas's user avatar
  • 21.8k

close