9#include <sys/kassert.h>
10#include <sys/kdebug.h>
14#include <sys/spinlock.h>
22 nic->
nicNo = nextNICNo++;
51 kprintf(
"nic%lld: %02x:%02x:%02x:%02x:%02x:%02x\n", n->
nicNo,
int kprintf(const char *fmt,...)
#define REGISTER_DBGCMD(_NAME, _DESC, _FUNC)
NIC * NIC_GetByID(uint64_t nicNo)
void Debug_NICs(int argc, const char *argv[])
void NIC_RemoveNIC(NIC *nic)
void NIC_AddNIC(NIC *nic)
#define LIST_REMOVE(elm, field)
#define LIST_HEAD_INITIALIZER(head)
#define LIST_FOREACH(var, head, field)
#define LIST_INSERT_HEAD(head, elm, field)
#define LIST_HEAD(name, type)