Home
last modified time | relevance | path

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

/freebsd/contrib/ldns/
H A Dstr2host.c1342 uint8_t gateway_type = 0; in ldns_str2rdf_ipseckey() local
1374 gateway_type = (uint8_t)atoi(token); in ldns_str2rdf_ipseckey()
1381 if (!gateway || (gateway_type == 0 && in ldns_str2rdf_ipseckey()
1411 if (gateway_type == 1) { in ldns_str2rdf_ipseckey()
1413 } else if (gateway_type == 2) { in ldns_str2rdf_ipseckey()
1415 } else if (gateway_type == 3) { in ldns_str2rdf_ipseckey()
1417 } else if (gateway_type > 3) { in ldns_str2rdf_ipseckey()
1445 if (gateway_type) in ldns_str2rdf_ipseckey()
1464 data[1] = gateway_type; in ldns_str2rdf_ipseckey()
1467 if (gateway_type) { in ldns_str2rdf_ipseckey()
H A Dhost2str.c1089 uint8_t gateway_type; in ldns_rdf2buffer_str_ipseckey() local
1106 gateway_type = data[1]; in ldns_rdf2buffer_str_ipseckey()
1110 switch (gateway_type) { in ldns_rdf2buffer_str_ipseckey()
1177 ldns_buffer_printf(output, "%u %u %u ", precedence, gateway_type, algorithm); in ldns_rdf2buffer_str_ipseckey()
/freebsd/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/contrib/unbound/sldns/
H A Dwire2str.c1910 uint8_t precedence, gateway_type, algorithm; in sldns_wire2str_ipseckey_scan_internal() local
1915 gateway_type = (*d)[1]; in sldns_wire2str_ipseckey_scan_internal()
1917 if(gateway_type > 3) in sldns_wire2str_ipseckey_scan_internal()
1922 (int)precedence, (int)gateway_type, (int)algorithm); in sldns_wire2str_ipseckey_scan_internal()
1924 switch(gateway_type) { in sldns_wire2str_ipseckey_scan_internal()