Home
last modified time | relevance | path

Searched refs:adflength (Results 1 – 4 of 4) sorted by relevance

/dports/dns/getdns/getdns-1.5.2/src/gldns/
H A Dstr2wire.c1120 size_t adflength = 0; in gldns_str2wire_apl_buf() local
1163 adflength = i + 1; in gldns_str2wire_apl_buf()
1172 adflength = i + 1; in gldns_str2wire_apl_buf()
1185 data[3] = (uint8_t)adflength; in gldns_str2wire_apl_buf()
1191 if(*len < 4+adflength) in gldns_str2wire_apl_buf()
1193 memmove(rd, data, 4+adflength); in gldns_str2wire_apl_buf()
1194 *len = 4+adflength; in gldns_str2wire_apl_buf()
H A Dwire2str.c1149 uint8_t negation, prefix, adflength; in gldns_wire2str_apl_scan() local
1154 adflength = ((*d)[3] & GLDNS_APL_MASK); in gldns_wire2str_apl_scan()
1155 if(*dl < 4+(size_t)adflength) return -1; in gldns_wire2str_apl_scan()
1167 if(i < (int)adflength) in gldns_wire2str_apl_scan()
1177 if(i < (int)adflength) in gldns_wire2str_apl_scan()
1183 (*d) += 4+adflength; in gldns_wire2str_apl_scan()
1184 (*dl) -= 4+adflength; in gldns_wire2str_apl_scan()
/dports/dns/unbound/unbound-1.14.0/sldns/
H A Dstr2wire.c1802 size_t adflength = 0; in sldns_str2wire_apl_buf() local
1845 adflength = i + 1; in sldns_str2wire_apl_buf()
1854 adflength = i + 1; in sldns_str2wire_apl_buf()
1867 data[3] = (uint8_t)adflength; in sldns_str2wire_apl_buf()
1873 if(*len < 4+adflength) in sldns_str2wire_apl_buf()
1875 memmove(rd, data, 4+adflength); in sldns_str2wire_apl_buf()
1876 *len = 4+adflength; in sldns_str2wire_apl_buf()
H A Dwire2str.c1438 uint8_t negation, prefix, adflength; in sldns_wire2str_apl_scan() local
1443 adflength = ((*d)[3] & LDNS_APL_MASK); in sldns_wire2str_apl_scan()
1444 if(*dl < 4+(size_t)adflength) return -1; in sldns_wire2str_apl_scan()
1456 if(i < (int)adflength) in sldns_wire2str_apl_scan()
1466 if(i < (int)adflength) in sldns_wire2str_apl_scan()
1472 (*d) += 4+adflength; in sldns_wire2str_apl_scan()
1473 (*dl) -= 4+adflength; in sldns_wire2str_apl_scan()