Convert the iptables target function (IPv6) to take a struct sock argument.