Today we consider the way to send IPv6 multicast packet in the linux kernel module (The source code is available HERE). There is some work done regarding sending the IPv4 packet. It is described in previous post on this site.
and we need the ipv6hdr to be able to send UDP payload in the IPv6 packet.
The result is presented in the figure below: