| 114 | } |
| 115 | |
| 116 | std::string_view |
| 117 | NetVCOptions::get_family_string() const |
| 118 | { |
| 119 | switch (ip_family) { |
| 120 | case AF_INET: |
| 121 | return IP_PROTO_TAG_IPV4; |
| 122 | case AF_INET6: |
| 123 | return IP_PROTO_TAG_IPV6; |
| 124 | default: |
| 125 | break; |
| 126 | } |
| 127 | return {}; |
| 128 | } |
no outgoing calls
no test coverage detected