Lines Matching refs:msglen
77 sip_get_msglen(char *p, size_t msglen)
87 edge = p + msglen;
91 if ((hlen + strlen("content-length")) >= msglen)
128 sip_get_tcp_msg(sip_conn_object_t obj, char *msg, size_t *msglen)
139 assert(*msglen > 0);
140 msgbuf = (char *)malloc(*msglen + 1);
143 (void) strncpy(msgbuf, msg, *msglen);
144 msgbuf[*msglen] = '\0';
155 value = sip_get_msglen(msg, *msglen);
156 if (value == *msglen) {
174 value = sip_get_msglen(msg, *msglen);
175 if (value == *msglen) {
181 reass->sip_reass_msglen = *msglen;
190 int newlen = reass->sip_reass_msglen + *msglen;
205 (void) strncat(newmsg, msg, *msglen);
221 *msglen = reass->sip_reass_msglen;
246 *msglen = value;