NetBSD/sys/modules/npf_ext_rndblock/Makefile
rmind 333cdb0c5a Add NPF "rndblock" extension to randomly drop packets (using a random function
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
}
2012-12-10 00:32:23 +00:00

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>