Home
last modified time | relevance | path

Searched refs:addstrm (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/net/sctp/
Dstream.c786 struct sctp_strreset_addstrm *addstrm = param.v; in sctp_process_strreset_addstrm_out() local
792 request_seq = ntohl(addstrm->request_seq); in sctp_process_strreset_addstrm_out()
807 in = ntohs(addstrm->number_of_streams); in sctp_process_strreset_addstrm_out()
843 0, ntohs(addstrm->number_of_streams), 0, GFP_ATOMIC); in sctp_process_strreset_addstrm_out()
856 struct sctp_strreset_addstrm *addstrm = param.v; in sctp_process_strreset_addstrm_in() local
864 request_seq = ntohl(addstrm->request_seq); in sctp_process_strreset_addstrm_in()
886 out = ntohs(addstrm->number_of_streams); in sctp_process_strreset_addstrm_in()
1042 struct sctp_strreset_addstrm *addstrm; in sctp_process_strreset_resp() local
1045 addstrm = (struct sctp_strreset_addstrm *)req; in sctp_process_strreset_resp()
1046 nums = ntohs(addstrm->number_of_streams); in sctp_process_strreset_resp()
[all …]
Dsm_make_chunk.c3719 struct sctp_strreset_addstrm addstrm; in sctp_make_strreset_addstrm() local
3720 __u16 size = sizeof(addstrm); in sctp_make_strreset_addstrm()
3728 addstrm.param_hdr.type = SCTP_PARAM_RESET_ADD_OUT_STREAMS; in sctp_make_strreset_addstrm()
3729 addstrm.param_hdr.length = htons(size); in sctp_make_strreset_addstrm()
3730 addstrm.number_of_streams = htons(out); in sctp_make_strreset_addstrm()
3731 addstrm.request_seq = htonl(asoc->strreset_outseq); in sctp_make_strreset_addstrm()
3732 addstrm.reserved = 0; in sctp_make_strreset_addstrm()
3734 sctp_addto_chunk(retval, size, &addstrm); in sctp_make_strreset_addstrm()
3738 addstrm.param_hdr.type = SCTP_PARAM_RESET_ADD_IN_STREAMS; in sctp_make_strreset_addstrm()
3739 addstrm.param_hdr.length = htons(size); in sctp_make_strreset_addstrm()
[all …]