X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Finet.h;h=4cca05c9678e760a07c0c8dcd88f73cc90ddfdc1;hb=7f9dce38378f0a4a298e885553d6bb7121376376;hp=1354080cf8cfa611d85f4594c2e7a74b2867f4ef;hpb=a815752ac0ffdb910e92958d41d28f4fb28e5296;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/inet.h b/include/linux/inet.h index 1354080cf8c..4cca05c9678 100644 --- a/include/linux/inet.h +++ b/include/linux/inet.h @@ -44,6 +44,13 @@ #include +/* + * These mimic similar macros defined in user-space for inet_ntop(3). + * See /usr/include/netinet/in.h . + */ +#define INET_ADDRSTRLEN (16) +#define INET6_ADDRSTRLEN (48) + extern __be32 in_aton(const char *str); extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end); extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);