Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/ldns/
H A Dstr2host.c1279 uint8_t gateway_type = 0; in ldns_str2rdf_ipseckey() local
1311 gateway_type = (uint8_t)atoi(token); in ldns_str2rdf_ipseckey()
1318 if (!gateway || (gateway_type == 0 && in ldns_str2rdf_ipseckey()
1348 if (gateway_type == 1) { in ldns_str2rdf_ipseckey()
1350 } else if (gateway_type == 2) { in ldns_str2rdf_ipseckey()
1352 } else if (gateway_type == 3) { in ldns_str2rdf_ipseckey()
1354 } else if (gateway_type > 3) { in ldns_str2rdf_ipseckey()
1382 if (gateway_type) in ldns_str2rdf_ipseckey()
1401 data[1] = gateway_type; in ldns_str2rdf_ipseckey()
1404 if (gateway_type) { in ldns_str2rdf_ipseckey()
H A Dhost2str.c1080 uint8_t gateway_type; in ldns_rdf2buffer_str_ipseckey() local
1097 gateway_type = data[1]; in ldns_rdf2buffer_str_ipseckey()
1101 switch (gateway_type) { in ldns_rdf2buffer_str_ipseckey()
1168 ldns_buffer_printf(output, "%u %u %u ", precedence, gateway_type, algorithm); in ldns_rdf2buffer_str_ipseckey()
/freebsd-14.2/contrib/unbound/ipsecmod/
H A Dipsecmod.c216 int precedence, gateway_type, algorithm; in ipseckey_has_safe_characters() local
224 &precedence, &gateway_type, &algorithm, gateway) != 4) { in ipseckey_has_safe_characters()
228 if(gateway_type != 3) { in ipseckey_has_safe_characters()
/freebsd-14.2/contrib/unbound/sldns/
H A Dwire2str.c1881 uint8_t precedence, gateway_type, algorithm; in sldns_wire2str_ipseckey_scan_internal() local
1886 gateway_type = (*d)[1]; in sldns_wire2str_ipseckey_scan_internal()
1888 if(gateway_type > 3) in sldns_wire2str_ipseckey_scan_internal()
1893 (int)precedence, (int)gateway_type, (int)algorithm); in sldns_wire2str_ipseckey_scan_internal()
1895 switch(gateway_type) { in sldns_wire2str_ipseckey_scan_internal()