which file are the APIs of ip6 hook defined in?

what's the functions provided by ip6 hook APIs?
is it possible to translate an ipv6 packet to an ipv4 packet and vice versa?