Searched refs:hp (Results 1 – 17 of 17) sorted by relevance
69 struct hostent *hp, hent; in _hf_gethtbyname2() local95 info->hp->h_addrtype = af; in _hf_gethtbyname2()96 info->hp->h_length = 0; in _hf_gethtbyname2()99 hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, &he); in _hf_gethtbyname2()100 if (hp == NULL) { in _hf_gethtbyname2()107 if (strcasecmp(hp->h_name, name) != 0) { in _hf_gethtbyname2()109 for (cp = hp->h_aliases; *cp != NULL; cp++) in _hf_gethtbyname2()116 hent.h_addrtype = hp->h_addrtype; in _hf_gethtbyname2()117 hent.h_length = hp->h_length; in _hf_gethtbyname2()119 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len); in _hf_gethtbyname2()[all …]
107 static void convert_v4v6_hostent(struct hostent* hp, char** bpp, char* ep,108 const std::function<void(struct hostent* hp)>& mapping_param,110 static void pad_v4v6_hostent(struct hostent* hp, char** bpp, char* ep);130 const HEADER* hp; in getanswer() local168 hp = &answer->hdr; in getanswer()169 ancount = ntohs(hp->ancount); in getanswer()170 qdcount = ntohs(hp->qdcount); in getanswer()388 int resolv_gethostbyname(const char* name, int af, hostent* hp, char* buf, size_t buflen, in resolv_gethostbyname() argument409 hp->h_addrtype = af; in resolv_gethostbyname()410 hp->h_length = (int) size; in resolv_gethostbyname()[all …]
212 int extractGetHostByNameAnswers(const hostent* hp, std::vector<std::string>* ip_addrs) { in extractGetHostByNameAnswers() argument214 if (hp == nullptr) { in extractGetHostByNameAnswers()217 if (hp->h_addrtype == AF_INET) { in extractGetHostByNameAnswers()218 in_addr** list = (in_addr**) hp->h_addr_list; in extractGetHostByNameAnswers()224 } else if (hp->h_addrtype == AF_INET6) { in extractGetHostByNameAnswers()225 in6_addr** list = (in6_addr**) hp->h_addr_list; in extractGetHostByNameAnswers()275 auto hp = reinterpret_cast<HEADER*>(msg); in setQueryId() local276 hp->id = htons(query_id); in setQueryId()407 bool onlyNonSpecialUseIPv4Addresses(struct hostent* hp) { in onlyNonSpecialUseIPv4Addresses() argument410 if (hp->h_addrtype != AF_INET) return false; in onlyNonSpecialUseIPv4Addresses()[all …]
108 HEADER* hp; in res_nmkquery() local121 hp = (HEADER*) (void*) buf; in res_nmkquery()122 hp->id = htons(arc4random_uniform(65536)); in res_nmkquery()123 hp->opcode = op; in res_nmkquery()124 hp->rd = true; in res_nmkquery()125 hp->ad = (netcontext_flags & NET_CONTEXT_FLAG_USE_DNS_OVER_TLS) != 0U; in res_nmkquery()126 hp->rcode = NOERROR; in res_nmkquery()147 hp->qdcount = htons(1); in res_nmkquery()164 hp->arcount = htons(1); in res_nmkquery()185 hp->ancount = htons(1); in res_nmkquery()[all …]
110 HEADER* hp = (HEADER*) (void*) answer; in res_nquery() local116 hp->rcode = NOERROR; // default in res_nquery()171 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery()172 LOG(DEBUG) << __func__ << ": rcode = (" << p_rcode(hp->rcode) in res_nquery()173 << "), counts = an:" << ntohs(hp->ancount) << " ns:" << ntohs(hp->nscount) in res_nquery()174 << " ar:" << ntohs(hp->arcount); in res_nquery()176 switch (hp->rcode) { in res_nquery()212 HEADER* hp = (HEADER*) (void*) answer; in res_nsearch() local287 if (hp->rcode == SERVFAIL) { in res_nsearch()
1209 hostent* hp = nullptr; in TEST_F() local1214 &mNetcontext, &hp, &event); in TEST_F()1218 EXPECT_TRUE(hp != nullptr); in TEST_F()1220 EXPECT_EQ(config.expected_addr, ToString(hp)); in TEST_F()1253 struct hostent* hp = nullptr; in TEST_F() local1258 &mNetcontext, &hp, &event); in TEST_F()1259 EXPECT_EQ(nullptr, hp); in TEST_F()1275 hostent* hp = nullptr; in TEST_F() local1280 &hp, &event); in TEST_F()1282 EXPECT_EQ(nullptr, hp); in TEST_F()[all …]
848 const HEADER* hp; in getanswer() local879 hp = reinterpret_cast<const HEADER*>(answer.data()); in getanswer()880 ancount = ntohs(hp->ancount); in getanswer()881 qdcount = ntohs(hp->qdcount); in getanswer()1613 HEADER* hp = (HEADER*)(void*)t->answer.data(); in doQuery() local1615 hp->rcode = NOERROR; // default in doQuery()1649 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in doQuery()1661 LOG(DEBUG) << __func__ << ": rcode=" << hp->rcode << ", ancount=" << ntohs(hp->ancount); in doQuery()1665 .ancount = ntohs(hp->ancount), in doQuery()1743 HEADER* hp = (HEADER*)(void*)t->answer.data(); in res_queryN() local[all …]
441 HEADER* hp = (HEADER*)(void*)ans; in res_nsend() local442 *rcode = hp->rcode; in res_nsend()510 auto hp = reinterpret_cast<const HEADER*>(buf); in res_nsend() local513 int selectedServer = (hp->id % usableServersCount) + 1; in res_nsend()663 const HEADER* hp = (const HEADER*) (const void*) buf; in send_vc() local849 if (hp->id != anhp->id) { in send_vc()980 const HEADER* hp = (const HEADER*)(const void*)buf; in ignoreInvalidAnswer() local982 if (hp->id != anhp->id) { in ignoreInvalidAnswer()
31 int resolv_gethostbyname(const char* name, int af, hostent* hp, char* buf, size_t buflen,36 int resolv_gethostbyaddr(const void* addr, socklen_t len, int af, hostent* hp, char* buf,
37 struct hostent* hp; member
211 hostent* hp = nullptr; in VerifyGetHostByName() local217 sizeof(tmpbuf), &netcontext, &hp, &event); in VerifyGetHostByName()219 VerifyAddress(goldtest, hp); in VerifyGetHostByName()
2620 auto hp = reinterpret_cast<HEADER*>(buf); in TEST_F() local2621 EXPECT_EQ(21862U, htons(hp->id)); in TEST_F()2649 EXPECT_EQ(0x0053U, htons(hp->id)); in TEST_F()
4454 …:@��@������ɐ:�GDf��<a��d ��H��3�p�X�V��=�=+�L���S��������hp~\��kZc�w=2,ABI$ …6095 …�X�#�O���,Ln�d�E�Ռ�0q=�d���(��3����#w:G1M�$%��LC�Y&ө�Jb9��hJ��d���hp/�:��&�!��U���Ǻ��…8898 …����2p��-��K 0��%�}B4��Rd�.��mUJp�$GQ�m��u��*��]Rh�5u�[g�hp�F=�z(fc<�/%�9�H��…16019 GQ�ͣ�v�T;4b��fUhp��#(�UD%K���M��y/��3�{ͤ���j�dI�OC��7y����yߥW}V��Te��yeG�q�#���������9.|…17994 …��$�dG1{}��%�@������x�$���'RK{�j����9�n������m��%7$7�Kw^v����IF��hpߩ��ͭ��Ojn#��Z\���.�…23883 �6�*P1��MB�Ó�h$/˖t�i��6k_�z>�o��|����o'��\��$���m��Ł�>eZ�<�`7g��,�8��r<hp��i��5eZ�I��@G1…26628 �\\hp�BzU�U�K �WI�5V���4ڿ\�"˵�bLI��P���U�H�������̈́�ӕ���ZiG�n�߾�31144 …2���YO�i��7��gF�Ix���"Ŋ~N��I#Z����sgP��w��0C��I_6-�P`0Z�d�hp���qUho�>��Z�7:S^�…38734 …�̟��q����@��@���92����7 � E���QOn�Zm"uJ�6�C���Xx���)�߷hp�+��k̲J�1�,�`k��…41166 0>.���O$��|���sݪ�J���k��T(,9}���FV�hp�o\��w�$��N�"/����F[all …]
108 …D�q��u�p���F�R�7F�TJ�����y�zIw��f �� �V_{%���S(�Y��p)eU���)�%���Dxܒhp�\��-�֦=�;¦[�n���=�z…7297 9 �J���?����c�<1K�f�:�^�]A�,T�S �ۊ�3���^hp̽>ƕ�;�;�zFM���Rո�A�)�a�D)�a��1V�>�h\����…8104 …�i��A`�:�+��z��%6<TG��r��g+)$1 ��֥��\y��JS��'�����[��ؠ�R�f�hp�F�ݽ)ѶϜ���֛���zҾ�l…9063 h�ť�H��p"��e��C�T��,��<��W#�/�}vu�b;�c?�i�ON��,�ܜ�]�X?��{U��e}8�$�I�$q�{}*�hp�v���B��r��!��`…9668 B�#�Kn/T^�hp�7���� 4����[�V*�g9��w�u�2�0�� >@��2�3�NGZ��+�7��Z��bK�]��c�R7�H�g<}�Gz�g�6…10593 …[����گxk�&�Qo,^)J�B8� ���+���� uE�x��;�v��ۨ�F��^�����h�|����A��hp��"i-W7�_^���Wk��3��…10686 60;@�l��hp����=EM&_�4�UX/A��'h�B�X�)1,10758 …�mY�>��恝��1���6�9�=��>�B�I�G�k�1 )9gI��K?�ÀU�A##�p�]F�2��hp�Dž��Oh�J�?^��sYk{}�…13269 7��=fQjf�{�e;@��$����q_P\hp\ĩ:�%�=�;sR��ZN��5�����R��g��x�˩A;E!vf-����?Z��M2��Ap���ޞ��6…13662 …h�� CǷ>Y���e���P�.ߘ�J��oPҮ�yr��I<���TI�G����Z�/!�J�tC �z�����?-���hp��v��q�o��RՊN�}��LZ;…[all …]
1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...