Lines Matching refs:ulLeaseTime
3457 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledgeTwoOptionsCorrectServerLeaseTimeZero()
3554 pxEndPoint->xDHCPData.ulLeaseTime = dhcpMINIMUM_LEASE_TIME - 10; in test_vDHCPProcess_eWaitingAcknowledgeTwoOptionsCorrectServerLeaseTimeLessThanMinConfig()
3583 TEST_ASSERT_EQUAL( dhcpMINIMUM_LEASE_TIME, pxEndPoint->xDHCPData.ulLeaseTime ); in test_vDHCPProcess_eWaitingAcknowledgeTwoOptionsCorrectServerLeaseTimeLessThanMinConfig()
3649 pxEndPoint->xDHCPData.ulLeaseTime = dhcpMINIMUM_LEASE_TIME + 10; in test_vDHCPProcess_eWaitingAcknowledge_TwoOptions_CorrectServer_AptLeaseTime()
3679 TEST_ASSERT_EQUAL( dhcpMINIMUM_LEASE_TIME + 10, pxEndPoint->xDHCPData.ulLeaseTime ); in test_vDHCPProcess_eWaitingAcknowledge_TwoOptions_CorrectServer_AptLeaseTime()
3745 pxEndPoint->xDHCPData.ulLeaseTime = dhcpMINIMUM_LEASE_TIME + 10; in test_vDHCPProcess_eWaitingAcknowledge_TwoOptions_NACK()
3830 pxEndPoint->xDHCPData.ulLeaseTime = dhcpMINIMUM_LEASE_TIME + 10; in test_vDHCPProcess_eWaitingAcknowledge_TwoOptions_OFFER()
3872 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength() local
3933 *( ( uint32_t * ) &DHCPOption[ 2 ] ) = ulLeaseTime; in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength()
3962 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength()
3983 …vDHCP_RATimerReload_Expect( &xEndPoint, configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 … in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength()
3992 …RT_EQUAL( configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 ), pxEndPoint->xDHCPData.ulLea… in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength()
4016 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength2() local
4077 *( ( uint32_t * ) &DHCPOption[ 2 ] ) = ulLeaseTime; in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength2()
4106 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength2()
4127 …vDHCP_RATimerReload_Expect( &xEndPoint, configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 … in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength2()
4136 …RT_EQUAL( configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 ), pxEndPoint->xDHCPData.ulLea… in test_vDHCPProcess_eWaitingAcknowledge_AllOptionsCorrectLength2()
4161 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength() local
4222 *( ( uint32_t * ) &DHCPOption[ 2 ] ) = ulLeaseTime; in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength()
4251 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength()
4272 …vDHCP_RATimerReload_Expect( &xEndPoint, configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 … in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength()
4281 …RT_EQUAL( configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 ), pxEndPoint->xDHCPData.ulLea… in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength()
4305 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength2() local
4366 *( ( uint32_t * ) &DHCPOption[ 2 ] ) = ulLeaseTime; in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength2()
4395 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength2()
4416 …vDHCP_RATimerReload_Expect( &xEndPoint, configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 … in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength2()
4425 …RT_EQUAL( configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 ), pxEndPoint->xDHCPData.ulLea… in test_vDHCPProcess_eWaitingAcknowledge_DNSIncorrectLength2()
4449 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress() local
4510 *( ( uint32_t * ) &DHCPOption[ 2 ] ) = ulLeaseTime; in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress()
4539 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress()
4560 …vDHCP_RATimerReload_Expect( &xEndPoint, configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 … in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress()
4569 …RT_EQUAL( configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 ), pxEndPoint->xDHCPData.ulLea… in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress()
4593 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress2() local
4654 *( ( uint32_t * ) &DHCPOption[ 2 ] ) = ulLeaseTime; in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress2()
4683 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress2()
4704 …vDHCP_RATimerReload_Expect( &xEndPoint, configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 … in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress2()
4713 …RT_EQUAL( configTICK_RATE_HZ * ( FreeRTOS_ntohl( ulLeaseTime ) >> 1 ), pxEndPoint->xDHCPData.ulLea… in test_vDHCPProcess_eWaitingAcknowledge_IncorrectDNSServerAddress2()
4736 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_IPv4ServerIncorrectLength() local
4799 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_IPv4ServerIncorrectLength()
4829 TEST_ASSERT_EQUAL( dhcpDEFAULT_LEASE_TIME, pxEndPoint->xDHCPData.ulLeaseTime ); in test_vDHCPProcess_eWaitingAcknowledge_IPv4ServerIncorrectLength()
4851 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_SubnetMaskIncorrectLength() local
4914 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_SubnetMaskIncorrectLength()
4944 TEST_ASSERT_EQUAL( dhcpDEFAULT_LEASE_TIME, pxEndPoint->xDHCPData.ulLeaseTime ); in test_vDHCPProcess_eWaitingAcknowledge_SubnetMaskIncorrectLength()
4965 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_GatewayIncorrectLength() local
5036 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_GatewayIncorrectLength()
5066 TEST_ASSERT_EQUAL( dhcpDEFAULT_LEASE_TIME, pxEndPoint->xDHCPData.ulLeaseTime ); in test_vDHCPProcess_eWaitingAcknowledge_GatewayIncorrectLength()
5088 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_LeaseTimeIncorrectLength() local
5147 *( ( uint32_t * ) &DHCPOption[ 2 ] ) = ulLeaseTime; in test_vDHCPProcess_eWaitingAcknowledge_LeaseTimeIncorrectLength()
5168 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_LeaseTimeIncorrectLength()
5198 TEST_ASSERT_EQUAL( dhcpDEFAULT_LEASE_TIME, pxEndPoint->xDHCPData.ulLeaseTime ); in test_vDHCPProcess_eWaitingAcknowledge_LeaseTimeIncorrectLength()
5219 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_LeaseTimeIncorrectLength2() local
5278 *( ( uint32_t * ) &DHCPOption[ 2 ] ) = ulLeaseTime; in test_vDHCPProcess_eWaitingAcknowledge_LeaseTimeIncorrectLength2()
5299 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_LeaseTimeIncorrectLength2()
5327 uint32_t ulLeaseTime = 0x00000096; /* 150 seconds */ in test_vDHCPProcess_eWaitingAcknowledge_IncorrectLengthofpacket() local
5372 pxEndPoint->xDHCPData.ulLeaseTime = 0; in test_vDHCPProcess_eWaitingAcknowledge_IncorrectLengthofpacket()