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

/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c870 sdp_media_t *new_media; local
878 new_media = calloc(1, sizeof (sdp_media_t));
879 if (new_media == NULL) {
883 new_media->m_session = session;
889 COMMP_COPY_STR(new_media->m_name, begin, current - begin);
890 if (new_media->m_name == NULL) {
891 sdp_free_media(new_media);
906 if (commp_atoui(begin, current, &new_media->m_port) != 0)
915 if (commp_atoi(begin, current, &new_media->m_portcount) != 0)
918 new_media
[all...]
H A Dsdp.c672 sdp_media_t *new_media; local
681 new_media = calloc(1, sizeof (sdp_media_t));
682 if (new_media == NULL) {
685 new_media->m_session = session;
686 new_media->m_port = port;
687 new_media->m_portcount = portcount;
688 if ((ret = commp_add_str(&new_media->m_name, name, strlen(name))) != 0)
690 if ((ret = commp_add_str(&new_media->m_proto, protocol,
694 if ((ret = sdp_str_to_list(&new_media->m_format, fmt,
700 session->s_media = new_media;
836 sdp_media_t *new_media; local
[all...]

Completed in 63 milliseconds