- pfk.h: BSD types/ioctl encoding (OpenBSD bit layout), locks (NET_LOCK=rwsem), pools, timeouts, mbuf shim over sk_buff, ifnet registry, toeplitz/siphash - pfk_mod/pfk_hooks: misc /dev/pf (0600), IPv4 netfilter hook skeleton, DIOCGETSTATUS answered (M1 skeleton; engine ioctls land with pf_ioctl.c) - vendorize/stage-port scripts: deterministic upstream staging with seds (struct renames, IFF_*->PFIFF_*, sa_len drops) logged to docs/porting-notes - fixes: modules_prepare+Module.symvers for out-of-tree builds
15 lines
455 B
Cheetah
15 lines
455 B
Cheetah
# cloud-init network config v2 — pftest-cli. mgmt dhcp gives DNS only
|
|
# (use-routes:false); default route goes through pf0 so LAN->WAN traffic
|
|
# exercises pf forwarding. Rendered by scripts/vm-create.sh.
|
|
version: 2
|
|
ethernets:
|
|
mgmt:
|
|
match: {macaddress: "@CLI_MAC_MGMT@"}
|
|
dhcp4: true
|
|
dhcp4-overrides: {use-routes: false}
|
|
lan:
|
|
match: {macaddress: "@CLI_MAC_LAN@"}
|
|
addresses: [@CLI@]
|
|
routes:
|
|
- {to: default, via: @CLI_GW@}
|