Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_uio.h287 #define PR_SCTP_POLICY(x) ((x) & 0x0f) macro
288 #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)
Dsctp_usrreq.c3837 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);
Dsctputil.c5554 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)]++;
Dsctp_output.c6832 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));
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Dusrsctp.h508 #define PR_SCTP_POLICY(x) ((x) & 0x0f) macro
509 #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)
Duser_socket.c857 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()