Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112034830
D22267.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
D22267.diff
View Options
Index: sys/netinet/tcp.h
===================================================================
--- sys/netinet/tcp.h
+++ sys/netinet/tcp.h
@@ -278,9 +278,6 @@
* left for growth. In order to maximize potential future compatibility with
* the Linux API, the same variable names and order have been adopted, and
* padding left to make room for omitted fields in case they are added later.
- *
- * XXX: This is currently an unstable ABI/API, in that it is expected to
- * change.
*/
struct tcp_info {
u_int8_t tcpi_state; /* TCP FSM state. */
@@ -335,6 +332,7 @@
/* Padding to grow without breaking ABI. */
u_int32_t __tcpi_pad[26]; /* Padding. */
};
+_Static_assert(sizeof(struct tcp_info) == 236, "tcp_info ABI mismatch");
/*
* If this structure is provided when setting the TCP_FASTOPEN socket
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 9:24 PM (8 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17126348
Default Alt Text
D22267.diff (815 B)
Attached To
Mode
D22267: Make sure the 'struct tcp_info' is stable
Attached
Detach File
Event Timeline
Log In to Comment