Searched refs:gateway_type (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.1-release/contrib/ldns/
H A Dstr2host.c1186 uint8_t gateway_type = 0; local
1218 gateway_type = (uint8_t)atoi(token);
1225 if (!gateway || (gateway_type == 0 &&
1255 if (gateway_type == 1) {
1257 } else if (gateway_type == 2) {
1259 } else if (gateway_type == 3) {
1287 if (gateway_type)
1306 data[1] = gateway_type;
1309 if (gateway_type) {
H A Dhost2str.c1061 uint8_t gateway_type; local
1078 gateway_type = data[1];
1082 switch (gateway_type) {
1148 ldns_buffer_printf(output, "%u %u %u ", precedence, gateway_type, algorithm);
/freebsd-10.1-release/contrib/unbound/ldns/
H A Dwire2str.c1481 uint8_t precedence, gateway_type, algorithm; local
1486 gateway_type = (*d)[1];
1488 if(gateway_type > 3)
1493 (int)precedence, (int)gateway_type, (int)algorithm);
1495 switch(gateway_type) {

Completed in 125 milliseconds