diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:01:35 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:01:35 +0000 |
commit | b33760ea4b44ba1f0bb5c5f8e190f82322d0f604 (patch) | |
tree | ce6e07d19750b7f6ccc2250bd0227b7c8fa7309e /sys/netinet/sctp_structs.h | |
parent | a4786844b5aed176a639f1a041df00e694738983 (diff) | |
download | FreeBSD-src-b33760ea4b44ba1f0bb5c5f8e190f82322d0f604.zip FreeBSD-src-b33760ea4b44ba1f0bb5c5f8e190f82322d0f604.tar.gz |
MFC r269448:
Add support for the SCTP_PR_SUPPORTED socket option as specified in
http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-prpolicies
Add also a sysctl controlling the default of the end-points.
Diffstat (limited to 'sys/netinet/sctp_structs.h')
-rw-r--r-- | sys/netinet/sctp_structs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/sctp_structs.h b/sys/netinet/sctp_structs.h index 701dc8a..1da3216 100644 --- a/sys/netinet/sctp_structs.h +++ b/sys/netinet/sctp_structs.h @@ -1150,8 +1150,9 @@ struct sctp_association { * sum is updated as well. */ - /* Flag to tell if ECN is allowed */ + /* Flags whether an extension is supported or not */ uint8_t ecn_supported; + uint8_t prsctp_supported; /* Did the peer make the stream config (add out) request */ uint8_t peer_req_out; @@ -1160,8 +1161,6 @@ struct sctp_association { uint8_t peer_supports_asconf; /* EY - flag to indicate if peer can do nr_sack */ uint8_t peer_supports_nr_sack; - /* pr-sctp support flag */ - uint8_t peer_supports_prsctp; /* peer authentication support flag */ uint8_t peer_supports_auth; /* stream resets are supported by the peer */ |