summaryrefslogtreecommitdiffstats
path: root/include/ulogd/addr.h
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2025-05-26 18:19:03 +0100
committerFlorian Westphal <fw@strlen.de>2025-06-01 14:12:47 +0200
commitf699ba550c9f009924d8f5f59a190254938f9bec (patch)
tree76fe196beb718881d6b7d16c64d86f47189a5260 /include/ulogd/addr.h
parentc0f9d1950e0968688558c2abbaa41cffd03f19de (diff)
Use `NFPROTO_*` constants for protocol families
Netfilter has a set of `NFPROTO_*` constants for the protocol families that it supports, in part because it supports protocols and pseudo-protocols that do not have `PF_*` (and `AF_*`) constants. Currently, ulogd uses `AF_*` constants for protocol families, because it does not support any families which do not have `AF_*` constants. Switch to `NFPROTO_*` constants instead, so we can add ARP support later. In the IP2* filters, retain `AF_*` for address family variables. Remove a stray semicolon. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/ulogd/addr.h')
0 files changed, 0 insertions, 0 deletions