From 72208cddfa1e4fda4eb43222df0b1f28952a56c4 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Tue, 19 Jul 2016 10:12:56 +0200 Subject: [PATCH] Rename ip_frag.* to ip4_frag.* --- src/Filelists.mk | 2 +- src/core/ipv4/ip4.c | 2 +- src/core/ipv4/{ip_frag.c => ip4_frag.c} | 2 +- src/core/memp.c | 2 +- src/core/timers.c | 2 +- src/include/lwip/{ip_frag.h => ip4_frag.h} | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) rename src/core/ipv4/{ip_frag.c => ip4_frag.c} (99%) rename src/include/lwip/{ip_frag.h => ip4_frag.h} (97%) diff --git a/src/Filelists.mk b/src/Filelists.mk index c88889c4..f0b9392a 100644 --- a/src/Filelists.mk +++ b/src/Filelists.mk @@ -53,7 +53,7 @@ CORE4FILES=$(LWIPDIR)/core/ipv4/autoip.c \ $(LWIPDIR)/core/ipv4/etharp.c \ $(LWIPDIR)/core/ipv4/icmp.c \ $(LWIPDIR)/core/ipv4/igmp.c \ - $(LWIPDIR)/core/ipv4/ip_frag.c \ + $(LWIPDIR)/core/ipv4/ip4_frag.c \ $(LWIPDIR)/core/ipv4/ip4.c \ $(LWIPDIR)/core/ipv4/ip4_addr.c diff --git a/src/core/ipv4/ip4.c b/src/core/ipv4/ip4.c index 6baea038..1bdc30f5 100644 --- a/src/core/ipv4/ip4.c +++ b/src/core/ipv4/ip4.c @@ -45,7 +45,7 @@ #include "lwip/ip.h" #include "lwip/def.h" #include "lwip/mem.h" -#include "lwip/ip_frag.h" +#include "lwip/ip4_frag.h" #include "lwip/inet_chksum.h" #include "lwip/netif.h" #include "lwip/icmp.h" diff --git a/src/core/ipv4/ip_frag.c b/src/core/ipv4/ip4_frag.c similarity index 99% rename from src/core/ipv4/ip_frag.c rename to src/core/ipv4/ip4_frag.c index bb0599e6..b18d904e 100644 --- a/src/core/ipv4/ip_frag.c +++ b/src/core/ipv4/ip4_frag.c @@ -42,7 +42,7 @@ #if LWIP_IPV4 -#include "lwip/ip_frag.h" +#include "lwip/ip4_frag.h" #include "lwip/def.h" #include "lwip/inet_chksum.h" #include "lwip/netif.h" diff --git a/src/core/memp.c b/src/core/memp.c index a862f7ce..81db2492 100644 --- a/src/core/memp.c +++ b/src/core/memp.c @@ -52,7 +52,7 @@ #include "lwip/timers.h" #include "lwip/stats.h" #include "lwip/etharp.h" -#include "lwip/ip_frag.h" +#include "lwip/ip4_frag.h" #include "lwip/dns.h" #include "lwip/netdb.h" #include "lwip/nd6.h" diff --git a/src/core/timers.c b/src/core/timers.c index c7fc0e20..b8a7fd45 100644 --- a/src/core/timers.c +++ b/src/core/timers.c @@ -48,7 +48,7 @@ #include "lwip/memp.h" #include "lwip/priv/tcpip_priv.h" -#include "lwip/ip_frag.h" +#include "lwip/ip4_frag.h" #include "lwip/etharp.h" #include "lwip/dhcp.h" #include "lwip/autoip.h" diff --git a/src/include/lwip/ip_frag.h b/src/include/lwip/ip4_frag.h similarity index 97% rename from src/include/lwip/ip_frag.h rename to src/include/lwip/ip4_frag.h index 3297a110..89b9e311 100644 --- a/src/include/lwip/ip_frag.h +++ b/src/include/lwip/ip4_frag.h @@ -35,8 +35,8 @@ * */ -#ifndef LWIP_HDR_IP_FRAG_H -#define LWIP_HDR_IP_FRAG_H +#ifndef LWIP_HDR_IP4_FRAG_H +#define LWIP_HDR_IP4_FRAG_H #include "lwip/opt.h" #include "lwip/err.h" @@ -97,4 +97,4 @@ err_t ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest); #endif /* LWIP_IPV4 */ -#endif /* LWIP_HDR_IP_FRAG_H */ +#endif /* LWIP_HDR_IP4_FRAG_H */