This library allows a user to add network interface drivers to the network stack.
For detailed information on the DS80C400 please see the High-Speed Microcontroller User's Guide: DS80C400 Supplement.
Go to the source code of this file.
Defines | |
| #define | ROM400_NETIF_VERSION 2 |
Functions | |
| unsigned int | netif_version (void) |
| Returns the version number of this NETIF library. | |
| int | netif_packetreceived (unsigned char *packet, int len) |
| Submit an inbound packet to the network stack. | |
| int | netif_addinterface (char *name, unsigned long ip, unsigned long subnet, unsigned long gateway, unsigned char flags, int(*transmitter)(unsigned char *packet, int len), int mtu, unsigned char timeout) |
| Add an interface to the network interface list. | |
| int | netif_removeinterface (char *name) |
| Remove specified interface from the network interface list. | |
| int | netif_setdefaultinterface (char *name) |
| Set the specified interface Ras default interface. | |
|
|
Version number associated with this header file. Should be the same as the version number returned by the netif_version function.
|
|
||||||||||||||||||||||||||||||||||||
|
Add an interface to the network interface list.
|
|
||||||||||||
|
Submit an inbound packet to the network stack.
IP_CHECKHEADER would decline a packet if any of the following were true:
|
|
|
Remove specified interface from the network interface list.
|
|
|
Set the specified interface Ras default interface.
|
|
|
Returns the version number of this NETIF library.
|
| Copyright 2005 Dallas Semiconductor, Inc.. | Documentation generated by Doxygen. |