Lines Matching refs:AF_INET
194 sa->sin_family = AF_INET; in _socket_getaddrinfo3()
197 ai->ai_family = AF_INET; in _socket_getaddrinfo3()
215 .ai_family = AF_INET, in _socket_getaddrinfo2()
266 sock->domain = AF_INET; in socket_make_new()
643 to.sin_family = AF_INET; in socket_sendto()
818 if (resi->ai_family == AF_INET) { in mod_socket_getaddrinfo()
848 case AF_INET: in mod_socket_inet_pton()
866 vstr_init_len(&vstr, family == AF_INET ? INET_ADDRSTRLEN : INET6_ADDRSTRLEN); in mod_socket_inet_ntop()
895 case AF_INET: in mod_socket_sockaddr()
899 t->items[0] = MP_OBJ_NEW_SMALL_INT(AF_INET); in mod_socket_sockaddr()
939 { MP_ROM_QSTR(MP_QSTR_AF_INET), MP_ROM_INT(AF_INET) },