Searched refs:SCTP_PR_SCTP_MASK (Results 1 – 2 of 2) sorted by relevance
152 #define SCTP_PR_SCTP_MASK 0x0030 macro157 #define SCTP_PR_POLICY(x) ((x) & SCTP_PR_SCTP_MASK)160 flags &= ~SCTP_PR_SCTP_MASK; \
3999 if (info->pr_policy & ~SCTP_PR_SCTP_MASK) in sctp_setsockopt_default_prinfo() 7483 if (!policy || (policy & ~(SCTP_PR_SCTP_MASK | SCTP_PR_SCTP_ALL)) || in sctp_getsockopt_pr_assocstatus() 7484 ((policy & SCTP_PR_SCTP_ALL) && (policy & SCTP_PR_SCTP_MASK))) in sctp_getsockopt_pr_assocstatus() 7543 if (!policy || (policy & ~(SCTP_PR_SCTP_MASK | SCTP_PR_SCTP_ALL)) || in sctp_getsockopt_pr_streamstatus() 7544 ((policy & SCTP_PR_SCTP_ALL) && (policy & SCTP_PR_SCTP_MASK))) in sctp_getsockopt_pr_streamstatus() 8921 SCTP_PR_SCTP_MASK | SCTP_ABORT | SCTP_EOF)) in sctp_msghdr_parse() 8945 SCTP_PR_SCTP_MASK | SCTP_ABORT | SCTP_EOF)) in sctp_msghdr_parse() 8962 if (cmsgs->prinfo->pr_policy & ~SCTP_PR_SCTP_MASK) in sctp_msghdr_parse()