/ NetVCOptions
| 100 | // NetVCOptions |
| 101 | // |
| 102 | std::string_view |
| 103 | NetVCOptions::get_proto_string() const |
| 104 | { |
| 105 | switch (ip_proto) { |
| 106 | case USE_TCP: |
| 107 | return IP_PROTO_TAG_TCP; |
| 108 | case USE_UDP: |
| 109 | return IP_PROTO_TAG_UDP; |
| 110 | default: |
| 111 | break; |
| 112 | } |
| 113 | return {}; |
| 114 | } |
| 115 | |
| 116 | std::string_view |
| 117 | NetVCOptions::get_family_string() const |
no outgoing calls
no test coverage detected