HomeFreeBSD

Sort if.h to reduce ifdef mess:

Description

Sort if.h to reduce ifdef mess:

  • POSIX declarations go first, then go BSD_VISIBLE ones: userland ones first, kernel ones the last.
  • Move IFCOUNTER enum into userland part, we plan to provide API to query particular counters.
  • Use C11 anonymous unions in if_data, to remove ifdefs.

Sponsored by: Nginx, Inc.

Details

Provenance
glebiusAuthored on
Parents
rS287532: When dropping to EL1 ensure we have written to all special registers by
Branches
Unknown
Tags
Unknown