| 89 | } while (0) |
| 90 | |
| 91 | static inline const str *get_adv_host(const struct socket_info *send_sock) |
| 92 | { |
| 93 | if(send_sock->adv_name_str.len) |
| 94 | return &(send_sock->adv_name_str); |
| 95 | else if (default_global_address->s) |
| 96 | return default_global_address; |
| 97 | else |
| 98 | return &(send_sock->address_str); |
| 99 | } |
| 100 | |
| 101 | static inline const str *get_adv_port(const struct socket_info *send_sock) |
| 102 | { |
no outgoing calls
no test coverage detected