Home | History | Annotate | Download | only in netinet

Lines Matching refs:p_len

5705 	int p_len;
6186 p_len = sizeof(*pr_supported) + num_ext;
6187 pr_supported->ph.param_length = htons(p_len);
6188 bzero((caddr_t)pr_supported + p_len, SCTP_SIZE32(p_len) - p_len);
6189 SCTP_BUF_LEN(m) += SCTP_SIZE32(p_len);
6202 p_len = sizeof(*randp) + random_len;
6203 randp->ph.param_length = htons(p_len);
6206 bzero((caddr_t)randp + p_len, SCTP_SIZE32(p_len) - p_len);
6207 SCTP_BUF_LEN(m) += SCTP_SIZE32(p_len);
6211 p_len = sctp_serialize_hmaclist(inp->sctp_ep.local_hmacs,
6213 if (p_len > 0) {
6214 p_len += sizeof(*hmacs);
6216 hmacs->ph.param_length = htons(p_len);
6218 bzero((caddr_t)hmacs + p_len, SCTP_SIZE32(p_len) - p_len);
6219 SCTP_BUF_LEN(m) += SCTP_SIZE32(p_len);
6223 p_len = sctp_serialize_auth_chunks(inp->sctp_ep.local_auth_chunks,
6225 if (p_len > 0) {
6226 p_len += sizeof(*chunks);
6228 chunks->ph.param_length = htons(p_len);
6230 bzero((caddr_t)chunks + p_len, SCTP_SIZE32(p_len) - p_len);
6231 SCTP_BUF_LEN(m) += SCTP_SIZE32(p_len);
6284 p_len = 0;
6286 p_len += SCTP_BUF_LEN(m_tmp);
6304 p_len += SCTP_BUF_LEN(m_tmp);
6314 initack->ch.chunk_length = htons(p_len);
6327 padval = p_len % 4;