diff options
author | Chris Johns <chrisj@rtems.org> | 2003-05-15 09:27:03 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2003-05-15 09:27:03 +0000 |
commit | ef6d9efbeb5558cec37fbdad7d5fae65bfdfb15c (patch) | |
tree | d5cca3ccc5e0f7ec1b812ee9b494e86ec5210940 /cpukit/libnetworking/netinet/in.h | |
parent | 2003-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-ef6d9efbeb5558cec37fbdad7d5fae65bfdfb15c.tar.bz2 |
PR406 - Added INET_ADDRSTRLEN per the SUSv3 standard.
Diffstat (limited to 'cpukit/libnetworking/netinet/in.h')
-rw-r--r-- | cpukit/libnetworking/netinet/in.h | 5 |
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: |