HomeFreeBSD

tcp: remove IS_FASTOPEN() macro

Description

tcp: remove IS_FASTOPEN() macro

The macro is more obfuscating than helping as it just checks a single flag
of t_flags. All other t_flags bits are checked without a macro.

A bigger problem was that declaration of the macro in tcp_var.h depended
on a kernel option. It is a bad practice to create such definitions in
installable headers.

Reviewed by: rscheff, tuexen, kib
Differential Revision: https://reviews.freebsd.org/D44362

Details

Provenance
glebiusAuthored on Mar 18 2024, 3:56 PM
Reviewer
rscheff
Differential Revision
D44362: tcp: remove IS_FASTOPEN() macro
Parents
rGd62c4607e8a3: sockets: remove unused KPIs to manipulate sockets
Branches
Unknown
Tags
Unknown