Searched refs:new_conn (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/lib/libcommputil/common/ |
H A D | sdp_parse.c | 400 sdp_conn_t *new_conn; in sdp_parse_connection() local 409 new_conn = calloc(1, sizeof (sdp_conn_t)); in sdp_parse_connection() 410 if (new_conn == NULL) { in sdp_parse_connection() 419 COMMP_COPY_STR(new_conn->c_nettype, begin, current - begin); in sdp_parse_connection() 420 if (new_conn->c_nettype == NULL) { in sdp_parse_connection() 421 sdp_free_connection(new_conn); in sdp_parse_connection() 431 COMMP_COPY_STR(new_conn->c_addrtype, begin, current - begin); in sdp_parse_connection() 432 if (new_conn->c_addrtype == NULL) { in sdp_parse_connection() 433 sdp_free_connection(new_conn); in sdp_parse_connection() 438 if ((strlen(COMMP_ADDRTYPE_IP4) == strlen(new_conn->c_addrtype)) && in sdp_parse_connection() [all …]
|
H A D | sdp.c | 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() [all …]
|