Lines Matching refs:sctp_paramhdr
168 struct sctp_paramhdr *parmh;
182 parmh = (struct sctp_paramhdr *)(m->m_data + m->m_len);
196 parmh = mtod(mret, struct sctp_paramhdr *);
234 struct sctp_paramhdr *ph;
258 ph = mtod(mret, struct sctp_paramhdr *);
260 sizeof(struct sctp_paramhdr);
262 sizeof(struct sctp_paramhdr));
308 SCTP_SECRET_SIZE, mret, sizeof(struct sctp_paramhdr),
2911 struct sctp_paramhdr *phdr, params;
2932 while ((phdr != NULL) && ((size_t)limit >= sizeof(struct sctp_paramhdr))) {
2936 if (plen < sizeof(struct sctp_paramhdr)) {
2996 struct sctp_paramhdr s;
3007 phdr = sctp_get_next_param(mat, at, (struct sctp_paramhdr *)tempbuf, plen);
3050 struct sctp_paramhdr s;
3064 phdr = sctp_get_next_param(mat, at, (struct sctp_paramhdr *)tempbuf, plen);
3111 struct sctp_paramhdr *phdr, params;
3179 (struct sctp_paramhdr *)&p4_buf, sizeof(p4_buf));
3191 (struct sctp_paramhdr *)&p6_buf, sizeof(p6_buf));
4169 M_PREPEND(m, sizeof(struct sctp_paramhdr), M_DONTWAIT);
4171 struct sctp_paramhdr *ph;
4172 m->m_len = sizeof(struct sctp_paramhdr) + dataout;
4173 ph = mtod(m, struct sctp_paramhdr *);
6038 struct sctp_paramhdr parm, *phdr;
9439 struct sctp_paramhdr *ph;
9441 tot_demand = (tot_out + sizeof(struct sctp_paramhdr));
9446 tot_out = tot_demand - sizeof(struct sctp_paramhdr);
9452 tot_out = tot_demand - sizeof(struct sctp_paramhdr);
9456 ph = mtod(mm, struct sctp_paramhdr *);
9458 ph->param_length = htons((sizeof(struct sctp_paramhdr) + tot_out));
9460 mm->m_pkthdr.len = tot_out + sizeof(struct sctp_paramhdr);