Lines Matching defs:strreq
4977 struct sctp_stream_reset_req *strreq;
4979 strreq = mtod(chk->data, struct sctp_stream_reset_req *);
4980 if (strreq->sr_req.ph.param_type == ntohs(SCTP_STR_RESET_RESPONSE)) {
6512 struct sctp_stream_reset_req *strreq;
6513 strreq = mtod(chk->data, struct sctp_stream_reset_req *);
6514 if (strreq->sr_req.ph.param_type != ntohs(SCTP_STR_RESET_REQUEST)) {
8835 struct sctp_stream_reset_req *strreq;
8896 strreq = mtod(chk->data, struct sctp_stream_reset_req *);
8897 strreq->ch.chunk_type = SCTP_STREAM_RESET;
8898 strreq->ch.chunk_flags = 0;
8899 strreq->ch.chunk_length = htons(chk->send_size);
8901 strreq->sr_req.ph.param_type = ntohs(SCTP_STR_RESET_REQUEST);
8902 strreq->sr_req.ph.param_length = htons((chk->send_size - sizeof(struct sctp_chunkhdr)));
8908 end = (uint8_t *)((vaddr_t)strreq + chk->send_size);
8916 strreq->sr_req.reset_flags = 0;
8918 strreq->sr_req.reset_flags |= SCTP_RESET_ALL;
8921 strreq->sr_req.reset_flags |= SCTP_RESET_YOUR;
8924 strreq->sr_req.reset_flags |= SCTP_RECIPRICAL | SCTP_RESET_YOUR;
8926 strreq->sr_req.reset_flags |= SCTP_RECIPRICAL;
8929 memset(strreq->sr_req.reset_pad, 0, sizeof(strreq->sr_req.reset_pad));
8930 strreq->sr_req.reset_req_seq = htonl(asoc->str_reset_seq_out);
8935 strreq->sr_req.list_of_streams[i] = htons(list[i]);