Lines Matching refs:af
109 static int inet_pton(int af, const char *src, void *dst)
113 ss.ss_family = af; /* per MSDN */
115 if (WSAStringToAddress((char*)src, af, NULL, (struct sockaddr *)&ss, &size) != 0)
118 switch(af) {
131 static const char *inet_ntop(int af, const void *src, char *dst, socklen_t size)
137 ss.ss_family = af;
139 switch(af) {
1166 inet_ntop(af, ip_address_sv)
1167 int af
1186 switch(af) {
1206 "Socket::inet_ntop", af);
1217 inet_ntop(af, &addr, str, sizeof str);
1221 PERL_UNUSED_VAR(af);
1227 inet_pton(af, host)
1228 int af
1240 switch(af) {
1255 croak("Bad address family for %s, got %d, should be " WANT_FAMILY, "Socket::inet_pton", af);
1258 ok = (*host != '\0') && inet_pton(af, host, &ip_address);
1265 PERL_UNUSED_VAR(af);