diff options
author | tuexen <tuexen@FreeBSD.org> | 2013-08-22 19:28:13 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2013-08-22 19:28:13 +0000 |
commit | bb850902cd5affbeac1349f4a5441d511f8ecd11 (patch) | |
tree | 684a8562c2aecccba8820324a4446450b1d50116 /sys/netinet | |
parent | e25f6a560e1e37654c030e8b907daf8ebfae9c40 (diff) | |
download | FreeBSD-src-bb850902cd5affbeac1349f4a5441d511f8ecd11.zip FreeBSD-src-bb850902cd5affbeac1349f4a5441d511f8ecd11.tar.gz |
Make also the features of the association 64-bit.
When exporting to xinpcb, just export the lower
32-bit. Using there also 64-bits will break the
ABI and will be committed separetly.
MFC after: 2 weeks
X-MFC with: 254248
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/sctp_structs.h | 2 | ||||
-rw-r--r-- | sys/netinet/sctp_sysctl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/sctp_structs.h b/sys/netinet/sctp_structs.h index bc18f0e..508e0e1 100644 --- a/sys/netinet/sctp_structs.h +++ b/sys/netinet/sctp_structs.h @@ -1205,7 +1205,7 @@ struct sctp_association { /* JRS 5/21/07 - CMT PF variable */ uint8_t sctp_cmt_pf; uint8_t use_precise_time; - uint32_t sctp_features; + uint64_t sctp_features; uint16_t port; /* remote UDP encapsulation port */ /* * The mapping array is used to track out of order sequences above diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c index 53e9b04..9430bd7 100644 --- a/sys/netinet/sctp_sysctl.c +++ b/sys/netinet/sctp_sysctl.c @@ -402,7 +402,7 @@ sctp_assoclist(SYSCTL_HANDLER_ARGS) xinpcb.last = 0; xinpcb.local_port = ntohs(inp->sctp_lport); xinpcb.flags = inp->sctp_flags; - xinpcb.features = inp->sctp_features; + xinpcb.features = (uint32_t) inp->sctp_features; xinpcb.total_sends = inp->total_sends; xinpcb.total_recvs = inp->total_recvs; xinpcb.total_nospaces = inp->total_nospaces; |