Add some definitions expected by NFS. Noted by Orbital Fox

This commit is contained in:
Gregory Nutt 2015-02-25 08:59:16 -06:00
parent 654788a8e0
commit 82fcd4ea0e
1 changed files with 2 additions and 0 deletions

View File

@ -258,6 +258,7 @@
# define UDP_IPv4_MSS(d) UDP_MSS(d,IPv4_HDRLEN) # define UDP_IPv4_MSS(d) UDP_MSS(d,IPv4_HDRLEN)
# define ETH_IPv4_UDP_MSS ETH_UDP_MSS(IPv4_HDRLEN) # define ETH_IPv4_UDP_MSS ETH_UDP_MSS(IPv4_HDRLEN)
# define SLIP_IPv4_UDP_MSS SLIP_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) # define MIN_UDP_MSS __MIN_UDP_MSS(IPv4_HDRLEN)
# undef MAX_UDP_MSS # undef MAX_UDP_MSS
# define MAX_UDP_MSS __MAX_UDP_MSS(IPv4_HDRLEN) # define MAX_UDP_MSS __MAX_UDP_MSS(IPv4_HDRLEN)
@ -267,6 +268,7 @@
#ifdef CONFIG_NET_IPv6 #ifdef CONFIG_NET_IPv6
# undef MIN_UDP_MSS # undef MIN_UDP_MSS
# define MIN_IPv6_UDP_MSS __MIN_UDP_MSS(IPv6_HDRLEN)
# define MIN_UDP_MSS __MIN_UDP_MSS(IPv6_HDRLEN) # define MIN_UDP_MSS __MIN_UDP_MSS(IPv6_HDRLEN)
#endif #endif