MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / get_adv_host

Function get_adv_host

msg_translator.h:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 } while (0)
90
91static 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
101static inline const str *get_adv_port(const struct socket_info *send_sock)
102{

Callers 3

via_builderFunction · 0.85
contact_builderFunction · 0.85
b2b_sdp_demux_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected