Home
last modified time | relevance | path

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

/linux-6.1.9/net/sctp/
Dstream.c784 struct sctp_strreset_addstrm *addstrm = param.v; in sctp_process_strreset_addstrm_out() local
790 request_seq = ntohl(addstrm->request_seq); in sctp_process_strreset_addstrm_out()
805 in = ntohs(addstrm->number_of_streams); in sctp_process_strreset_addstrm_out()
841 0, ntohs(addstrm->number_of_streams), 0, GFP_ATOMIC); in sctp_process_strreset_addstrm_out()
854 struct sctp_strreset_addstrm *addstrm = param.v; in sctp_process_strreset_addstrm_in() local
862 request_seq = ntohl(addstrm->request_seq); in sctp_process_strreset_addstrm_in()
884 out = ntohs(addstrm->number_of_streams); in sctp_process_strreset_addstrm_in()
1040 struct sctp_strreset_addstrm *addstrm; in sctp_process_strreset_resp() local
1043 addstrm = (struct sctp_strreset_addstrm *)req; in sctp_process_strreset_resp()
1044 nums = ntohs(addstrm->number_of_streams); in sctp_process_strreset_resp()
[all …]
Dsm_make_chunk.c3775 struct sctp_strreset_addstrm addstrm; in sctp_make_strreset_addstrm() local
3776 __u16 size = sizeof(addstrm); in sctp_make_strreset_addstrm()
3784 addstrm.param_hdr.type = SCTP_PARAM_RESET_ADD_OUT_STREAMS; in sctp_make_strreset_addstrm()
3785 addstrm.param_hdr.length = htons(size); in sctp_make_strreset_addstrm()
3786 addstrm.number_of_streams = htons(out); in sctp_make_strreset_addstrm()
3787 addstrm.request_seq = htonl(asoc->strreset_outseq); in sctp_make_strreset_addstrm()
3788 addstrm.reserved = 0; in sctp_make_strreset_addstrm()
3790 sctp_addto_chunk(retval, size, &addstrm); in sctp_make_strreset_addstrm()
3794 addstrm.param_hdr.type = SCTP_PARAM_RESET_ADD_IN_STREAMS; in sctp_make_strreset_addstrm()
3795 addstrm.param_hdr.length = htons(size); in sctp_make_strreset_addstrm()
[all …]