picoos-net
1.xxxx
|
Functions | |
void | netInterfaceXmit (void) |
bool | netInterfacePoll (void) |
void | netInterfaceInit (void) |
void | netInterfaceOutput (void) |
void | netEthernetInput (void) |
void | netEthernetOutput (void) |
void | netInterrupt (void) |
void | netEnableDevicePolling (UINT_t ticks) |
void netInterfaceXmit | ( | void | ) |
Device driver function: Transmit current packet to network.
bool netInterfacePoll | ( | void | ) |
Device driver function: Poll network adapter for packet. Function should return true if packet is available. It must also deliver the packet for network stack by calling netEthernetInput.
void netInterfaceInit | ( | void | ) |
Device driver function: Initialize network interface. Called by socket layer main loop during startup.
void netInterfaceOutput | ( | void | ) |
Pass outgoing packet to interface layer for sending. Before transmitting packet ARP processing is done if needed by device driver (ethernet).
void netEthernetInput | ( | void | ) |
Pass packet has been received to ethernet layer. Typically called from device driver for ethernet-type devices. Function performs either arp processing or passes packet to upper layer.
void netEthernetOutput | ( | void | ) |
Pass outgoing packet to ethernet layer. Performs arp lookup before passing packet to interface xmit function. Called by netIntefaceOutput for ethernet-type devices.
void netInterrupt | ( | void | ) |
Called from network driver interrupt code to wake up main loop, causing immediate processing of packet.
void netEnableDevicePolling | ( | UINT_t | ticks | ) |
Called by network driver init code to enable device polling (instead of using interrupts).