Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/ldns/
H A Dstr2host.c1228 uint8_t gateway_type = 0; in ldns_str2rdf_ipseckey() local
1260 gateway_type = (uint8_t)atoi(token); in ldns_str2rdf_ipseckey()
1267 if (!gateway || (gateway_type == 0 && in ldns_str2rdf_ipseckey()
1297 if (gateway_type == 1) { in ldns_str2rdf_ipseckey()
1299 } else if (gateway_type == 2) { in ldns_str2rdf_ipseckey()
1301 } else if (gateway_type == 3) { in ldns_str2rdf_ipseckey()
1329 if (gateway_type) in ldns_str2rdf_ipseckey()
1348 data[1] = gateway_type; in ldns_str2rdf_ipseckey()
1351 if (gateway_type) { in ldns_str2rdf_ipseckey()
H A Dhost2str.c1062 uint8_t gateway_type; in ldns_rdf2buffer_str_ipseckey() local
1079 gateway_type = data[1]; in ldns_rdf2buffer_str_ipseckey()
1083 switch (gateway_type) { in ldns_rdf2buffer_str_ipseckey()
1149 ldns_buffer_printf(output, "%u %u %u ", precedence, gateway_type, algorithm); in ldns_rdf2buffer_str_ipseckey()
/freebsd-13.1/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-13.1/contrib/unbound/sldns/
H A Dwire2str.c1838 uint8_t precedence, gateway_type, algorithm; in sldns_wire2str_ipseckey_scan_internal() local
1843 gateway_type = (*d)[1]; in sldns_wire2str_ipseckey_scan_internal()
1845 if(gateway_type > 3) in sldns_wire2str_ipseckey_scan_internal()
1850 (int)precedence, (int)gateway_type, (int)algorithm); in sldns_wire2str_ipseckey_scan_internal()
1852 switch(gateway_type) { in sldns_wire2str_ipseckey_scan_internal()