333cdb0c5a
with a percentage or modulo operation). This is a demo module, although it can be used for packet loss simulation. Example of a procedure in npf.conf: procedure "somedrop" { # Drop 1.9% of the traffic rndblock: percentage 1.9 }
12 lines
187 B
Makefile
12 lines
187 B
Makefile
# $NetBSD: Makefile,v 1.1 2012/12/10 00:32:25 rmind Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${S}/net/npf
|
|
|
|
KMOD= npf_ext_rndblock
|
|
|
|
SRCS= npf_ext_rndblock.c
|
|
|
|
.include <bsd.kmodule.mk>
|