Lines Matching refs:src
35 static int inet_pton4(const char *src, unsigned char *dst);
36 static int inet_pton6(const char *src, unsigned char *dst);
49 isc_net_pton(int af, const char *src, void *dst) {
52 return (inet_pton4(src, dst));
54 return (inet_pton6(src, dst));
62 /*!\fn static int inet_pton4(const char *src, unsigned char *dst)
66 * 1 if `src' is a valid dotted quad, else 0.
73 inet_pton4(const char *src, unsigned char *dst) {
81 while ((ch = *src++) != '\0') {
115 * 1 if `src' is a valid [RFC1884 2.2] address, else 0.
126 inet_pton6(const char *src, unsigned char *dst) {
138 if (*src == ':')
139 if (*++src != ':')
141 curtok = src;
144 while ((ch = *src++) != '\0') {
157 curtok = src;