HomeFreeBSD

sctp: #ifdef INET-only and INET6-only variables.

Description

sctp: #ifdef INET-only and INET6-only variables.

Duplicating the SCTP_PCB_FLAGS_BOUND_V6 check made the #ifdef's
simpler than applying #ifdef's directly to the original code. Modern
compilers should cache the result rather than testing the flag twice.

Details

Provenance
jhbAuthored on Apr 13 2022, 11:08 PM
Parents
rGac3e46fa3ece: infiniband_resolve_addr: ih is only used for INET or INET6.
Branches
Unknown
Tags
Unknown