Lines Matching refs:srinfo
1594 struct sctp_sndrcvinfo *srinfo, in sctp_sendmsg_parse() argument
1613 memset(srinfo, 0, sizeof(*srinfo)); in sctp_sendmsg_parse()
1614 if (cmsgs->srinfo) { in sctp_sendmsg_parse()
1615 srinfo->sinfo_stream = cmsgs->srinfo->sinfo_stream; in sctp_sendmsg_parse()
1616 srinfo->sinfo_flags = cmsgs->srinfo->sinfo_flags; in sctp_sendmsg_parse()
1617 srinfo->sinfo_ppid = cmsgs->srinfo->sinfo_ppid; in sctp_sendmsg_parse()
1618 srinfo->sinfo_context = cmsgs->srinfo->sinfo_context; in sctp_sendmsg_parse()
1619 srinfo->sinfo_assoc_id = cmsgs->srinfo->sinfo_assoc_id; in sctp_sendmsg_parse()
1620 srinfo->sinfo_timetolive = cmsgs->srinfo->sinfo_timetolive; in sctp_sendmsg_parse()
1624 srinfo->sinfo_stream = cmsgs->sinfo->snd_sid; in sctp_sendmsg_parse()
1625 srinfo->sinfo_flags = cmsgs->sinfo->snd_flags; in sctp_sendmsg_parse()
1626 srinfo->sinfo_ppid = cmsgs->sinfo->snd_ppid; in sctp_sendmsg_parse()
1627 srinfo->sinfo_context = cmsgs->sinfo->snd_context; in sctp_sendmsg_parse()
1628 srinfo->sinfo_assoc_id = cmsgs->sinfo->snd_assoc_id; in sctp_sendmsg_parse()
1632 srinfo->sinfo_timetolive = cmsgs->prinfo->pr_value; in sctp_sendmsg_parse()
1633 SCTP_PR_SET_POLICY(srinfo->sinfo_flags, in sctp_sendmsg_parse()
1637 sflags = srinfo->sinfo_flags; in sctp_sendmsg_parse()
1917 if (!cmsgs->srinfo && !cmsgs->sinfo) { in sctp_sendmsg_update_sinfo()
1927 if (!cmsgs->srinfo && !cmsgs->prinfo) in sctp_sendmsg_update_sinfo()
8585 cmsgs->srinfo = CMSG_DATA(cmsg); in sctp_msghdr_parse()
8587 if (cmsgs->srinfo->sinfo_flags & in sctp_msghdr_parse()