Searched refs:dnsp (Results 1 – 2 of 2) sorted by relevance
77 unsigned char *dnsp, /* buffer */ in doh_encode() argument82 unsigned char *orig = dnsp; in doh_encode()88 *dnsp++ = 0; /* 16 bit id */ in doh_encode()89 *dnsp++ = 0; in doh_encode()90 *dnsp++ = 0x01; /* |QR| Opcode |AA|TC|RD| Set the RD bit */ in doh_encode()91 *dnsp++ = '\0'; /* |RA| Z | RCODE | */ in doh_encode()92 *dnsp++ = '\0'; in doh_encode()93 *dnsp++ = 1; /* QDCOUNT (number of entries in the question section) */ in doh_encode()94 *dnsp++ = '\0'; in doh_encode()95 *dnsp++ = '\0'; /* ANCOUNT */ in doh_encode()[all …]
96 unsigned char *dnsp, /* buffer */