HomeFreeBSD

pf: Reduce diffs against OpenBSD in pf_if.c

Description

pf: Reduce diffs against OpenBSD in pf_if.c

Use memset instead of bzero, memcpy instead of bcopy, and add some
optional {}s.

Reviewed by: kp
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36267

Details

Provenance
emasteAuthored on Aug 19 2022, 9:02 PM
Reviewer
kp
Differential Revision
D36267: pf: Reduce diffs against OpenBSD in pf_if.c
Parents
rGec556724d7ad: Add interrupt handling to rk_gpio driver.
Branches
Unknown
Tags
Unknown