Now I am building the npfctl, and I met below -Wsign-compare -Wformat=2 -Werror -I/usr/src/usr.sbin/npf/npfctl --sysroot=/ -c /usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c In file included from /usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c:56:0: /usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c: In function 'npfctl_bpf_table': /usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c:610:21: error: 'BPF_COP' undeclared (first use in this function) BPF_STMT(BPF_MISC+BPF_COP, NPF_COP_TABLE), ^ /usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c:610:21: note: each undeclared identifier is reported only once for each function it appears in *** Error code 1 Stop. make: stopped in /usr/src/usr.sbin/npf/npfctl Can someone told me which header has the declaration of the BPF_COP ? I found below only. # grep -R BPF_COP /usr/src /usr/src/doc/CHANGES.prev: kernel: Add BPF coprocessor support (BPF_COP/BPF_COPX instructions). |