Searched refs:new_conn (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c400 sdp_conn_t *new_conn; local
409 new_conn = calloc(1, sizeof (sdp_conn_t));
410 if (new_conn == NULL) {
419 COMMP_COPY_STR(new_conn->c_nettype, begin, current - begin);
420 if (new_conn->c_nettype == NULL) {
421 sdp_free_connection(new_conn);
431 COMMP_COPY_STR(new_conn->c_addrtype, begin, current - begin);
432 if (new_conn->c_addrtype == NULL) {
433 sdp_free_connection(new_conn);
438 if ((strlen(COMMP_ADDRTYPE_IP4) == strlen(new_conn
[all...]
H A Dsdp.c411 sdp_conn_t *new_conn; local
418 new_conn = calloc(1, sizeof (sdp_conn_t));
419 if (new_conn == NULL)
421 new_conn->c_ttl = ttl;
422 new_conn->c_addrcount = addrcount;
423 if ((ret = commp_add_str(&new_conn->c_nettype, nettype,
427 if ((ret = commp_add_str(&new_conn->c_addrtype, addrtype,
431 if ((ret = commp_add_str(&new_conn->c_address, address,
436 *conn = new_conn;
441 tmp->c_next = new_conn;
[all...]

Completed in 16 milliseconds