Functions | |
void | NutEtherInput (NUTDEVICE *dev, NETBUF *nb) |
Handle incoming Ethernet frames. | |
int | NutEtherOutput (NUTDEVICE *dev, u_short type, u_char *ha, NETBUF *nb) |
Send Ethernet frame. |
|
Handle incoming Ethernet frames. Splits the Ethernet frame into the data link and the network part. Then the frame is routed to the proper handler, based on the type field in the Ethernet header. If the frame neither contains an IP nor an ARP type telegram, then it is silently discarded.
|
|
Send Ethernet frame. Send an Ethernet frame of a given type using the specified device.
|