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