[PATCH 11/29] libnetworking: Add deprecated IPCTL_RTxxx defines.'
Christian Mauderer
christian.mauderer at embedded-brains.de
Mon Apr 25 15:06:45 UTC 2016
From: Christian Mauderer <Christian.Mauderer at embedded-brains.de>
---
cpukit/libnetworking/netinet/in_rmx.c | 1 +
cpukit/libnetworking/rtems/rtems_netinet_in.h | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/cpukit/libnetworking/netinet/in_rmx.c b/cpukit/libnetworking/netinet/in_rmx.c
index 4f1df49..6effa7c 100644
--- a/cpukit/libnetworking/netinet/in_rmx.c
+++ b/cpukit/libnetworking/netinet/in_rmx.c
@@ -57,6 +57,7 @@
#include <net/if.h>
#include <net/route.h>
#include <netinet/in.h>
+#include <rtems/rtems_netinet_in.h>
#include <netinet/in_systm.h>
#include <netinet/in_var.h>
diff --git a/cpukit/libnetworking/rtems/rtems_netinet_in.h b/cpukit/libnetworking/rtems/rtems_netinet_in.h
index b3aebdc..3c716df 100644
--- a/cpukit/libnetworking/rtems/rtems_netinet_in.h
+++ b/cpukit/libnetworking/rtems/rtems_netinet_in.h
@@ -27,6 +27,11 @@ extern "C" {
*/
#define IPPORT_USERRESERVED 5000
+/* Deprecated in current FreeBSD */
+#define IPCTL_RTEXPIRE 5 /* cloned route expiration time */
+#define IPCTL_RTMINEXPIRE 6 /* min value for expiration time */
+#define IPCTL_RTMAXCACHE 7 /* trigger level for dynamic expire */
+
int in_cksum(struct mbuf *, int);
#ifdef __cplusplus
--
1.8.4.5
More information about the devel
mailing list