diff options
author | tuexen <tuexen@FreeBSD.org> | 2013-08-22 20:29:57 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2013-08-22 20:29:57 +0000 |
commit | 239274d550eb887c888528568f5e53921fb5ba75 (patch) | |
tree | 38093855193c587d8a1c34fabaf5dc23034ef84c /sys/netinet | |
parent | c5fb44c57d58c630c21aee0c7a316ae09aa33a84 (diff) | |
download | FreeBSD-src-239274d550eb887c888528568f5e53921fb5ba75.zip FreeBSD-src-239274d550eb887c888528568f5e53921fb5ba75.tar.gz |
Export the inpcb features as a 64-bit entity.
Bump __FreeBSD_version to 1000048 since the
modified structure is user visible and used
by netstat, for example.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/sctp_sysctl.c | 2 | ||||
-rw-r--r-- | sys/netinet/sctp_uio.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c index 9430bd7..53e9b04 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 = (uint32_t) inp->sctp_features; + xinpcb.features = inp->sctp_features; xinpcb.total_sends = inp->total_sends; xinpcb.total_recvs = inp->total_recvs; xinpcb.total_nospaces = inp->total_nospaces; diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h index 794c10b..d482c61 100644 --- a/sys/netinet/sctp_uio.h +++ b/sys/netinet/sctp_uio.h @@ -1149,7 +1149,7 @@ union sctp_sockstore { struct xsctp_inpcb { uint32_t last; uint32_t flags; - uint32_t features; + uint64_t features; uint32_t total_sends; uint32_t total_recvs; uint32_t total_nospaces; @@ -1157,7 +1157,7 @@ struct xsctp_inpcb { uint16_t local_port; uint16_t qlen; uint16_t maxqlen; - uint32_t extra_padding[32]; /* future */ + uint32_t extra_padding[31]; /* future */ }; struct xsctp_tcb { |