summaryrefslogtreecommitdiff
path: root/include/crypto/drbg.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2016-07-09 19:47:41 +0800
committerDavid S. Miller <davem@davemloft.net>2016-07-11 13:25:38 -0700
commitf959fb442c35f4b61fea341401b8463dd0a1b959 (patch)
tree8e039e6a62d97bedf18d27287955446d5da5b9b3 /include/crypto/drbg.h
parent28aa4c26fce2202db8d42ae76b639ca1d9a23d25 (diff)
downloadlinux-next-f959fb442c35f4b61fea341401b8463dd0a1b959.tar.gz
sctp: add SCTP_DEFAULT_PRINFO into sctp sockopt
This patch adds SCTP_DEFAULT_PRINFO to sctp sockopt. It is used to set/get sctp Partially Reliable Policies' default params, which includes 3 policies (ttl, rtx, prio) and their values. Still, if we set policy params in sndinfo, we will use the params of sndinfo against chunks, instead of the default params. In this patch, we will use 5-8bit of sp/asoc->default_flags to store prsctp policies, and reuse asoc->default_timetolive to store their values. It means if we enable and set prsctp policy, prior ttl timeout in sctp will not work any more. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/crypto/drbg.h')
0 files changed, 0 insertions, 0 deletions