diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-06-22 16:28:52 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-06-22 16:28:52 +0000 |
commit | bfa185cf87a08086dbf1c5a1511f85f3c71ffba7 (patch) | |
tree | 82bfc760cb279faed99e0faa9190ad31973ea089 /sys/netinet/sctp.h | |
parent | 23098a703ac8e491721697eacf342e5e61144188 (diff) | |
download | FreeBSD-src-bfa185cf87a08086dbf1c5a1511f85f3c71ffba7.zip FreeBSD-src-bfa185cf87a08086dbf1c5a1511f85f3c71ffba7.tar.gz |
MFC r263237:
* Provide information in error causes in ASCII instead of
proprietary binary format.
* Add support for a diagnostic information error cause.
The code is sysctlable and the default is 0, which
means it is not sent.
This is joint work with rrs@.
Diffstat (limited to 'sys/netinet/sctp.h')
-rw-r--r-- | sys/netinet/sctp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h index 46d738f..2f7f49b 100644 --- a/sys/netinet/sctp.h +++ b/sys/netinet/sctp.h @@ -365,6 +365,12 @@ struct sctp_paramhdr { /* * error cause parameters (user visible) */ +struct sctp_gen_error_cause { + uint16_t code; + uint16_t length; + uint8_t info[]; +} SCTP_PACKED; + struct sctp_error_cause { uint16_t code; uint16_t length; |