From fcffe2e824d5aed4b108aa0cc344c68bc70861c9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 4 Jul 2014 15:40:49 -0600 Subject: [PATCH] NET: More renaming --- include/netutils/httpd.h | 2 +- netutils/tftpc/tftpc_internal.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/netutils/httpd.h b/include/netutils/httpd.h index d14b6bf4d..5da5ff762 100644 --- a/include/netutils/httpd.h +++ b/include/netutils/httpd.h @@ -80,7 +80,7 @@ * buffer be sufficiently large to contain the entire GET request. */ -#define HTTPD_IOBUFFER_SIZE (3*UIP_TCP_MSS) +#define HTTPD_IOBUFFER_SIZE (3*TCP_MSS) /* This is the maximum size of a file path */ diff --git a/netutils/tftpc/tftpc_internal.h b/netutils/tftpc/tftpc_internal.h index 1a9601c63..436090193 100644 --- a/netutils/tftpc/tftpc_internal.h +++ b/netutils/tftpc/tftpc_internal.h @@ -91,8 +91,8 @@ #define TFTP_DATAHEADERSIZE 4 #define TFTP_MAXPACKETSIZE (TFTP_DATAHEADERSIZE+512) -#if UIP_UDP_MSS < TFTP_MAXPACKETSIZE -# define TFTP_PACKETSIZE UIP_UDP_MSS +#if UDP_MSS < TFTP_MAXPACKETSIZE +# define TFTP_PACKETSIZE UDP_MSS # ifdef CONFIG_CPP_HAVE_WARNING # warning "uIP MSS is too small for TFTP" # endif