In PF , both IPv4 and IPv6 are supported (it would be nice if they were not ;-)), to differentiate between them they are used.

inet , which denotes IPv4 inet6 , which denotes IPv6

For example.

pass inet proto tcp from any to any
pass inet6 proto tcp from any to any

If neither of the two is specified, the rule will match in both types of addresses.