Searched refs:OPT_LEN (Results 1 - 3 of 3) sorted by relevance

/openbsd-current/usr.sbin/nsd/
H A Dedns.h17 #define OPT_LEN 9U /* Length of the NSD EDNS response record minus 2 */ macro
18 #define OPT_RDATA 2 /* holds the rdata length comes after OPT_LEN */
27 char ok[OPT_LEN];
28 char error[OPT_LEN];
H A Dedns.c140 if (!buffer_available(packet, (OPT_LEN + OPT_RDATA)))
195 : (OPT_LEN + OPT_RDATA + edns->opt_reserved_space);
H A Dquery.c1618 buffer_limit(q->packet) >= QHEADERSZ+OPT_LEN+
1771 buffer_write(q->packet, edns->ok, OPT_LEN);
1825 buffer_write(q->packet, edns->error, OPT_LEN);

Completed in 122 milliseconds