loopback_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
size_t netBufferRead(void *dest, const NetBuffer *src, size_t srcOffset, size_t length)
Read data from a multi-part buffer.
Definition: net_mem.c:690
error_t loopbackDriverInit(NetInterface *interface)
Loopback interface initialization.
Definition: loopback_driver.c:78
void loopbackDriverTick(NetInterface *interface)
Loopback interface timer handler.
Definition: loopback_driver.c:109
error_t loopbackDriverUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: loopback_driver.c:281
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
error_t loopbackDriverReceivePacket(NetInterface *interface)
Receive a packet.
Definition: loopback_driver.c:237
error_t loopbackDriverSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: loopback_driver.c:177
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
void loopbackDriverDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: loopback_driver.c:131
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
void loopbackDriverEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: loopback_driver.c:120
Loopback interface driver.
TCP/IP stack core.
void loopbackDriverEventHandler(NetInterface *interface)
Loopback interface event handler.
Definition: loopback_driver.c:142
Debugging facilities.