Skip to content
Snippets Groups Projects
Commit e27bab3a authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Don't include the padding in struct tcp_info for FreeBSD

No all variants of FreeBSD this test suite runs on follow the
layout.
parent 18a216cd
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ struct _tcp_info {
u_int8_t __tcpi_backoff;
u_int8_t tcpi_options;
u_int8_t tcpi_snd_wscale:4,
tcpi_rcv_wscale:4;
tcpi_rcv_wscale:4;
u_int32_t tcpi_rto;
u_int32_t __tcpi_ato;
......@@ -223,9 +223,6 @@ struct _tcp_info {
u_int32_t tcpi_snd_rexmitpack;
u_int32_t tcpi_rcv_ooopack;
u_int32_t tcpi_snd_zerowin;
/* Padding to grow without breaking ABI. */
u_int32_t __tcpi_pad[26]; /* Padding. */
};
#endif /* __FreeBSD__ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment