On 19 Sep 2016, at 16:04, Jung-uk Kim wrote:

On 09/17/2016 17:11, Bjoern A. Zeeb wrote:
On 15 Sep 2016, at 5:32, KrishnamRaju ErapaRaju wrote:


I want to use BPF JIT Kernel APIs in FreeBSD(like: bpf_jitter(),
etc..), for implementing TCP connection packet filtering.

I have followed below instructions as specified in:

STEPS followed:
cp /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/MYKERNEL

And added below line in MYKERNEL config file.
        options BPF_JITTER

I think you want

device         bpf_jitter

The options line to my understanding only turns it on by default.

"options BPF_JITTER" works.  I don't know why the OP thinks that it
doesn't work, though.

Ok, let’s see;  if you boot your own kernel, what does

sysctl net.bpf_jitter.enable


freebsd-net@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to