Lines Matching refs:sndrcvinfo
1061 struct sctp_sndrcvinfo *sndrcvinfo;
1063 sndrcvinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg);
1064 data->rcvinfo.rcv_sid = sndrcvinfo->sinfo_stream;
1065 data->rcvinfo.rcv_ssn = sndrcvinfo->sinfo_ssn;
1066 data->rcvinfo.rcv_flags = sndrcvinfo->sinfo_flags;
1067 data->rcvinfo.rcv_ppid = sndrcvinfo->sinfo_ppid;
1068 data->rcvinfo.rcv_tsn = sndrcvinfo->sinfo_tsn;
1069 data->rcvinfo.rcv_cumtsn = sndrcvinfo->sinfo_cumtsn;
1070 data->rcvinfo.rcv_context = sndrcvinfo->sinfo_context;
1238 struct sctp_sndrcvinfo *sndrcvinfo;
1303 sndrcvinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg);
1304 memset(sndrcvinfo, 0, sizeof(struct sctp_sndrcvinfo));
1305 sndrcvinfo->sinfo_stream = sinfo->snd_sid;
1306 sndrcvinfo->sinfo_flags = sinfo->snd_flags;
1308 sndrcvinfo->sinfo_flags |= pinfo->pr_policy;
1310 sndrcvinfo->sinfo_ppid = sinfo->snd_ppid;
1311 sndrcvinfo->sinfo_context = sinfo->snd_context;
1312 sndrcvinfo->sinfo_timetolive = pinfo->pr_value;