This library contains a replacement network stack with better performance and more standards compliant functionality. Since this library will replace the default ROM network stack, be careful of the physical location this library. If this library is targeted to reside in flash memory, your system will be limited by the speed of your flash.
To use this functionality, add xnetstack_install() to your program before calling init_rom and add the library to your build process.
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_XNETSTACK_VERSION 16 |
| #define | SOCKET_TYPE_RAW 2 |
| #define | SOCK_RAW 2 |
| #define | MDIO_ENABLE 0 |
| #define | MDIO_DISABLE_HDX 1 |
| #define | MDIO_DISABLE_FDX 2 |
Functions | |
| void | xnetstack_install (void) |
| Installs the enhanced network stack. | |
| unsigned int | xnetstack_version (void) |
| Returns the version number of this library. | |
| void | xnetstack_set_tcptimeoutfactor (int factor) |
| Sets a factor to scale all TCP timeouts. | |
| int | xnetstack_get_tcptimeoutfactor (void) |
| Gets the factor to scale all TCP timeouts. | |
| void | xnetstack_set_ipv6 (int enable) |
| Enables/disables IPv6. | |
| void | xnetstack_set_icmpechoreplies (int enable) |
| Enables/disables ICMP echo replies. | |
| void | xnetstack_set_icmpdestinationunreachable (int enable) |
| Enables/disables ICMP destination unreachable messages. | |
| void | xnetstack_set_igmpreporttype (int type) |
| Sets the IGMP membership report type. | |
| void | xnetstack_set_arptimeout (int timeout) |
| Sets the ARP timeout. | |
| int | xnetstack_get_arptimeout (void) |
| Gets the ARP timeout value. | |
| int | xnetstack_set_arptablesize (int entries) |
| Sets the number of ARP table entries. | |
| int | xnetstack_get_arptablesize (void) |
| Gets the maximum number of ARP table entries. | |
| void | xnetstack_set_rawfilter (unsigned int proto) |
| Sets a protocol filter for the RAW socket. | |
| void | xnetstack_disable_rawfilter (void) |
| Disables the protocol filter for the RAW socket. | |
| void | xnetstack_set_mdio (int value) |
| Sets whether the MII interface should be used to talk to the physical network interface chip (PHY). | |
| void | xnetstack_set_igmp (int enable) |
| Enables/disables inbound IGMP processing. | |
|
|
Argument to function xnetstack_set_mdio to disable MDIO link detection and to force the link to full duplex.
|
|
|
Argument to function xnetstack_set_mdio to disable MDIO link detection and to force the link to half duplex.
|
|
|
Argument to function xnetstack_set_mdio to enable MDIO link detection.
|
|
|
Version number associated with this header file. Should be the same as the version number returned by the xnetstack_version function.
|
|
|
Argument to function socket to create a RAW socket (same as SOCKET_TYPE_RAW)
|
|
|
Argument to function socket to create a RAW socket (same as SOCK_RAW)
|
|
|
Disables the protocol filter for the RAW socket. This function disables the filter set by xnetstack_set_rawfilter.
|
|
|
Gets the maximum number of ARP table entries.
|
|
|
Gets the ARP timeout value.
|
|
|
Gets the factor to scale all TCP timeouts.
|
|
|
Installs the enhanced network stack. This function installs the enhanced network stack functionality. The function has to be called before init_rom(). |
|
|
Sets the number of ARP table entries.
|
|
|
Sets the ARP timeout.
Note that init_rom() resets the ARP timeout value.
|
|
|
Enables/disables ICMP destination unreachable messages.
|
|
|
Enables/disables ICMP echo replies.
|
|
|
Enables/disables inbound IGMP processing.
|
|
|
Sets the IGMP membership report type.
|
|
|
Enables/disables IPv6.
|
|
|
Sets whether the MII interface should be used to talk to the physical network interface chip (PHY).
|
|
|
Sets a protocol filter for the RAW socket.
|
|
|
Sets a factor to scale all TCP timeouts.
|
|
|
Returns the version number of this library.
|
| Copyright 2005 Dallas Semiconductor, Inc.. | Documentation generated by Doxygen. |