Lines Matching refs:sndrcvinfo
1041 struct sctp_sndrcvinfo *sndrcvinfo; in dgram_sctp_read() local
1043 sndrcvinfo = in dgram_sctp_read()
1045 data->rcvinfo.rcv_sid = sndrcvinfo->sinfo_stream; in dgram_sctp_read()
1046 data->rcvinfo.rcv_ssn = sndrcvinfo->sinfo_ssn; in dgram_sctp_read()
1047 data->rcvinfo.rcv_flags = sndrcvinfo->sinfo_flags; in dgram_sctp_read()
1048 data->rcvinfo.rcv_ppid = sndrcvinfo->sinfo_ppid; in dgram_sctp_read()
1049 data->rcvinfo.rcv_tsn = sndrcvinfo->sinfo_tsn; in dgram_sctp_read()
1050 data->rcvinfo.rcv_cumtsn = sndrcvinfo->sinfo_cumtsn; in dgram_sctp_read()
1051 data->rcvinfo.rcv_context = sndrcvinfo->sinfo_context; in dgram_sctp_read()
1235 struct sctp_sndrcvinfo *sndrcvinfo; in dgram_sctp_write() local
1301 sndrcvinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in dgram_sctp_write()
1302 memset(sndrcvinfo, 0, sizeof(*sndrcvinfo)); in dgram_sctp_write()
1303 sndrcvinfo->sinfo_stream = sinfo->snd_sid; in dgram_sctp_write()
1304 sndrcvinfo->sinfo_flags = sinfo->snd_flags; in dgram_sctp_write()
1306 sndrcvinfo->sinfo_flags |= pinfo->pr_policy; in dgram_sctp_write()
1308 sndrcvinfo->sinfo_ppid = sinfo->snd_ppid; in dgram_sctp_write()
1309 sndrcvinfo->sinfo_context = sinfo->snd_context; in dgram_sctp_write()
1310 sndrcvinfo->sinfo_timetolive = pinfo->pr_value; in dgram_sctp_write()