Searched defs:packet (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddns.c300 * Appends an OPT record to the packet.
303 add_edns(isc_buffer_t *packet, isc_boolean_t dnssec) { argument
306 if (isc_buffer_availablelength(packet) < EDNSLEN) {
307 perf_log_warning("failed to add OPT to query packet");
311 base = isc_buffer_base(packet);
313 isc_buffer_putuint8(packet, 0); /* root name */
314 isc_buffer_putuint16(packet, dns_rdatatype_opt);/* type */
315 isc_buffer_putuint16(packet, MAX_EDNS_PACKET); /* class */
316 isc_buffer_putuint8(packet, 0); /* xrcode */
317 isc_buffer_putuint8(packet,
416 add_tsig(isc_buffer_t *packet, perf_dnstsigkey_t *tsigkey) argument
[all...]
/bind-9.11.3/contrib/dlz/modules/mysqldyn/
H A Ddlz_mysqldyn_mod.c640 * Generate a DNS NOTIFY packet:
650 * values to the 'on the wire' packet values.
655 unsigned char *packet = (unsigned char *) malloc(strlen(zone) + 18); local
657 if (packet == NULL)
661 memset(packet, 0, *packetlen);
665 packet[0] = htons(i) & 0xff;
666 packet[1] = htons(i) >> 8;
670 packet[2] = htons(i) & 0xff;
671 packet[3] = htons(i) >> 8;
675 packet[
727 unsigned char *packet; local
[all...]

Completed in 10 milliseconds