HomeSort by: relevance | last modified time | path
    Searched refs:todolen (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/unbound/dist/util/data/
msgencode.c 379 compress_rdata(sldns_buffer* pkt, uint8_t* rdata, size_t todolen,
390 todolen -= 2;
391 while(todolen > 0 && count) {
399 todolen -= dname_len;
414 todolen -= len;
420 if(todolen > 0) {
421 if(sldns_buffer_remaining(pkt) < todolen)
423 sldns_buffer_write(pkt, rdata, todolen);
  /src/external/bsd/unbound/dist/services/
listen_dnsport.c 4093 size_t todolen = 2 - stream->nread; local
4099 if(datalen < todolen)
4100 todolen = datalen;
4101 memmove(((uint8_t*)&tcplen)+stream->nread, data, todolen);
4102 stream->nread += todolen;
4103 data += todolen;
4104 datalen -= todolen;

Completed in 24 milliseconds