From 82fcd4ea0ef7327e4127a27e6ba061aba6760ca0 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 25 Feb 2015 08:59:16 -0600 Subject: [PATCH] Add some definitions expected by NFS. Noted by Orbital Fox --- include/nuttx/net/netconfig.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/net/netconfig.h b/include/nuttx/net/netconfig.h index 58e285b5f0..4f654e809c 100644 --- a/include/nuttx/net/netconfig.h +++ b/include/nuttx/net/netconfig.h @@ -258,6 +258,7 @@ # define UDP_IPv4_MSS(d) UDP_MSS(d,IPv4_HDRLEN) # define ETH_IPv4_UDP_MSS ETH_UDP_MSS(IPv4_HDRLEN) # define SLIP_IPv4_UDP_MSS SLIP_UDP_MSS(IPv4_HDRLEN) +# define MIN_IPv4_UDP_MSS __MIN_UDP_MSS(IPv4_HDRLEN) # define MIN_UDP_MSS __MIN_UDP_MSS(IPv4_HDRLEN) # undef MAX_UDP_MSS # define MAX_UDP_MSS __MAX_UDP_MSS(IPv4_HDRLEN) @@ -267,6 +268,7 @@ #ifdef CONFIG_NET_IPv6 # undef MIN_UDP_MSS +# define MIN_IPv6_UDP_MSS __MIN_UDP_MSS(IPv6_HDRLEN) # define MIN_UDP_MSS __MIN_UDP_MSS(IPv6_HDRLEN) #endif