Searched refs:uxIPHeaderLength (Results 1 – 8 of 8) sorted by relevance
95 pxSet->uxIPHeaderLength = ( size_t ) ucVersion; in prvChecksumIPv4Checks()96 pxSet->uxIPHeaderLength *= 4U; in prvChecksumIPv4Checks()98 if( usLength < pxSet->uxIPHeaderLength ) in prvChecksumIPv4Checks()117 if( uxBufferLength < ( ipSIZE_OF_ETH_HEADER + pxSet->uxIPHeaderLength ) ) in prvChecksumIPv4Checks()148 …colHeaders = ( ( ProtocolHeaders_t * ) &( pucEthernetBuffer[ pxSet->uxIPHeaderLength + ipSIZE_OF_E… in prvChecksumIPv4Checks()150 pxSet->usProtocolBytes = ( uint16_t ) ( pxSet->usPayloadLength - pxSet->uxIPHeaderLength ); in prvChecksumIPv4Checks()
76 UBaseType_t uxIPHeaderLength; in xCheckIPv4SizeFields() local110 uxIPHeaderLength = ( UBaseType_t ) ucVersionHeaderLength; in xCheckIPv4SizeFields()113 if( uxBufferLength < ( ipSIZE_OF_ETH_HEADER + uxIPHeaderLength ) ) in xCheckIPv4SizeFields()136 uxMinimumLength = uxIPHeaderLength + ipSIZE_OF_ETH_HEADER + ipSIZE_OF_UDP_HEADER; in xCheckIPv4SizeFields()140 uxMinimumLength = uxIPHeaderLength + ipSIZE_OF_ETH_HEADER + ipSIZE_OF_TCP_HEADER; in xCheckIPv4SizeFields()145 uxMinimumLength = uxIPHeaderLength + ipSIZE_OF_ETH_HEADER + ipSIZE_OF_ICMPv4_HEADER; in xCheckIPv4SizeFields()161 uxLength -= ( ( uint16_t ) uxIPHeaderLength ); /* normally, minus 20. */ in xCheckIPv4SizeFields()164 ( uxLength > ( ( size_t ) ipconfigNETWORK_MTU - ( size_t ) uxIPHeaderLength ) ) ) in xCheckIPv4SizeFields()
83 pxSet->uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in prvChecksumIPv6Checks()155 if( uxBufferLength < ( ipSIZE_OF_ETH_HEADER + pxSet->uxIPHeaderLength + xICMPLength ) ) in prvChecksumICMPv6Checks()
915 const size_t uxIPHeaderLength = uxIPHeaderSizePacket( pxNetworkBuffer ); in prepareReplyDNSMessage() local922 …if( ( ( uxIPHeaderLength == ipSIZE_OF_IPv6_HEADER ) && ( ( pxIPHeader->ucVersionHeaderLength & 0xf… in prepareReplyDNSMessage()948 uxIPHeaderLength + in prepareReplyDNSMessage()979 …uxDataLength = ( ( size_t ) lNetLength ) + uxIPHeaderLength + ipSIZE_OF_UDP_HEADER + ipSIZE_OF_ETH… in prepareReplyDNSMessage()991 …= usGenerateChecksum( 0U, ( uint8_t * ) &( pxIPHeader->ucVersionHeaderLength ), uxIPHeaderLength ); in prepareReplyDNSMessage()
396 … ( uxBufferLength < ( ipSIZE_OF_ETH_HEADER + pxSet->uxIPHeaderLength + ipSIZE_OF_UDP_HEADER ) ) ) in prvChecksumProtocolChecks()415 … ( uxBufferLength < ( ipSIZE_OF_ETH_HEADER + pxSet->uxIPHeaderLength + ipSIZE_OF_TCP_HEADER ) ) ) in prvChecksumProtocolChecks()448 …( uxBufferLength < ( ipSIZE_OF_ETH_HEADER + pxSet->uxIPHeaderLength + ipSIZE_OF_ICMPv4_HEADER ) ) ) in prvChecksumProtocolChecks()504 ulMaxLength -= ( uint32_t ) pxSet->uxIPHeaderLength; in prvChecksumProtocolMTUCheck()567 …teChecksum( 0U, &( pucEthernetBuffer[ ipSIZE_OF_ETH_HEADER + pxSet->uxIPHeaderLength ] ), ( size_t… in prvChecksumProtocolCalculate()
111 pxSet->uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in prvChecksumIPv6Checks_Valid()131 pxSet->uxIPHeaderLength = ( pxIPPacket->xIPHeader.ucVersionHeaderLength & 0x0F ) * 4; in prvChecksumIPv4Checks_Valid()134 …= ( ProtocolHeaders_t * ) &( pucEthernetBuffer[ ipSIZE_OF_ETH_HEADER + pxSet->uxIPHeaderLength ] ); in prvChecksumIPv4Checks_Valid()
255 xSet.uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in test_prvChecksumICMPv6Checks_Default_InvalidLength()278 xSet.uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in test_prvChecksumICMPv6Checks_Default_ValidLength()302 xSet.uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in test_prvChecksumICMPv6Checks_PingReq_InvalidLength()326 xSet.uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in test_prvChecksumICMPv6Checks_PingReq_ValidLength()350 xSet.uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in test_prvChecksumICMPv6Checks_PingReply_InvalidLength()374 xSet.uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in test_prvChecksumICMPv6Checks_PingReply_ValidLength()398 xSet.uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in test_prvChecksumICMPv6Checks_RS_InvalidLength()422 xSet.uxIPHeaderLength = ipSIZE_OF_IPv6_HEADER; in test_prvChecksumICMPv6Checks_RS_ValidLength()
251 size_t uxIPHeaderLength; /**< Either 40 or 20, depending on the IP-type */ member