Allow IPv4 and IPv6 in one src/dst using functions

The same function will be evaluated in both ipv4 and ipv6 context. It
should be defined to return appropriate values at the appropriate time.
Allow multiple functions to be used at once
Evaluate ip lists at time of extraction