HomeFreeBSD

Overhaul if_enc(4) and make it loadable in run-time.

Description

Overhaul if_enc(4) and make it loadable in run-time.

Use hhook(9) framework to achieve ability of loading and unloading
if_enc(4) kernel module. INET and INET6 code on initialization registers
two helper hooks points in the kernel. if_enc(4) module uses these helper
hook points and registers its hooks. IPSEC code uses these hhook points
to call helper hooks implemented in if_enc(4).

Details

Provenance
aeAuthored on
Parents
rS291291: Check that hhk_helper pointer isn't NULL before access.
Branches
Unknown
Tags
Unknown