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.
This commit is contained in:
parent
8ac6a7aa17
commit
6be15a24c4
@ -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;
|
||||
|
@ -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 {
|
||||
|
@ -58,7 +58,7 @@
|
||||
* in the range 5 to 9.
|
||||
*/
|
||||
#undef __FreeBSD_version
|
||||
#define __FreeBSD_version 1000047 /* Master, propagated to newvers */
|
||||
#define __FreeBSD_version 1000048 /* Master, propagated to newvers */
|
||||
|
||||
/*
|
||||
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
|
||||
|
Loading…
x
Reference in New Issue
Block a user