Searched refs:UdpDhcpPacket (Results 1 - 5 of 5) sorted by relevance
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_socket.h | 32 int CheckUdpPacket(struct UdpDhcpPacket *pPacket, const int totLen); 33 int CheckPacketIpSum(struct UdpDhcpPacket *pPacket, const int bytes); 34 int CheckPacketUdpSum(struct UdpDhcpPacket *pPacket, const int bytes);
|
H A D | dhcp_client_def.h | 357 struct UdpDhcpPacket { struct
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_socket.cpp | 204 struct UdpDhcpPacket udpPackets; in SendToDhcpPacket() 226 udpPackets.udp.check = GetCheckSum((uint16_t *)&udpPackets, sizeof(struct UdpDhcpPacket)); in SendToDhcpPacket() 304 int CheckUdpPacket(struct UdpDhcpPacket *pPacket, const int totLen) in CheckUdpPacket() 311 if (totLen > (int)sizeof(struct UdpDhcpPacket)) { in CheckUdpPacket() 313 (int)sizeof(struct UdpDhcpPacket)); in CheckUdpPacket() 345 int CheckPacketIpSum(struct UdpDhcpPacket *pPacket, const int bytes) in CheckPacketIpSum() 367 int CheckPacketUdpSum(struct UdpDhcpPacket *pPacket, const int bytes) in CheckPacketUdpSum() 403 struct UdpDhcpPacket udpPackets; in GetDhcpRawPacket() 404 if (memset_s(&udpPackets, sizeof(struct UdpDhcpPacket), 0, sizeof(struct UdpDhcpPacket)) ! in GetDhcpRawPacket() [all...] |
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_socket_test.cpp | 178 struct UdpDhcpPacket packet; in HWTEST_F() 179 int total = (int)sizeof(struct UdpDhcpPacket) + 1; in HWTEST_F() 182 total = (int)sizeof(struct UdpDhcpPacket); in HWTEST_F() 209 struct UdpDhcpPacket packet; in HWTEST_F() 210 int total = (int)sizeof(struct UdpDhcpPacket) + 1; in HWTEST_F() 213 total = (int)sizeof(struct UdpDhcpPacket); in HWTEST_F() 228 struct UdpDhcpPacket packet; in HWTEST_F()
|
/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/ |
H A D | dhcpclientfun_fuzzer.cpp | 311 struct UdpDhcpPacket pPacket; in CheckUdpPacketFuzzerTest() 333 struct UdpDhcpPacket pPacket; in CheckPacketIpSumFuzzerTest() 343 struct UdpDhcpPacket pPacket; in CheckPacketUdpSumFuzzerTest()
|
Completed in 5 milliseconds