diff --git a/examples/README.txt b/examples/README.txt index 022c6b692..65edd521d 100644 --- a/examples/README.txt +++ b/examples/README.txt @@ -2176,7 +2176,7 @@ examples/webserver (as well as various other UDP-related configuration settings). CONFIG_NET_BROADCAST=y - UDP broadcast support is needed. - CONFIG_NET_ETH_MTU=650 - Per RFC2131 (p. 9), the DHCP client must be + CONFIG_NET_ETH_PKTSIZE=650 - Per RFC2131 (p. 9), the DHCP client must be (or larger) prepared to receive DHCP messages of up to 576 bytes (excluding Ethernet, IP, or UDP headers and FCS). diff --git a/examples/ipforward/ipforward.c b/examples/ipforward/ipforward.c index 2a5aacfe2..8d55c4b9b 100644 --- a/examples/ipforward/ipforward.c +++ b/examples/ipforward/ipforward.c @@ -63,7 +63,7 @@ ****************************************************************************/ #define MAX_DEVNAME 8 -#define IPFWD_BUFSIZE CONFIG_NET_TUN_MTU +#define IPFWD_BUFSIZE CONFIG_NET_TUN_PKTSIZE #define NBYTES_PER_LINE 32 #define IPFWD_NPACKETS 3 diff --git a/netutils/README.txt b/netutils/README.txt index d0822e3bf..ef4127398 100644 --- a/netutils/README.txt +++ b/netutils/README.txt @@ -132,7 +132,7 @@ required. These include: (as well as various other UDP-related configuration settings). CONFIG_NET_BROADCAST=y UDP broadcast support is needed. - CONFIG_NET_ETH_MTU=650 The client must be prepared to receive + CONFIG_NET_ETH_PKTSIZE=650 The client must be prepared to receive (or larger) DHCP messages of up to 576 bytes (excluding Ethernet, IP, or UDP headers and FCS). NOTE: Note that the actual MTU setting will diff --git a/nshlib/README.txt b/nshlib/README.txt index 0b6fd1e2e..5c3f67d9a 100644 --- a/nshlib/README.txt +++ b/nshlib/README.txt @@ -1758,7 +1758,7 @@ NSH-Specific Configuration Settings * CONFIG_NET_BROADCAST=y UDP broadcast support is needed. - * CONFIG_NET_ETH_MTU=650 (or larger) + * CONFIG_NET_ETH_PKTSIZE=650 (or larger) Per RFC2131 (p. 9), the DHCP client must be prepared to receive DHCP messages of up to 576 bytes (excluding Ethernet, IP, or UDP headers and FCS). NOTE: Note that the actual MTU setting will depend upon the specific