HomeFreeBSD

Fix build for NOINET and NOINET6 kernels.

Description

Fix build for NOINET and NOINET6 kernels.

Use own protosw structures for both address families.
Check proto in encapcheck function and use -1 as proto argument in
encap_attach_func(), both address families can have IPPROTO_IPV4
and IPPROTO_IPV6 protocols.

Reported by: bz

Details

Provenance
aeAuthored on
Parents
rS298548: Virtualise the netisr registration in order to do a per-vnet
Branches
Unknown
Tags
Unknown