| 1468 | } |
| 1469 | |
| 1470 | int |
| 1471 | UnixNetVConnection::populate_protocol(std::string_view *results, int n) const |
| 1472 | { |
| 1473 | int retval = 0; |
| 1474 | if (n > retval) { |
| 1475 | if (!(results[retval] = options.get_proto_string()).empty()) { |
| 1476 | ++retval; |
| 1477 | } |
| 1478 | if (n > retval) { |
| 1479 | if (!(results[retval] = options.get_family_string()).empty()) { |
| 1480 | ++retval; |
| 1481 | } |
| 1482 | } |
| 1483 | } |
| 1484 | return retval; |
| 1485 | } |
| 1486 | |
| 1487 | const char * |
| 1488 | UnixNetVConnection::protocol_contains(std::string_view tag) const |
nothing calls this directly
no test coverage detected