Lines Matching refs:pkt
115 ldns_pkt *pkt;
678 pkt = NULL;
680 &pkt, res, qname, type, clas, qflags);
685 if (!pkt) {
687 error("%s", "error pkt sending");
692 ldns_pkt_print(stdout, pkt);
695 if (!ldns_pkt_answer(pkt)) {
702 pkt, qflags, NULL);
715 ldns_pkt_free(pkt);
719 pkt = read_hex_pkt(answer_file);
720 if (pkt) {
722 ldns_pkt_print(stdout, pkt);
724 ldns_pkt_free(pkt);
807 pkt = NULL;
809 &pkt, res, qname, type, clas, qflags);
814 if (!pkt) {
816 error("%s", "pkt sending");
821 ldns_pkt_print(stdout, pkt);
823 ldns_pkt_free(pkt);
836 status = ldns_resolver_send_pkt(&pkt, res, qpkt);
842 /* qpkt was bogus, reset pkt */
843 pkt = NULL;
848 status = ldns_send_buffer(&pkt, res, query_buffer, NULL);
856 pkt = NULL;
888 pkt = NULL;
890 &pkt, res, qname,
900 if (!pkt) {
905 ldns_pkt_print(stdout, pkt);
906 if (ldns_pkt_tc(pkt)) {
915 print_ds_of_keys(pkt);
926 pkt, qname, type,
942 result = ldns_pkt_verify(pkt, type, qname, key_list, NULL, key_verified);
946 result = ldns_verify_denial(pkt, qname, type, NULL, NULL);
997 dump_hex(pkt, answer_file);
999 ldns_pkt_free(pkt);