Searched refs:CheckPacketUdpSum (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_socket_test.cpp | 227 EXPECT_EQ(CheckPacketUdpSum(NULL, 0), SOCKET_OPT_FAILED); 231 EXPECT_EQ(CheckPacketUdpSum(&packet, 0), SOCKET_OPT_FAILED); 233 EXPECT_EQ(CheckPacketUdpSum(&packet, 1), SOCKET_OPT_SUCCESS);
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_socket.h | 34 int CheckPacketUdpSum(struct UdpDhcpPacket *pPacket, const int bytes);
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_socket.cpp | 406 int CheckPacketUdpSum(struct UdpDhcpPacket *pPacket, const int bytes) in CheckPacketUdpSum() function 458 nRet = CheckPacketUdpSum(&udpPackets, nBytes); in GetDhcpRawPacket()
|
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/ |
H A D | dhcpclientfun_fuzzer.cpp | 346 CheckPacketUdpSum(nullptr, bytes); in CheckPacketUdpSumFuzzerTest() 353 CheckPacketUdpSum(&pPacket, bytes); in CheckPacketUdpSumFuzzerTest()
|