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:           Thu Aug 29 14:25:41 UTC 2013

Modified Files:
        src/share/man/man4: bpf.4
        src/sys/external/bsd/ipf/netinet: fil.c
        src/sys/net: bpf.c bpf.h bpf_filter.c if_ppp.c
        src/sys/net/npf: npf_ruleset.c

Log Message:
Implement BPF_COP/BPF_COPX instructions in the misc category (BPF_MISC)
which add a capability to call external functions in a predetermined way.

It can be thought as a BPF "coprocessor" -- a generic mechanism to offload
more complex packet inspection operations.  There is no default coprocessor
and this functionality is not targeted to the /dev/bpf.  This is primarily
targeted to the kernel subsystems, therefore there is no way to set a custom
coprocessor at the userlevel.

Discussed on: tech-net@
OK: core@

To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/share/man/man4/bpf.4
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/ipf/netinet/fil.c
cvs rdiff -u -r1.173 -r1.174 src/sys/net/bpf.c
cvs rdiff -u -r1.59 -r1.60 src/sys/net/bpf.h
cvs rdiff -u -r1.55 -r1.56 src/sys/net/bpf_filter.c
cvs rdiff -u -r1.138 -r1.139 src/sys/net/if_ppp.c
cvs rdiff -u -r1.20 -r1.21 src/sys/net/npf/npf_ruleset.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