Home
last modified time | relevance | path

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

/Linux-v6.6/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.c3767 struct sctp_strreset_addstrm addstrm; in sctp_make_strreset_addstrm() local
3768 __u16 size = sizeof(addstrm); in sctp_make_strreset_addstrm()
3776 addstrm.param_hdr.type = SCTP_PARAM_RESET_ADD_OUT_STREAMS; in sctp_make_strreset_addstrm()
3777 addstrm.param_hdr.length = htons(size); in sctp_make_strreset_addstrm()
3778 addstrm.number_of_streams = htons(out); in sctp_make_strreset_addstrm()
3779 addstrm.request_seq = htonl(asoc->strreset_outseq); in sctp_make_strreset_addstrm()
3780 addstrm.reserved = 0; in sctp_make_strreset_addstrm()
3782 sctp_addto_chunk(retval, size, &addstrm); in sctp_make_strreset_addstrm()
3786 addstrm.param_hdr.type = SCTP_PARAM_RESET_ADD_IN_STREAMS; in sctp_make_strreset_addstrm()
3787 addstrm.param_hdr.length = htons(size); in sctp_make_strreset_addstrm()
[all …]