I have what is probably a stupid question. I am trying to compile an application that uses the "pfioc_table" structure. In the man page for pf it lists a "pfrio_esize" variable. In the pfctl source this variable is assigned with the size of the "pfr_table" buffer. When I compile my application, or try to recompile pfctl I am getting the following error.
pf_tool.c: In function `pfr_get_tables':
pf_tool.c:67: structure has no member named `pfrio_esize'
Update your sources to -CURRENT, and don't forget to run #cp /sys/net/pfvar.h /usr/include/net/pfvar.h
Cedric