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);
46 int isc_net_pton(int af, const char *src, void *dst);
59 isc_net_pton(int af, const char *src, void *dst) {
62 return (inet_pton4(src, dst));
64 return (inet_pton6(src, dst));
72 /*!\fn static int inet_pton4(const char *src, unsigned char *dst)
76 * 1 if `src' is a valid dotted quad, else 0.
83 inet_pton4(const char *src, unsigned char *dst) {
91 while ((ch = *src++) != '\0') {
124 * 1 if `src' is a valid [RFC1884 2.2] address, else 0.
135 inet_pton6(const char *src, unsigned char *dst) {
147 if (*src == ':')
148 if (*++src != ':')
150 curtok = src;
153 while ((ch = *src++) != '\0') {
166 curtok = src;