Searched refs:eom (Results 1 – 7 of 7) sorted by relevance
87 int dn_expand(const uint8_t* msg, const uint8_t* eom, const uint8_t* src, char* dst, int dstsiz) { in dn_expand() argument88 int n = ns_name_uncompress(msg, eom, src, dst, (size_t) dstsiz); in dn_expand()107 int dn_skipname(const uint8_t* ptr, const uint8_t* eom) { in dn_skipname() argument110 if (ns_name_skip(&ptr, eom) == -1) return (-1); in dn_skipname()
125 if (eom - (ptr) < (count)) goto no_recovery; \134 const uint8_t *eom, *erdata; in getanswer() local149 eom = answer->buf + anslen; in getanswer()177 n = dn_expand(answer->buf, eom, cp, bp, (int) (ep - bp)); in getanswer()197 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()198 n = dn_expand(answer->buf, eom, cp, bp, (int) (ep - bp)); in getanswer()219 n = dn_expand(answer->buf, eom, cp, tbuf, (int) sizeof tbuf); in getanswer()246 n = dn_expand(answer->buf, eom, cp, tbuf, (int) sizeof tbuf); in getanswer()279 n = dn_expand(answer->buf, eom, cp, bp, (int) (ep - bp)); in getanswer()
21 int dn_expand(const uint8_t* msg, const uint8_t* eom, const uint8_t* src, char* dst, int dstsiz);23 int dn_skipname(const uint8_t* ptr, const uint8_t* eom);
834 if (eom - (ptr) < (count)) { \850 const uint8_t* eom; in getanswer() local863 eom = answer.data() + anslen; in getanswer()889 n = dn_expand(answer.data(), eom, cp, bp, ep - bp); in getanswer()912 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()913 n = dn_expand(answer.data(), eom, cp, bp, ep - bp); in getanswer()933 n = dn_expand(answer.data(), eom, cp, tbuf, sizeof tbuf); in getanswer()
346 int res_nameinquery(const char* name, int type, int cl, const uint8_t* buf, const uint8_t* eom) { in res_nameinquery() argument352 int n = dn_expand(buf, eom, cp, tname, sizeof tname); in res_nameinquery()355 if (cp + 2 * INT16SZ > eom) return (-1); in res_nameinquery()
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...