Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/netinet/
Dsctp_uio.h270 #define PR_SCTP_POLICY(x) ((x) & 0x0f) macro
271 #define PR_SCTP_ENABLED(x) ((PR_SCTP_POLICY(x) != SCTP_PR_SCTP_NONE) && \
272 (PR_SCTP_POLICY(x) != SCTP_PR_SCTP_ALL))
273 #define PR_SCTP_TTL_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_TTL)
274 #define PR_SCTP_BUF_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_BUF)
275 #define PR_SCTP_RTX_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_RTX)
276 #define PR_SCTP_INVALID_POLICY(x) (PR_SCTP_POLICY(x) > SCTP_PR_SCTP_MAX)
277 #define PR_SCTP_VALID_POLICY(x) (PR_SCTP_POLICY(x) <= SCTP_PR_SCTP_MAX)
Dsctp_usrreq.c3135 info->pr_policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
3144 info->pr_policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);
6208 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
6226 policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);
6241 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
Dsctputil.c5029 stcb->asoc.abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5032 stcb->asoc.strmout[sid].abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5036 stcb->asoc.abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5039 stcb->asoc.strmout[sid].abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
Dsctp_output.c6261 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6264 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6268 switch (PR_SCTP_POLICY(sp->sinfo_flags)) { in sctp_set_prsctp_policy()
6302 PR_SCTP_POLICY(sp->sinfo_flags)); in sctp_set_prsctp_policy()