Home
last modified time | relevance | path

Searched refs:PR_SCTP_POLICY (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/netinet/
H A Dsctp_uio.h268 #define PR_SCTP_POLICY(x) ((x) & 0x0f) macro
269 #define PR_SCTP_ENABLED(x) ((PR_SCTP_POLICY(x) != SCTP_PR_SCTP_NONE) && \
270 (PR_SCTP_POLICY(x) != SCTP_PR_SCTP_ALL))
271 #define PR_SCTP_TTL_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_TTL)
272 #define PR_SCTP_BUF_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_BUF)
273 #define PR_SCTP_RTX_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_RTX)
274 #define PR_SCTP_INVALID_POLICY(x) (PR_SCTP_POLICY(x) > SCTP_PR_SCTP_MAX)
275 #define PR_SCTP_VALID_POLICY(x) (PR_SCTP_POLICY(x) <= SCTP_PR_SCTP_MAX)
H A Dsctp_usrreq.c3145 info->pr_policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
3154 info->pr_policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);
6216 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
6234 policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);
6249 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
H A Dsctputil.c5024 stcb->asoc.abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5027 stcb->asoc.strmout[sid].abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5031 stcb->asoc.abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5034 stcb->asoc.strmout[sid].abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
H A Dsctp_output.c6263 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6266 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6270 switch (PR_SCTP_POLICY(sp->sinfo_flags)) { in sctp_set_prsctp_policy()
6304 PR_SCTP_POLICY(sp->sinfo_flags)); in sctp_set_prsctp_policy()
/f-stack/tools/compat/include/netinet/
H A Dsctp_uio.h268 #define PR_SCTP_POLICY(x) ((x) & 0x0f) macro
269 #define PR_SCTP_ENABLED(x) ((PR_SCTP_POLICY(x) != SCTP_PR_SCTP_NONE) && \
270 (PR_SCTP_POLICY(x) != SCTP_PR_SCTP_ALL))
271 #define PR_SCTP_TTL_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_TTL)
272 #define PR_SCTP_BUF_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_BUF)
273 #define PR_SCTP_RTX_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_RTX)
274 #define PR_SCTP_INVALID_POLICY(x) (PR_SCTP_POLICY(x) > SCTP_PR_SCTP_MAX)
275 #define PR_SCTP_VALID_POLICY(x) (PR_SCTP_POLICY(x) <= SCTP_PR_SCTP_MAX)