NetBSD-5.0.2/regress/sys/kern/ipf/regress/in6

map foo0 from any port = 1 to any port != 0 -> 0/32 udp
map foo0 from any port eq 1 to any port ne 0 -> 0/32 udp
map foo0 from any port < 1 to any port > 0 -> 0/32 tcp
map foo0 from any port lt 1 to any port gt 0 -> 0/32 tcp
map foo0 from any port <= 1 to any port >= 0 -> 0/32 tcp/udp
map foo0 from any port le 1 to any port ge 0 -> 0/32 tcp/udp
map foo0 from any port 1 >< 20 to any port 20 <> 40 -> 0/32 tcp/udp
map foo0 from any port 10:20 to any port 30:40 -> 0/32 tcp/udp