summaryrefslogtreecommitdiff
path: root/inet_net_pton.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-17ares_inet_pton/ntop: cleanupDaniel Stenberg1-1/+8
Make sure that the symbols are always exported and present in c-ares. Make the headers prefixed with 'ares'. Removed the inet_ntop.h version as it no longer features any content.
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse1-3/+0
Inclusion of these two header files now done in setup_once.h
2012-12-14Header inclusion clean-upYang Tse1-5/+0
Remove header inclusions already done in setup_once.h
2011-03-22System's errno.h inclusion cleanup.Yang Tse1-1/+0
System's errno.h is conditionally included from setup_once.h
2010-12-27getv4: Value stored to 'dst' is never readDaniel Stenberg1-2/+2
2010-12-16fix compiler warning: conversion may lose significant bitsYang Tse1-7/+8
2010-12-15ares_inet_net_pton: fix non-rejection of some malformed literalsYang Tse1-9/+10
ares_inet_net_pton would return wrong values when excessively large, and invalid, netmasks are used. Fixes are from bind-9.5.3rc1, issue also described in the WLB-2008080064 advisory.
2010-12-15configure: inet_net_pton function check adjustmentsYang Tse1-3/+3
Define HAVE_INET_NET_PTON only when system's inet_net_pton function is IPv6 capable and is not affected by the WLB-2008080064 advisory. HAVE_INET_NET_PTON_IPV6 is no longer defined nor used.
2010-11-25inet_pton: fix compiler warningYang Tse1-4/+4
2010-07-29ipv6: Fix some build issues related to the local-bind feature.Ben Greear1-0/+4
Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-03-27remove all $Id$ linesDaniel Stenberg1-1/+0
2010-03-05Added IPv6 name servers supportYang Tse1-1/+2
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse1-1/+1
2009-10-09Fix compiler warningYang Tse1-6/+7
2008-09-24HAVE_INET_PTON will only be defined when an IPv6 capable workingYang Tse1-3/+2
inet_pton function is available.
2008-09-17adjust inclusion of "nameser.h"Yang Tse1-11/+10
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem1-3/+0
since it's already included through "setup.h".
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse1-7/+17
2007-02-13use our own ISUPPER and ISLOWER macrosYang Tse1-1/+1
2007-02-01compiler warning fixYang Tse1-6/+6
2006-10-18Replace is*() macros with our own IS*() ones.Yang Tse1-9/+8
Get rid of non ANSI/ISO isascii().
2006-07-222nd try adding CVS id.Gisle Vanem1-1/+1
2006-07-22Added CVS id.Gisle Vanem1-0/+2
2005-04-19indented source to look more like other ares code,Daniel Stenberg1-347/+353
added (somewhat ugly) typecasts to build warning-free on 64bit platforms (the result of a (char *) - (char *) cannot be stored in an int universally)
2005-04-15add needed includeDaniel Stenberg1-0/+1
2005-04-09Removed usage of u_int and u_charDominick Meglio1-15/+15
2005-04-06moved the *_inet_pton protos to inet_net_pton.h insteadDaniel Stenberg1-0/+2
2005-04-05with these changes, it builds on my win32 cross-compilerDaniel Stenberg1-0/+15
2005-04-05Provided implementations of inet_net_pton and inet_pton from BIND for ↵Dominick Meglio1-0/+415
systems that do not include these functions. These will be necessary for CIDR support and IPv6 support.