diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-11-08 06:20:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-08 23:18:32 +0100 |
commit | 8d2a6935d842f12c25611b165eace778adb09a53 (patch) | |
tree | 96fcfbf086db7a183aafeac719bb5a63a5dfd70e /include/net/sctp | |
parent | sctp: add SCTP_ADDR_POTENTIALLY_FAILED notification (diff) | |
download | linux-8d2a6935d842f12c25611b165eace778adb09a53.tar.xz linux-8d2a6935d842f12c25611b165eace778adb09a53.zip |
sctp: add SCTP_EXPOSE_POTENTIALLY_FAILED_STATE sockopt
This is a sockopt defined in section 7.3 of rfc7829: "Exposing
the Potentially Failed Path State", by which users can change
pf_expose per sock and asoc.
The new sockopt SCTP_EXPOSE_POTENTIALLY_FAILED_STATE is also
known as SCTP_EXPOSE_PF_STATE for short.
v2->v3:
- return -EINVAL if params.assoc_value > SCTP_PF_EXPOSE_MAX.
- define SCTP_EXPOSE_PF_STATE SCTP_EXPOSE_POTENTIALLY_FAILED_STATE.
v3->v4:
- improve changelog.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
0 files changed, 0 insertions, 0 deletions