Lines Matching refs:sndrcvinfo
2004 struct sctp_sndrcvinfo *sndrcvinfo; in dgram_sctp_read() local
2006 sndrcvinfo = in dgram_sctp_read()
2008 data->rcvinfo.rcv_sid = sndrcvinfo->sinfo_stream; in dgram_sctp_read()
2009 data->rcvinfo.rcv_ssn = sndrcvinfo->sinfo_ssn; in dgram_sctp_read()
2010 data->rcvinfo.rcv_flags = sndrcvinfo->sinfo_flags; in dgram_sctp_read()
2011 data->rcvinfo.rcv_ppid = sndrcvinfo->sinfo_ppid; in dgram_sctp_read()
2012 data->rcvinfo.rcv_tsn = sndrcvinfo->sinfo_tsn; in dgram_sctp_read()
2013 data->rcvinfo.rcv_cumtsn = sndrcvinfo->sinfo_cumtsn; in dgram_sctp_read()
2014 data->rcvinfo.rcv_context = sndrcvinfo->sinfo_context; in dgram_sctp_read()
2196 struct sctp_sndrcvinfo *sndrcvinfo; in dgram_sctp_write() local
2262 sndrcvinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in dgram_sctp_write()
2263 memset(sndrcvinfo, 0, sizeof(*sndrcvinfo)); in dgram_sctp_write()
2264 sndrcvinfo->sinfo_stream = sinfo->snd_sid; in dgram_sctp_write()
2265 sndrcvinfo->sinfo_flags = sinfo->snd_flags; in dgram_sctp_write()
2267 sndrcvinfo->sinfo_flags |= pinfo->pr_policy; in dgram_sctp_write()
2269 sndrcvinfo->sinfo_ppid = sinfo->snd_ppid; in dgram_sctp_write()
2270 sndrcvinfo->sinfo_context = sinfo->snd_context; in dgram_sctp_write()
2271 sndrcvinfo->sinfo_timetolive = pinfo->pr_value; in dgram_sctp_write()