Home
last modified time | relevance | path

Searched refs:SCTP_PR_SCTP_MASK (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dsctp.h152 #define SCTP_PR_SCTP_MASK 0x0030 macro
157 #define SCTP_PR_POLICY(x) ((x) & SCTP_PR_SCTP_MASK)
160 flags &= ~SCTP_PR_SCTP_MASK; \
/openbmc/linux/net/sctp/
H A Dsocket.c3990 if (info->pr_policy & ~SCTP_PR_SCTP_MASK) in sctp_setsockopt_default_prinfo()
7426 if (!policy || (policy & ~(SCTP_PR_SCTP_MASK | SCTP_PR_SCTP_ALL)) || in sctp_getsockopt_pr_assocstatus()
7427 ((policy & SCTP_PR_SCTP_ALL) && (policy & SCTP_PR_SCTP_MASK))) in sctp_getsockopt_pr_assocstatus()
7486 if (!policy || (policy & ~(SCTP_PR_SCTP_MASK | SCTP_PR_SCTP_ALL)) || in sctp_getsockopt_pr_streamstatus()
7487 ((policy & SCTP_PR_SCTP_ALL) && (policy & SCTP_PR_SCTP_MASK))) in sctp_getsockopt_pr_streamstatus()
8878 SCTP_PR_SCTP_MASK | SCTP_ABORT | SCTP_EOF)) in sctp_msghdr_parse()
8902 SCTP_PR_SCTP_MASK | SCTP_ABORT | SCTP_EOF)) in sctp_msghdr_parse()
8919 if (cmsgs->prinfo->pr_policy & ~SCTP_PR_SCTP_MASK) in sctp_msghdr_parse()