Lines Matching refs:pkt
288 ldns_pkt_tsig_verify(ldns_pkt *pkt, const uint8_t *wire, size_t wirelen, const char *key_name,
291 return ldns_pkt_tsig_verify_next(pkt, wire, wirelen, key_name, key_data, orig_mac_rdf, 0);
295 ldns_pkt_tsig_verify_next(ldns_pkt *pkt, const uint8_t *wire, size_t wirelen, const char* key_name,
313 ldns_rr *orig_tsig = ldns_pkt_tsig(pkt);
328 ldns_pkt_set_tsig(pkt, NULL);
330 pkt_id = ldns_pkt_id(pkt);
332 ldns_pkt_set_id(pkt, orig_pkt_id);
347 ldns_pkt_set_tsig(pkt, orig_tsig);
348 ldns_pkt_set_id(pkt, pkt_id);
364 ldns_pkt_tsig_sign(ldns_pkt *pkt, const char *key_name, const char *key_data,
367 return ldns_pkt_tsig_sign_next(pkt, key_name, key_data, fudge, algorithm_name, query_mac, 0);
371 ldns_pkt_tsig_sign_next(ldns_pkt *pkt, const char *key_name, const char *key_data,
422 orig_id_rdf = ldns_native2rdf_int16(LDNS_RDF_TYPE_INT16, ldns_pkt_id(pkt));
433 if (ldns_pkt2wire(&pkt_wire, pkt, &pkt_wire_len) != LDNS_STATUS_OK) {
467 ldns_pkt_set_tsig(pkt, tsig_rr);