Home | History | Annotate | Download | only in Ip6Dxe

Lines Matching refs:Head

125   @param[in]  Head               The IP head of the ICMPv6 informational message.

126 @param[in] Packet The content of the ICMPv6 message with the IP head
137 IN EFI_IP6_HEADER *Head,
168 Icmp->Head.Type = ICMP_V6_ECHO_REPLY;
169 Icmp->Head.Checksum = 0;
181 IP6_COPY_ADDRESS (&ReplyHead.DestinationAddress, &Head->SourceAddress);
183 if (Ip6IsOneOfSetAddress (IpSb, &Head->DestinationAddress, NULL, NULL)) {
184 IP6_COPY_ADDRESS (&ReplyHead.SourceAddress, &Head->DestinationAddress);
215 @param[in] Head The IP head of the ICMPv6 error packet.
216 @param[in] Packet The content of the ICMPv6 error with the IP head
228 IN EFI_IP6_HEADER *Head,
278 @param[in] Head The IP head of the ICMPv6 error packet.
279 @param[in] Packet The content of the ICMPv6 error with the IP head
290 IN EFI_IP6_HEADER *Head,
304 if (Icmp.Head.Type == ICMP_V6_PACKET_TOO_BIG) {
305 return Ip6ProcessPacketTooBig (IpSb, Head, Packet);
312 return Ip6Demultiplex (IpSb, Head, Packet);
327 @param[in] Head The IP head of the ICMPv6 informational packet.
329 with IP head removed.
339 IN EFI_IP6_HEADER *Head,
348 ASSERT (Head != NULL);
353 switch (Icmp.Head.Type) {
358 if (Icmp.Head.Code == 0) {
359 Status = Ip6IcmpReplyEcho (IpSb, Head, Packet);
363 Status = Ip6ProcessMldQuery (IpSb, Head, Packet);
367 Status = Ip6ProcessMldReport (IpSb, Head, Packet);
370 Status = Ip6ProcessNeighborSolicit (IpSb, Head, Packet);
373 Status = Ip6ProcessNeighborAdvertise (IpSb, Head, Packet);
376 Status = Ip6ProcessRouterAdvertise (IpSb, Head, Packet);
379 Status = Ip6ProcessRedirect (IpSb, Head, Packet);
382 Status = Ip6Demultiplex (IpSb, Head, Packet);
398 @param[in] Head The IP head of the ICMPv6 packet.
399 @param[in] Packet The content of the ICMPv6 packet with IP head
410 IN EFI_IP6_HEADER *Head,
431 &Head->SourceAddress,
432 &Head->DestinationAddress,
445 return Ip6ProcessIcmpError (IpSb, Head, Packet);
447 return Ip6ProcessIcmpInformation (IpSb, Head, Packet);
584 EFI_IP6_HEADER Head;
637 ZeroMem (&Head, sizeof (EFI_IP6_HEADER));
639 Head.PayloadLength = HTONS (PayloadLen);
640 Head.NextHeader = IP6_ICMP;
641 Head.HopLimit = IpSb->CurHopLimit;
644 IP6_COPY_ADDRESS (&Head.SourceAddress, SourceAddress);
646 ZeroMem (&Head.SourceAddress, sizeof (EFI_IPv6_ADDRESS));
649 IP6_COPY_ADDRESS (&Head.DestinationAddress, DestinationAddress);
654 // Fill in the ICMP error message head
663 IcmpHead->Head.Type = Type;
664 IcmpHead->Head.Code = Code;
683 return Ip6Output (IpSb, NULL, NULL, ErrorMsg, &Head, NULL, 0, Ip6SysPacketSent, NULL);