Lines Matching defs:p_len
5522 int p_len;
5946 p_len = sizeof(*pr_supported) + num_ext;
5947 pr_supported->ph.param_length = htons(p_len);
5948 bzero((caddr_t)pr_supported + p_len, SCTP_SIZE32(p_len) - p_len);
5949 SCTP_BUF_LEN(m) += SCTP_SIZE32(p_len);
5962 p_len = sizeof(*randp) + random_len;
5963 randp->ph.param_length = htons(p_len);
5966 bzero((caddr_t)randp + p_len, SCTP_SIZE32(p_len) - p_len);
5967 SCTP_BUF_LEN(m) += SCTP_SIZE32(p_len);
5971 p_len = sctp_serialize_hmaclist(inp->sctp_ep.local_hmacs,
5973 if (p_len > 0) {
5974 p_len += sizeof(*hmacs);
5976 hmacs->ph.param_length = htons(p_len);
5978 bzero((caddr_t)hmacs + p_len, SCTP_SIZE32(p_len) - p_len);
5979 SCTP_BUF_LEN(m) += SCTP_SIZE32(p_len);
5983 p_len = sctp_serialize_auth_chunks(inp->sctp_ep.local_auth_chunks,
5985 if (p_len > 0) {
5986 p_len += sizeof(*chunks);
5988 chunks->ph.param_length = htons(p_len);
5990 bzero((caddr_t)chunks + p_len, SCTP_SIZE32(p_len) - p_len);
5991 SCTP_BUF_LEN(m) += SCTP_SIZE32(p_len);
6044 p_len = 0;
6046 p_len += SCTP_BUF_LEN(m_tmp);
6064 p_len += SCTP_BUF_LEN(m_tmp);
6075 initack->ch.chunk_length = htons(p_len);
6089 padval = p_len % 4;