Lines Matching refs:m_conn
93 #define SDP_CONNECTION_TO_STR(m_conn) { \ argument
94 while ((m_conn) != NULL) { \
95 if (strcasecmp((m_conn)->c_addrtype, \
97 if ((m_conn)->c_addrcount > 1) { \
99 "%s", (m_conn)->c_nettype, (m_conn)-> \
100 c_addrtype, (m_conn)->c_address, (m_conn)->\
101 c_ttl, (m_conn)->c_addrcount, COMMP_CRLF); \
102 } else if ((m_conn)->c_addrcount == 1) { \
104 (m_conn)->c_nettype, (m_conn)->c_addrtype, \
105 (m_conn)->c_address, (m_conn)->c_ttl, \
109 (m_conn)->c_nettype, (m_conn)->c_addrtype, \
110 (m_conn)->c_address, COMMP_CRLF); \
112 } else if (strcasecmp((m_conn)->c_addrtype, \
114 if ((m_conn)->c_addrcount <= 1) { \
116 (m_conn)->c_nettype, (m_conn)->c_addrtype, \
117 (m_conn)->c_address, COMMP_CRLF); \
120 (m_conn)->c_nettype, (m_conn)->c_addrtype, \
121 (m_conn)->c_address, (m_conn)->c_addrcount,\
125 wrote = snprintf(buf, len, "c=%s %s %s%s", (m_conn)-> \
126 c_nettype, (m_conn)->c_addrtype, (m_conn)-> \
131 (m_conn) = (m_conn)->c_next; \
179 #define SDP_LEN_CONNECTION(m_conn) { \ argument
180 while ((m_conn) != NULL) { \
182 len += strlen((m_conn)->c_nettype); \
183 len += strlen((m_conn)->c_addrtype) + 1; \
184 len += strlen((m_conn)->c_address) + 1; \
185 len += snprintf(buf, 1, "%u", (m_conn)->c_ttl) + 1; \
186 len += snprintf(buf, 1, "%d", (m_conn)->c_addrcount) + 1; \
187 (m_conn) = (m_conn)->c_next; \
809 conn = media->m_conn; in sdp_get_length()
931 conn = media->m_conn; in sdp_clone_session()
932 SDP_ADD_CONNECTION(new_media->m_conn, conn); in sdp_clone_session()
1105 conn = media->m_conn; in sdp_session_to_str()
1204 sdp_free_connection(media->m_conn); in sdp_delete_all_media_field()
1205 media->m_conn = NULL; in sdp_delete_all_media_field()