Quote:
Originally Posted by jesshowe
Does anyone know of a user space framework that will allow me to set up a nic?
|
By setting up a nic, do you mean just assigning addresses and bringing it up or down? In that case, the appropriate framework is a series of socket ioctls. You can learn more about how these work by studying the source of utilities such as
ifconfig or
ip.
Perhaps you are talking about a TUN or TAP interface? They have a similar API, which you can read about
here.