Date: Thu, 15 Sep 2016 05:32:45 +0000 From: KrishnamRaju ErapaRaju <Krishna2@chelsio.com> To: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: unable to use BPF Just-In-Time compiler Message-ID: <BN4PR12MB0818CC41AAD82420B3C3EB3A94F00@BN4PR12MB0818.namprd12.prod.outlook.com>
next in thread | raw e-mail | index | archive | help
Hi, I want to use BPF JIT Kernel APIs in FreeBSD(like: bpf_jitter(), etc..), fo= r implementing TCP connection packet filtering. I have followed below instructions as specified in: https://lists.freebsd.o= rg/pipermail/freebsd-current/2005-December/058603.html 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 make buildkernel KERNCONF=3DMYKERNEL make installkernel KERNCONF=3DMYKERNEL reboot But after reboot the flag BPF_JITTER is not getting enabled(all the code in= side "#ifdef BPF_JITTER" is not getting executed). Am I missing something? Also it looks like there are not many updates to BPF JIT code since 2005, i= s it stable? anyone using it? Thanks, Krishna.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BN4PR12MB0818CC41AAD82420B3C3EB3A94F00>