Home
last modified time | relevance | path

Searched refs:NIC (Results 1 – 9 of 9) sorted by relevance

/sys/include/
Dnic.h10 typedef struct NIC NIC; typedef
11 typedef struct NIC { struct
15 int (*tx)(NIC *, MBuf *, NICCB, void *); // TX argument
16 int (*rx)(NIC *, MBuf *, NICCB, void *); // RX argument
18 LIST_ENTRY(NIC) entries; argument
19 } NIC; typedef
21 void NIC_AddNIC(NIC *nic);
22 void NIC_RemoveNIC(NIC *nic);
23 NIC *NIC_GetByID(uint64_t nicNo);
24 int NIC_GetMAC(NIC *nic, void *mac);
[all …]
/sys/kern/
Dnic.c16 LIST_HEAD(NICList, NIC) nicList = LIST_HEAD_INITIALIZER(nicList);
20 NIC_AddNIC(NIC *nic) in NIC_AddNIC()
27 NIC_RemoveNIC(NIC *nic) in NIC_RemoveNIC()
32 NIC *
35 NIC *n; in NIC_GetByID()
48 NIC *n; in Debug_NICs()
Dsyscall.c510 NIC *nic; in Syscall_NICStat()
517 status = Copy_Out(nic, user_stat, sizeof(NIC)); in Syscall_NICStat()
529 NIC *nic; in Syscall_NICSend()
553 NIC *nic; in Syscall_NICRecv()
/bin/ethinject/
Dethinject.c16 writePacket(NIC *nic) in writePacket()
43 NIC nic; in main()
/bin/ethdump/
Dethdump.c31 readPacket(NIC *nic) in readPacket()
60 NIC nic; in main()
/sbin/ifconfig/
Difconfig.c11 NIC nic; in main()
/include/
Dsyscall.h40 int OSNICStat(uint64_t nicNo, NIC *nic);
/sys/dev/
De1000.c130 NIC nic; // Must be first
317 E1000_Dequeue(NIC *nic, MBuf *mbuf, NICCB cb, void *arg) in E1000_Dequeue()
360 E1000_Enqueue(NIC *nic, MBuf *mbuf, NICCB cb, void *arg) in E1000_Enqueue()
/lib/libc/
Dsyscall.c137 OSNICStat(uint64_t nicNo, NIC *nic) in OSNICStat()