Home
last modified time | relevance | path

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

/freebsd-13.1/sys/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.c3153 info->pr_policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
3162 info->pr_policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);
6214 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
6232 policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);
6247 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
H A Dsctputil.c5048 stcb->asoc.abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5051 stcb->asoc.strmout[sid].abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5055 stcb->asoc.abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5058 stcb->asoc.strmout[sid].abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
H A Dsctp_output.c6271 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6274 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6278 switch (PR_SCTP_POLICY(sp->sinfo_flags)) { in sctp_set_prsctp_policy()
6312 PR_SCTP_POLICY(sp->sinfo_flags)); in sctp_set_prsctp_policy()