Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dsctp_uio.h265 #define PR_SCTP_POLICY(x) ((x) & 0x0f) macro
266 #define PR_SCTP_ENABLED(x) ((PR_SCTP_POLICY(x) != SCTP_PR_SCTP_NONE) && \
267 (PR_SCTP_POLICY(x) != SCTP_PR_SCTP_ALL))
268 #define PR_SCTP_TTL_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_TTL)
269 #define PR_SCTP_BUF_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_BUF)
270 #define PR_SCTP_RTX_ENABLED(x) (PR_SCTP_POLICY(x) == SCTP_PR_SCTP_RTX)
271 #define PR_SCTP_INVALID_POLICY(x) (PR_SCTP_POLICY(x) > SCTP_PR_SCTP_MAX)
272 #define PR_SCTP_VALID_POLICY(x) (PR_SCTP_POLICY(x) <= SCTP_PR_SCTP_MAX)
H A Dsctp_usrreq.c3138 info->pr_policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
3147 info->pr_policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);
6193 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
6211 policy = PR_SCTP_POLICY(inp->def_send.sinfo_flags);
6226 policy = PR_SCTP_POLICY(stcb->asoc.def_send.sinfo_flags);
H A Dsctputil.c5085 stcb->asoc.abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5088 stcb->asoc.strmout[sid].abandoned_sent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5092 stcb->asoc.abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
5095 stcb->asoc.strmout[sid].abandoned_unsent[PR_SCTP_POLICY(tp1->flags)]++; in sctp_release_pr_sctp_chunk()
H A Dsctp_output.c6340 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6343 sp->act_flags |= PR_SCTP_POLICY(sp->sinfo_flags); in sctp_set_prsctp_policy()
6347 switch (PR_SCTP_POLICY(sp->sinfo_flags)) { in sctp_set_prsctp_policy()
6381 PR_SCTP_POLICY(sp->sinfo_flags)); in sctp_set_prsctp_policy()