HomeFreeBSD

kqueue: Define older kqueue event types better

Description

kqueue: Define older kqueue event types better

struct kqueue is designed to live in a restricted namespace, but the
older compat versions are not. Shift to using unsigned short instead
of u_short, unsigned int instead of u_int and the __*int*_t types
instead of the unprefiexed versions.

Sponsored by: Netflix
Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D33056

Details

Provenance
impAuthored on Nov 23 2021, 5:51 PM
Reviewer
brooks
Differential Revision
D33056: kqueue: Define older kqueue event types better
Parents
R10:319e9fc642a1: ng_bridge: count item allocation failures as memory failures
Branches
Unknown
Tags
Unknown