summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2003-05-15 12:04:08 +0000
committerChris Johns <chrisj@rtems.org>2003-05-15 12:04:08 +0000
commit07f5f5dc0296d2c95082e9c9d96804bc8424aedd (patch)
treeefc31cf4d53c4f26dea4db846979afe91cc40267 /cpukit/libnetworking
parent2003-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-07f5f5dc0296d2c95082e9c9d96804bc8424aedd.tar.bz2
2003-05-15 cjohns@cybertec.com.au <cjohns@cybertec.com.au>
* netinet/in.h: PR406 - Added INET_ADDRSTRLEN per the SUSv3 standard.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/netinet/in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libnetworking/netinet/in.h b/cpukit/libnetworking/netinet/in.h
index c74e469cb9..f330e38f0f 100644
--- a/cpukit/libnetworking/netinet/in.h
+++ b/cpukit/libnetworking/netinet/in.h
@@ -149,6 +149,11 @@
#define IPPROTO_RAW 255 /* raw IP packet */
#define IPPROTO_MAX 256
+/*
+ * Merged from FreeBSD 1.78 of this file so Python compiles.
+ * This is a size value for functions such as inet_ntop().
+ */
+#define INET_ADDRSTRLEN 16
/*
* Local port number conventions: