Lines Matching refs:sinfo_flags
3518 sndrcvinfo->sinfo_flags = sndinfo.snd_flags; in sctp_find_cmsg()
3533 sndrcvinfo->sinfo_flags |= prinfo.pr_policy; in sctp_find_cmsg()
6339 if (PR_SCTP_ENABLED(sp->sinfo_flags)) { in sctp_set_prsctp_policy()
6340 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6342 sp->sinfo_flags |= SCTP_PR_SCTP_TTL; in sctp_set_prsctp_policy()
6343 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6347 switch (PR_SCTP_POLICY(sp->sinfo_flags)) { in sctp_set_prsctp_policy()
6381 PR_SCTP_POLICY(sp->sinfo_flags)); in sctp_set_prsctp_policy()
6443 sp->sinfo_flags = srcv->sinfo_flags; in sctp_msg_append()
6448 if (sp->sinfo_flags & SCTP_ADDR_OVER) { in sctp_msg_append()
6699 if (ca->sndrcv.sinfo_flags & SCTP_ABORT) { in sctp_sendall_iterator()
6742 if (ca->sndrcv.sinfo_flags & SCTP_EOF) { in sctp_sendall_iterator()
6955 ca->sndrcv.sinfo_flags &= ~SCTP_SENDALL; in sctp_sendall()
7351 if (sp->sinfo_flags & SCTP_SACK_IMMEDIATELY) { in sctp_move_to_outqueue()
7391 if (sp->sinfo_flags & SCTP_UNORDERED) { in sctp_move_to_outqueue()
7395 (sp->sinfo_flags & SCTP_EOF) == SCTP_EOF) { in sctp_move_to_outqueue()
12460 sp->sinfo_flags = srcv->sinfo_flags; in sctp_copy_it_in()
12470 (srcv->sinfo_flags & SCTP_EOF) || in sctp_copy_it_in()
12471 (user_marks_eor && (srcv->sinfo_flags & SCTP_EOR)))) { in sctp_copy_it_in()
12499 if (sp->sinfo_flags & SCTP_ADDR_OVER) { in sctp_copy_it_in()
12591 uint16_t sinfo_flags; in sctp_lower_sosend() local
12673 sinfo_flags = sndrcvninfo->sinfo_flags; in sctp_lower_sosend()
12674 if (INVALID_SINFO_FLAG(sinfo_flags) || in sctp_lower_sosend()
12675 PR_SCTP_INVALID_POLICY(sinfo_flags)) { in sctp_lower_sosend()
12679 if (sinfo_flags != 0) { in sctp_lower_sosend()
12684 sinfo_flags = inp->def_send.sinfo_flags; in sctp_lower_sosend()
12688 sinfo_flags |= SCTP_EOR; in sctp_lower_sosend()
12691 sinfo_flags |= SCTP_EOF; in sctp_lower_sosend()
12693 if ((sinfo_flags & SCTP_ADDR_OVER) && (addr == NULL)) { in sctp_lower_sosend()
12698 if ((sinfo_flags & SCTP_SENDALL) && in sctp_lower_sosend()
12794 if ((sinfo_flags & SCTP_ABORT) || in sctp_lower_sosend()
12795 ((sinfo_flags & SCTP_EOF) && (sndlen == 0))) { in sctp_lower_sosend()
12873 sinfo_flags = sndrcvninfo->sinfo_flags; in sctp_lower_sosend()
12875 sinfo_flags |= SCTP_EOR; in sctp_lower_sosend()
12878 sinfo_flags |= SCTP_EOF; in sctp_lower_sosend()
12882 if (sinfo_flags & SCTP_ABORT) { in sctp_lower_sosend()
12986 if (sinfo_flags & SCTP_ADDR_OVER) { in sctp_lower_sosend()
13005 if (sinfo_flags & SCTP_EOF) { in sctp_lower_sosend()
13251 if (sinfo_flags & SCTP_UNORDERED) { in sctp_lower_sosend()
13341 if (sinfo_flags & SCTP_SACK_IMMEDIATELY) { in sctp_lower_sosend()
13342 sp->sinfo_flags |= SCTP_SACK_IMMEDIATELY; in sctp_lower_sosend()
13348 (sinfo_flags & SCTP_EOF) || in sctp_lower_sosend()
13349 (user_marks_eor && (sinfo_flags & SCTP_EOR)))) { in sctp_lower_sosend()
13559 if ((sinfo_flags & SCTP_EOF) != 0) { in sctp_lower_sosend()
13576 if ((sinfo_flags & SCTP_EOF) && got_all_of_the_send) { in sctp_lower_sosend()