[PATCH 19/29] libnetworking: Move in_cksum to rtems_bsdnet_inernal.h

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Apr 25 15:06:53 UTC 2016


From: Christian Mauderer <Christian.Mauderer at embedded-brains.de>

---
 cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 3 +++
 cpukit/libnetworking/rtems/rtems_netinet_in.h      | 2 --
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
index 7ede2c6..efb0ae5 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
@@ -232,6 +232,9 @@ void rtems_set_tcp_buffer_sizes(u_long, u_long);
 
 void rtems_set_sb_efficiency(u_long);
 
+struct mbuf;
+int in_cksum(struct mbuf *, int);
+
 #ifdef __cplusplus
 }
 #endif
diff --git a/cpukit/libnetworking/rtems/rtems_netinet_in.h b/cpukit/libnetworking/rtems/rtems_netinet_in.h
index c2da532..27d3a82 100644
--- a/cpukit/libnetworking/rtems/rtems_netinet_in.h
+++ b/cpukit/libnetworking/rtems/rtems_netinet_in.h
@@ -33,8 +33,6 @@ extern "C" {
 #define IPCTL_RTMINEXPIRE	6	/* min value for expiration time */
 #define IPCTL_RTMAXCACHE	7	/* trigger level for dynamic expire */
 
-int	 in_cksum(struct mbuf *, int);
-
 /* Firewall hooks */
 struct ip;
 typedef	int ip_fw_chk_t(struct ip**, int, struct ifnet*, int, struct mbuf**);
-- 
1.8.4.5




More information about the devel mailing list