Barrelfish
|
Functions | |
struct netif * | owner_lwip_init (char *card_name, uint64_t queueid) |
bool | lwip_init_ex (const char *card_name, uint64_t queueid, struct waitset *opt_waitset, struct thread_mutex *opt_mutex) |
bool | lwip_init_auto_ex (struct waitset *opt_waitset, struct thread_mutex *opt_mutex) |
bool | lwip_init (const char *card_name, uint64_t queueid) |
Modules initialization
bool lwip_init | ( | const char * | card_name, |
uint64_t | queueid | ||
) |
Perform Sanity check of user-configurable values, and initialize all modules.
bool lwip_init_auto_ex | ( | struct waitset * | opt_waitset, |
struct thread_mutex * | opt_mutex | ||
) |
Figure out the best NIC card to connect and initialize library network stack.
bool lwip_init_ex | ( | const char * | card_name, |
uint64_t | queueid, | ||
struct waitset * | opt_waitset, | ||
struct thread_mutex * | opt_mutex | ||
) |
Perform Sanity check of user-configurable values, and initialize all modules.
card_name | Name of service implementing ethernet driver |
queueid | Queueid which is allocated to this application |
opt_waitset | Optional pointer to waitset to be used by LWIP |
opt_mutex | Optional pointer to mutex to protect multi-threaded domains |
struct netif* owner_lwip_init | ( | char * | card_name, |
uint64_t | queueid | ||
) |
To be called by the app which wants to perform DHCP on it's own In current implementation, it is netd. Perform Sanity check of user-configurable values, and initialize all modules.