Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src

Module Name:    src
Committed By:   rmind
Date:           Mon Dec 10 00:32:25 UTC 2012

Modified Files:
        src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
            md.sparc64 shl.mi
        src/distrib/sets/lists/comp: shl.mi
        src/distrib/sets/lists/modules: md.evbppc mi
        src/lib/npf: Makefile
        src/sys/modules: Makefile
        src/sys/net/npf: files.npf
Added Files:
        src/lib/npf/ext_rndblock: Makefile npfext_rndblock.c shlib_version
        src/sys/modules/npf_ext_rndblock: Makefile
        src/sys/net/npf: npf_ext_rndblock.c

Log Message:
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

To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/distrib/sets/lists/base/ad.mips64eb \
cvs rdiff -u -r1.181 -r1.182 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.170 -r1.171 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.642 -r1.643 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.240 -r1.241 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.28 -r1.29 src/distrib/sets/lists/modules/md.evbppc
cvs rdiff -u -r1.48 -r1.49 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.1 -r1.2 src/lib/npf/Makefile
cvs rdiff -u -r0 -r1.1 src/lib/npf/ext_rndblock/Makefile \
    src/lib/npf/ext_rndblock/npfext_rndblock.c \
cvs rdiff -u -r1.116 -r1.117 src/sys/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/npf_ext_rndblock/Makefile
cvs rdiff -u -r1.8 -r1.9 src/sys/net/npf/files.npf
cvs rdiff -u -r0 -r1.1 src/sys/net/npf/npf_ext_rndblock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index