Added missing INET_ADDRSTRLEN.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25598 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-05-21 22:37:42 +00:00
parent 4738637486
commit f3917584f1
1 changed files with 3 additions and 0 deletions

View File

@ -189,6 +189,9 @@ struct group_source_req {
#define IP_MAX_MEMBERSHIPS 20
/* maximal length of the string representation of an IPv4 address */
#define INET_ADDRSTRLEN 16
/* some helpful macro's :) */
#define in_hosteq(s,t) ((s).s_addr == (t).s_addr)
#define in_nullhost(x) ((x).s_addr == INADDR_ANY)