Lines Matching defs:Checksum
506 UINT16 *Checksum;
587 Checksum = NULL;
594 if (Packet->Udp->Checksum == 0) {
595 Checksum = &Packet->Udp->Checksum;
602 if (Packet->Tcp->Checksum == 0) {
603 Checksum = &Packet->Tcp->Checksum;
617 if (IcmpHead->Checksum == 0) {
618 Checksum = &IcmpHead->Checksum;
626 if (Checksum != NULL) {
628 // Calculate the checksum for upper layer protocol if it is not calculated due to lack of
638 *Checksum = (UINT16) ~NetAddChecksum (PacketChecksum, PseudoChecksum);