Lines Matching refs:sctp_paramhdr
1976 struct sctp_paramhdr *parmh;
1998 parmh = (struct sctp_paramhdr *)(SCTP_BUF_AT(m, SCTP_BUF_LEN(m)));
2012 parmh = mtod(mret, struct sctp_paramhdr *);
3740 struct sctp_paramhdr *ph;
3746 sizeof(struct sctp_paramhdr)), 0,
3786 ph = mtod(mret, struct sctp_paramhdr *);
3788 sizeof(struct sctp_paramhdr);
3790 sizeof(struct sctp_paramhdr));
4875 struct sctp_paramhdr *ph;
4954 parameter_len = (uint16_t)sizeof(struct sctp_paramhdr);
4997 parameter_len = (uint16_t)sizeof(struct sctp_paramhdr);
4998 ph = (struct sctp_paramhdr *)(mtod(m, caddr_t) + chunk_len);
5029 parameter_len = (uint16_t)sizeof(struct sctp_paramhdr);
5030 ph = (struct sctp_paramhdr *)(mtod(m, caddr_t) + chunk_len);
5042 parameter_len = (uint16_t)sizeof(struct sctp_paramhdr);
5043 ph = (struct sctp_paramhdr *)(mtod(m, caddr_t) + chunk_len);
5182 struct sctp_paramhdr *phdr, params;
5198 while ((phdr != NULL) && ((size_t)limit >= sizeof(struct sctp_paramhdr))) {
5201 if ((plen > limit) || (plen < sizeof(struct sctp_paramhdr))) {
5284 if (padded_size != sizeof(struct sctp_paramhdr)) {
5326 l_len += sizeof(struct sctp_paramhdr);
5345 struct sctp_paramhdr s;
5358 phdr = sctp_get_next_param(mat, at, (struct sctp_paramhdr *)tempbuf, min(sizeof(tempbuf),plen));
5392 l_len += sizeof(struct sctp_paramhdr);
5407 struct sctp_paramhdr s;
5423 phdr = sctp_get_next_param(mat, at, (struct sctp_paramhdr *)tempbuf, min(sizeof(tempbuf),plen));
5465 l_len += (2 * sizeof(struct sctp_paramhdr));
5479 struct sctp_paramhdr s;
5489 s.param_length = htons(sizeof(s) + sizeof(struct sctp_paramhdr));
5493 m_copyback(op_err, err_at, sizeof(struct sctp_paramhdr), (caddr_t)phdr);
5511 struct sctp_paramhdr *phdr, params;
5585 (struct sctp_paramhdr *)&p4_buf, sizeof(p4_buf));
5602 (struct sctp_paramhdr *)&p6_buf, sizeof(p6_buf));
6166 struct sctp_paramhdr *ph;
6168 ph = (struct sctp_paramhdr *)(mtod(m, caddr_t) + SCTP_BUF_LEN(m));
6170 ph->param_length = htons(sizeof(struct sctp_paramhdr));
6171 SCTP_BUF_LEN(m) += sizeof(struct sctp_paramhdr);
6321 SCTP_SECRET_SIZE, m_cookie, sizeof(struct sctp_paramhdr),
6853 SCTP_BUF_PREPEND(m, sizeof(struct sctp_paramhdr), M_NOWAIT);
6855 m = sctp_get_mbuf_for_msg(sizeof(struct sctp_paramhdr),
6857 SCTP_BUF_LEN(m) = sizeof(struct sctp_paramhdr);
6860 struct sctp_paramhdr *ph;
6862 ph = mtod(m, struct sctp_paramhdr *);
6864 ph->param_length = htons(sizeof(struct sctp_paramhdr) + ca->sndlen);
9224 struct sctp_paramhdr parm, *phdr;
13416 mm = sctp_get_mbuf_for_msg(sizeof(struct sctp_paramhdr), 0, M_WAITOK, 1, MT_DATA);
13425 tot_demand = (tot_out + sizeof(struct sctp_paramhdr));
13439 max_out = asoc->smallest_mtu - sizeof(struct sctp_paramhdr);
13445 struct sctp_paramhdr *ph;
13448 ph = mtod(mm, struct sctp_paramhdr *);
13450 ph->param_length = htons(sizeof(struct sctp_paramhdr) + tot_out);
13452 SCTP_BUF_LEN(mm) = tot_out + sizeof(struct sctp_paramhdr);