Searched refs:PR_SCTP_POLICY (Results 1 – 6 of 6) sorted by relevance
287 #define PR_SCTP_POLICY(x) ((x) & 0x0f) macro288 #define PR_SCTP_ENABLED(x) ((PR_SCTP_POLICY(x) != SCTP_PR_SCTP_NONE) && \289 (PR_SCTP_POLICY(x) != SCTP_PR_SCTP_ALL))290 #define PR_SCTP_TTL_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_TTL)291 #define PR_SCTP_BUF_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_BUF)292 #define PR_SCTP_RTX_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_RTX)293 #define PR_SCTP_INVALID_POLICY(x) (PR_SCTP_POLICY(x) > SCTP_PR_SCTP_MAX)294 #define PR_SCTP_VALID_POLICY(x) (PR_SCTP_POLICY(x) <= SCTP_PR_SCTP_MAX)
3837 info->pr_policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);3846 info->pr_policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);7084 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);7102 policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);7117 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
5554 stcb->asoc.abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++;5557 stcb->asoc.strmout[sid].abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++;5561 stcb->asoc.abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++;5564 stcb->asoc.strmout[sid].abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++;
6832 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags);6835 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags);6839 switch (PR_SCTP_POLICY(sp->sinfo_flags)) {6875 PR_SCTP_POLICY(sp->sinfo_flags));
508 #define PR_SCTP_POLICY(x) ((x) & 0x0f) macro509 #define PR_SCTP_ENABLED(x) (PR_SCTP_POLICY(x) != SCTP_PR_SCTP_NONE)510 #define PR_SCTP_TTL_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_TTL)511 #define PR_SCTP_BUF_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_BUF)512 #define PR_SCTP_RTX_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_RTX)513 #define PR_SCTP_INVALID_POLICY(x) (PR_SCTP_POLICY(x) > SCTP_PR_SCTP_RTX)
857 sinfo.sinfo_flags = PR_SCTP_POLICY(((struct sctp_prinfo *)info)->pr_policy); in usrsctp_sendv()881 sinfo.sinfo_flags |= PR_SCTP_POLICY(((struct sctp_sendv_spa *)info)->sendv_prinfo.pr_policy); in usrsctp_sendv()