Home
last modified time | relevance | path

Searched refs:UdpDhcpPacket (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_socket.h32 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 Ddhcp_client_def.h357 struct UdpDhcpPacket { struct
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_socket.cpp204 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 Ddhcp_socket_test.cpp178 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 Ddhcpclientfun_fuzzer.cpp311 struct UdpDhcpPacket pPacket; in CheckUdpPacketFuzzerTest()
333 struct UdpDhcpPacket pPacket; in CheckPacketIpSumFuzzerTest()
343 struct UdpDhcpPacket pPacket; in CheckPacketUdpSumFuzzerTest()

Completed in 5 milliseconds