Home
last modified time | relevance | path

Searched refs:svcparamkey (Results 1 – 6 of 6) sorted by relevance

/openbsd/usr.sbin/nsd/
H A Drdata.c651 buffer_print_svcparamkey(buffer_type *output, uint16_t svcparamkey) in buffer_print_svcparamkey() argument
653 if (svcparamkey < SVCPARAMKEY_COUNT) in buffer_print_svcparamkey()
654 buffer_printf(output, "%s", svcparamkey_strs[svcparamkey]); in buffer_print_svcparamkey()
656 buffer_printf(output, "key%d", (int)svcparamkey); in buffer_print_svcparamkey()
807 uint16_t svcparamkey, val_len; in rdata_svcparam_to_string() local
813 svcparamkey = ntohs(data[0]); in rdata_svcparam_to_string()
815 buffer_print_svcparamkey(output, svcparamkey); in rdata_svcparam_to_string()
821 switch (svcparamkey) { in rdata_svcparam_to_string()
833 switch (svcparamkey) { in rdata_svcparam_to_string()
H A Dzonec.c1117 uint16_t svcparamkey = svcbparam_lookup_key(key, key_len); in zparser_conv_svcbparam_key_value() local
1120 switch (svcparamkey) { in zparser_conv_svcbparam_key_value()
1145 r[1] = htons(svcparamkey); in zparser_conv_svcbparam_key_value()
1157 uint16_t svcparamkey; in zparser_conv_svcbparam() local
1179 svcparamkey = svcbparam_lookup_key(key, key_len); in zparser_conv_svcbparam()
1180 switch (svcparamkey) { in zparser_conv_svcbparam()
1197 r[1] = htons(svcparamkey); in zparser_conv_svcbparam()
/openbsd/usr.sbin/unbound/sldns/
H A Dstr2wire.c1338 int svcparamkey; in sldns_str2wire_svcbparam_mandatory() local
1341 svcparamkey = sldns_str2wire_svcparam_key_lookup(val, val_len); in sldns_str2wire_svcbparam_mandatory()
1343 if (svcparamkey < 0) { in sldns_str2wire_svcbparam_mandatory()
1347 sldns_write_uint16(rd + *rd_len, svcparamkey); in sldns_str2wire_svcbparam_mandatory()
1353 if (svcparamkey < 0) { in sldns_str2wire_svcbparam_mandatory()
1358 svcparamkey); in sldns_str2wire_svcbparam_mandatory()
1556 if (svcparamkey < 0) { in sldns_str2wire_svcparam_value()
1562 switch (svcparamkey) { in sldns_str2wire_svcparam_value()
1575 sldns_write_uint16(rd, svcparamkey); in sldns_str2wire_svcparam_value()
1584 switch (svcparamkey) { in sldns_str2wire_svcparam_value()
[all …]
H A Dwire2str.c1024 sldns_print_svcparamkey(char** s, size_t* slen, uint16_t svcparamkey) in sldns_print_svcparamkey() argument
1026 if (svcparamkey < SVCPARAMKEY_COUNT) { in sldns_print_svcparamkey()
1027 return sldns_str_print(s, slen, "%s", svcparamkey_strs[svcparamkey]); in sldns_print_svcparamkey()
1030 return sldns_str_print(s, slen, "key%d", (int)svcparamkey); in sldns_print_svcparamkey()
1188 uint16_t svcparamkey, data_len; in sldns_wire2str_svcparam_scan() local
1196 svcparamkey = sldns_read_uint16(*d); in sldns_wire2str_svcparam_scan()
1205 written_chars += sldns_print_svcparamkey(s, slen, svcparamkey); in sldns_wire2str_svcparam_scan()
1209 switch (svcparamkey) { in sldns_wire2str_svcparam_scan()
1222 switch (svcparamkey) { in sldns_wire2str_svcparam_scan()
/openbsd/sbin/unwind/libunbound/sldns/
H A Dstr2wire.c1338 int svcparamkey; in sldns_str2wire_svcbparam_mandatory() local
1341 svcparamkey = sldns_str2wire_svcparam_key_lookup(val, val_len); in sldns_str2wire_svcbparam_mandatory()
1343 if (svcparamkey < 0) { in sldns_str2wire_svcbparam_mandatory()
1347 sldns_write_uint16(rd + *rd_len, svcparamkey); in sldns_str2wire_svcbparam_mandatory()
1353 if (svcparamkey < 0) { in sldns_str2wire_svcbparam_mandatory()
1358 svcparamkey); in sldns_str2wire_svcbparam_mandatory()
1556 if (svcparamkey < 0) { in sldns_str2wire_svcparam_value()
1562 switch (svcparamkey) { in sldns_str2wire_svcparam_value()
1575 sldns_write_uint16(rd, svcparamkey); in sldns_str2wire_svcparam_value()
1584 switch (svcparamkey) { in sldns_str2wire_svcparam_value()
[all …]
H A Dwire2str.c1024 sldns_print_svcparamkey(char** s, size_t* slen, uint16_t svcparamkey) in sldns_print_svcparamkey() argument
1026 if (svcparamkey < SVCPARAMKEY_COUNT) { in sldns_print_svcparamkey()
1027 return sldns_str_print(s, slen, "%s", svcparamkey_strs[svcparamkey]); in sldns_print_svcparamkey()
1030 return sldns_str_print(s, slen, "key%d", (int)svcparamkey); in sldns_print_svcparamkey()
1188 uint16_t svcparamkey, data_len; in sldns_wire2str_svcparam_scan() local
1196 svcparamkey = sldns_read_uint16(*d); in sldns_wire2str_svcparam_scan()
1205 written_chars += sldns_print_svcparamkey(s, slen, svcparamkey); in sldns_wire2str_svcparam_scan()
1209 switch (svcparamkey) { in sldns_wire2str_svcparam_scan()
1222 switch (svcparamkey) { in sldns_wire2str_svcparam_scan()