#include <oskit/net/freebsd.h>oskit_error_t oskit_freebsd_net_init( [out] oskit_socket_factory_t **outfact);
OSNetwork stack
This function initializes the FreeBSD networking code.
- outfact
- *outfact will contain a oskit_socket_factory_t * which can be used according to the specifications in the OSKit socket_factory COM interface in Chapter 8.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.
Limitation/pecularity of the current implementation:oskit_freebsd_net_init will always succeed, and may panic otherwise.