mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 06:42:56 -04:00
pflow is a pseudo device to export flow accounting data over UDP.
It's compatible with netflow version 5 and IPFIX (10).
The data is extracted from the pf state table. States are exported once
they are removed.
Reviewed by: melifaro
Obtained from: OpenBSD
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D43106
16 lines
305 B
Makefile
16 lines
305 B
Makefile
.PATH: ${SRCTOP}/sys/netpfil/pf
|
|
|
|
KMOD= pflow
|
|
SRCS= pflow.c \
|
|
opt_pf.h opt_inet.h opt_inet6.h opt_global.h
|
|
SRCS+= bus_if.h device_if.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
.if defined(VIMAGE)
|
|
opt_global.h:
|
|
echo "#define VIMAGE 1" >> ${.TARGET}
|
|
CFLAGS+= -include opt_global.h
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|