codegen.lua working for "ip" filter

* src/pf/codegen.lua: Working for "ip".