Lines Matching refs:new_conn
414 sdp_conn_t *new_conn; in sdp_add_connection() local
421 new_conn = calloc(1, sizeof (sdp_conn_t)); in sdp_add_connection()
422 if (new_conn == NULL) in sdp_add_connection()
424 new_conn->c_ttl = ttl; in sdp_add_connection()
425 new_conn->c_addrcount = addrcount; in sdp_add_connection()
426 if ((ret = commp_add_str(&new_conn->c_nettype, nettype, in sdp_add_connection()
430 if ((ret = commp_add_str(&new_conn->c_addrtype, addrtype, in sdp_add_connection()
434 if ((ret = commp_add_str(&new_conn->c_address, address, in sdp_add_connection()
439 *conn = new_conn; in sdp_add_connection()
444 tmp->c_next = new_conn; in sdp_add_connection()
448 sdp_free_connection(new_conn); in sdp_add_connection()