Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
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; \
/linux/net/sctp/
A Dsocket.c3980 if (info->pr_policy & ~SCTP_PR_SCTP_MASK) in sctp_setsockopt_default_prinfo()
7415 if (!policy || (policy & ~(SCTP_PR_SCTP_MASK | SCTP_PR_SCTP_ALL)) || in sctp_getsockopt_pr_assocstatus()
7416 ((policy & SCTP_PR_SCTP_ALL) && (policy & SCTP_PR_SCTP_MASK))) in sctp_getsockopt_pr_assocstatus()
7475 if (!policy || (policy & ~(SCTP_PR_SCTP_MASK | SCTP_PR_SCTP_ALL)) || in sctp_getsockopt_pr_streamstatus()
7476 ((policy & SCTP_PR_SCTP_ALL) && (policy & SCTP_PR_SCTP_MASK))) in sctp_getsockopt_pr_streamstatus()
8838 SCTP_PR_SCTP_MASK | SCTP_ABORT | SCTP_EOF)) in sctp_msghdr_parse()
8862 SCTP_PR_SCTP_MASK | SCTP_ABORT | SCTP_EOF)) in sctp_msghdr_parse()
8879 if (cmsgs->prinfo->pr_policy & ~SCTP_PR_SCTP_MASK) in sctp_msghdr_parse()

Completed in 22 milliseconds