The network interface functions of the Serveez core API allow access to the network devices on your system. The system administrator can set up these devices to be bound to different Internet addresses and thereby split the network configuration into different domains. Thus, the system is able to separate the traffic of different networks. If set up correctly, Serveez can follow these rules.
Call func for each interface, passing additionally the second arg closure. If func returns a negative value, return immediately with that value (breaking out of the loop), otherwise, return 0.
Add a network interface to the current list of known interfaces. Drop
duplicate entries. The given arguments index specifies the network
interface index number, desc an interface desription,
family an address-family (e.g.,
AF_INET), bits the
address data in network-byte order, and the detected flag if
the given network interface has been detected by Serveez itself or not.