Home | History | Annotate | Download | only in Ip6Dxe

Lines Matching refs:Head

54   Assemble->Head     = NULL;

169 EFI_IP6_HEADER *Head;
186 Head = Packet->Ip.Ip6;
189 ASSERT (Head != NULL);
195 Index = IP6_ASSEMBLE_HASH (&Head->DestinationAddress, &Head->SourceAddress, This->Id);
201 EFI_IP6_EQUAL (&Entry->Src, &Head->SourceAddress) &&
202 EFI_IP6_EQUAL (&Entry->Dst, &Head->DestinationAddress)
214 &Head->DestinationAddress,
215 &Head->SourceAddress,
312 // the frist fragment, update the packet's IP head and per packet
320 // from the fragment list. So, Assemble->Head always point
323 if ((Assemble->Head != NULL) || (Assemble->Packet != NULL)) {
336 // Revert IP head to network order.
351 ASSERT (Head->NextHeader == IP6_FRAGMENT);
352 Head->NextHeader = This->NextHeader;
366 Assemble->Head = Head;
436 NewPacket->Ip.Ip6 = Assemble->Head;
485 @param[in, out] Head The caller-supplied IP6 header.
506 IN OUT EFI_IP6_HEADER **Head,
575 if (IP6_IS_MULTICAST (&(*Head)->DestinationAddress) || IP6_IS_MULTICAST (&(*Head)->SourceAddress)) {
601 Ip6NtohHead (*Head);
607 (VOID *) (*Head),
619 Ip6NtohHead (*Head);
693 if (Direction == EfiIPsecInBound && 0 != CompareMem (&ZeroHead, *Head, sizeof (EFI_IP6_HEADER))) {
706 CopyMem (PacketHead, *Head, sizeof (EFI_IP6_HEADER));
707 *Head = PacketHead;
744 @param[out] Head The pointer to the EFI_IP6_Header.
760 OUT EFI_IP6_HEADER **Head
784 *Head = (EFI_IP6_HEADER *) NetbufGetByte (*Packet, 0, NULL);
785 if (*Head == NULL) {
792 if (((*Head)->Version != 6) || (IP6_IS_MULTICAST (&(*Head)->SourceAddress))) {
801 if ((CompareMem (&Loopback, &(*Head)->DestinationAddress, sizeof (EFI_IPv6_ADDRESS)) == 0) ||
802 (NetIp6IsUnspecifiedAddr (&(*Head)->DestinationAddress))) {
809 (*Packet)->Ip.Ip6 = Ip6NtohHead (*Head);
822 if (Ip6IsOneOfSetAddress (IpSb, &(*Head)->DestinationAddress, NULL, NULL)) {
824 } else if (IP6_IS_MULTICAST (&(*Head)->DestinationAddress)) {
825 if (Ip6FindMldEntry (IpSb, &(*Head)->DestinationAddress) != NULL) {
838 PayloadLen = (*Head)->PayloadLength;
875 &(*Head)->NextHeader,
940 *Head = (*Packet)->Ip.Ip6;
941 PayloadLen = (*Head)->PayloadLength;
958 &(*Head)->NextHeader,
973 // Trim the head off, after this point, the packet is headless.
1001 EFI_IP6_HEADER *Head;
1035 &Head
1046 &Head,
1063 if (0 == CompareMem (Head, &ZeroHead, sizeof (EFI_IP6_HEADER))) {
1073 &Head
1091 Head = Packet->Ip.Ip6;
1096 Ip6IcmpHandle (IpSb, Head, Packet);
1099 Ip6Demultiplex (IpSb, Head, Packet);
1275 @param[in] Head The IP header of the packet.
1285 IN EFI_IP6_HEADER *Head,
1325 &Head->NextHeader,
1327 (UINT32) Head->PayloadLength,
1345 if (Icmp.Head.Type <= ICMP_V6_ERROR_MAX) {
1399 if (EFI_IP6_EQUAL (IpInstance->GroupList + Index, &Head->DestinationAddress)) {
1416 @param Head The IP header of the received packet.
1428 IN EFI_IP6_HEADER *Head,
1442 if (!Ip6InstanceFrameAcceptable (IpInstance, Head, Packet)) {
1489 UINT8 *Head;
1521 // Copy the IP head over. The packet to deliver up is
1522 // headless. Trim the head off after copy. The IP head
1525 Head = NetbufAllocSpace (Dup, sizeof (EFI_IP6_HEADER), NET_BUF_HEAD);
1526 ASSERT (Head != NULL);
1527 Dup->Ip.Ip6 = (EFI_IP6_HEADER *) Head;
1529 CopyMem (Head, Packet->Ip.Ip6, sizeof (EFI_IP6_HEADER));
1568 @param[in] Head The header of the received packet.
1578 IN EFI_IP6_HEADER *Head,
1618 if (Ip6InstanceEnquePacket (IpInstance, Head, Packet) == EFI_SUCCESS) {
1659 @param[in] Head The header of the received packet.
1670 IN EFI_IP6_HEADER *Head,
1689 Enqueued += Ip6InterfaceEnquePacket (IpSb, Head, Packet, IpIf);
1785 !IP6_IS_MULTICAST (&Assemble->Head->DestinationAddress)) {
1790 &Assemble->Head->SourceAddress,