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

/linux-master/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; \
315 /* 2 bits here have been used by SCTP_PR_SCTP_MASK */
/linux-master/net/sctp/
H A Dsocket.c3991 if (info->pr_policy & ~SCTP_PR_SCTP_MASK)
7426 if (!policy || (policy & ~(SCTP_PR_SCTP_MASK | SCTP_PR_SCTP_ALL)) ||
7427 ((policy & SCTP_PR_SCTP_ALL) && (policy & SCTP_PR_SCTP_MASK)))
7486 if (!policy || (policy & ~(SCTP_PR_SCTP_MASK | SCTP_PR_SCTP_ALL)) ||
7487 ((policy & SCTP_PR_SCTP_ALL) && (policy & SCTP_PR_SCTP_MASK)))
8868 SCTP_PR_SCTP_MASK | SCTP_ABORT | SCTP_EOF))
8892 SCTP_PR_SCTP_MASK | SCTP_ABORT | SCTP_EOF))
8909 if (cmsgs->prinfo->pr_policy & ~SCTP_PR_SCTP_MASK)

Completed in 143 milliseconds