- 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
14 lines
361 B
C
14 lines
361 B
C
/* PFLINUX compat: <netinet/in.h> */
|
|
#ifndef _PFK_NETINET_IN_H
|
|
#define _PFK_NETINET_IN_H
|
|
#include <linux/in.h>
|
|
#include <linux/in6.h>
|
|
/* BSD IP-level option numbers (Linux uapi uses different values) */
|
|
#define PF_IP_OPTIONS 1
|
|
#define PF_IP_RECORD_ROUTE 7
|
|
#define PF_IP_TIMESTAMP 68
|
|
#ifndef INADDR_MULTICAST
|
|
#define INADDR_MULTICAST 0xe0000000U
|
|
#endif
|
|
#endif
|