Lines Matching defs:datalen
267 u16 datalen; /* Length of data; -1 if data is a label */
1737 evdns_server_request_add_reply(struct evdns_server_request *_req, int section, const char *name, int type, int class, int ttl, int datalen, int is_name, const char *data)
1779 item->datalen = 0;
1788 item->datalen = (u16)-1;
1790 if (!(item->data = mm_malloc(datalen))) {
1795 item->datalen = datalen;
1796 memcpy(item->data, data, datalen);
1936 APPEND16(item->datalen);
1937 if (j+item->datalen > (off_t)buf_len)
1939 memcpy(buf+j, item->data, item->datalen);
1940 j += item->datalen;