Lines Matching refs:src
44 static int inet_pton4(const char *src, unsigned char *dst);
45 static int inet_pton6(const char *src, unsigned char *dst);
58 isc_net_pton(int af, const char *src, void *dst) {
61 return (inet_pton4(src, dst));
63 return (inet_pton6(src, dst));
71 /*!\fn static int inet_pton4(const char *src, unsigned char *dst)
75 * 1 if `src' is a valid dotted quad, else 0.
82 inet_pton4(const char *src, unsigned char *dst) {
90 while ((ch = *src++) != '\0') {
123 * 1 if `src' is a valid [RFC1884 2.2] address, else 0.
134 inet_pton6(const char *src, unsigned char *dst) {
146 if (*src == ':')
147 if (*++src != ':')
149 curtok = src;
152 while ((ch = *src++) != '\0') {
165 curtok = src;