Lines Matching refs:MldHead
139 IP6_MLD_HEAD *MldHead; in Ip6SendMldReport() local
201 MldHead = (IP6_MLD_HEAD *) NetbufAllocSpace (Packet, sizeof (IP6_MLD_HEAD), FALSE); in Ip6SendMldReport()
202 ASSERT (MldHead != NULL); in Ip6SendMldReport()
203 ZeroMem (MldHead, sizeof (IP6_MLD_HEAD)); in Ip6SendMldReport()
204 MldHead->Head.Type = ICMP_V6_LISTENER_REPORT; in Ip6SendMldReport()
205 MldHead->Head.Code = 0; in Ip6SendMldReport()
206 IP6_COPY_ADDRESS (&MldHead->Group, MulticastAddr); in Ip6SendMldReport()
208 HeadChecksum = NetblockChecksum ((UINT8 *) MldHead, sizeof (IP6_MLD_HEAD)); in Ip6SendMldReport()
216 MldHead->Head.Checksum = (UINT16) ~NetAddChecksum (HeadChecksum, PseudoChecksum); in Ip6SendMldReport()
242 IP6_MLD_HEAD *MldHead; in Ip6SendMldDone() local
305 MldHead = (IP6_MLD_HEAD *) NetbufAllocSpace (Packet, sizeof (IP6_MLD_HEAD), FALSE); in Ip6SendMldDone()
306 ASSERT (MldHead != NULL); in Ip6SendMldDone()
307 ZeroMem (MldHead, sizeof (IP6_MLD_HEAD)); in Ip6SendMldDone()
308 MldHead->Head.Type = ICMP_V6_LISTENER_DONE; in Ip6SendMldDone()
309 MldHead->Head.Code = 0; in Ip6SendMldDone()
310 IP6_COPY_ADDRESS (&MldHead->Group, MulticastAddr); in Ip6SendMldDone()
312 HeadChecksum = NetblockChecksum ((UINT8 *) MldHead, sizeof (IP6_MLD_HEAD)); in Ip6SendMldDone()
320 MldHead->Head.Checksum = (UINT16) ~NetAddChecksum (HeadChecksum, PseudoChecksum); in Ip6SendMldDone()