commit | 5f8d24bacafe1e407ca59f28a011443fb676ca24 | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | Fri Sep 07 16:08:29 2018 +0300 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Tue Sep 11 10:44:30 2018 +0300 |
tree | f73d188b4cc89fa4fdb1c1150f56d707c26335b5 | |
parent | 4d375eef2309908fd17387a921c9525e3c0143dc [diff] |
net: Add INET_ADDRSTRLEN POSIX define POSIX defines INET_ADDRSTRLEN and INET6_ADDRSTRLEN as max sizes of textual form of IP addresses (including terminating NUL): http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html We already define INET6_ADDRSTRLEN, so it makes sense to define INET_ADDRSTRLEN too. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>