Home
last modified time | relevance | path

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

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