Searched refs:PDhcpMsgInfo (Results 1 - 6 of 6) sorted by relevance
/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_s_server.h | 44 int ReceiveDhcpMessage(int sock, PDhcpMsgInfo msgInfo); 46 int ReceiveDhcpMessage(int sock, PDhcpMsgInfo msgInfo); 47 int GetVendorIdentifierOption(PDhcpMsgInfo received); 48 int GetHostNameOption(PDhcpMsgInfo received, AddressBinding *bindin); 49 int ReplyCommontOption(PDhcpServerContext ctx, PDhcpMsgInfo reply); 50 int ParseDhcpOption(PDhcpMsgInfo received, AddressBinding *bindin); 51 int GetUserClassOption(PDhcpMsgInfo received, AddressBinding *bindin); 52 int GetRapidCommitOption(PDhcpMsgInfo received, AddressBinding *bindin); 53 int GetOnlyIpv6Option(PDhcpMsgInfo received, AddressBinding *bindin); 54 int GetPortalUrlOption(PDhcpMsgInfo receive [all...] |
H A D | dhcp_message.h | 74 typedef struct DhcpMsgInfo *PDhcpMsgInfo; typedef
|
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_s_server_test.cpp | 199 ASSERT_TRUE(memset_s(&received, sizeof(PDhcpMsgInfo), 0, sizeof(PDhcpMsgInfo)) == EOK); in HWTEST_F() 205 PDhcpMsgInfo received; in HWTEST_F() 206 ASSERT_TRUE(memset_s(&received, sizeof(PDhcpMsgInfo), 0, sizeof(PDhcpMsgInfo)) == EOK); in HWTEST_F() 220 PDhcpMsgInfo received; in HWTEST_F() 221 ASSERT_TRUE(memset_s(&received, sizeof(PDhcpMsgInfo), 0, sizeof(PDhcpMsgInfo)) == EOK); in HWTEST_F() 227 PDhcpMsgInfo received; in HWTEST_F() 228 ASSERT_TRUE(memset_s(&received, sizeof(PDhcpMsgInfo), in HWTEST_F() [all...] |
H A D | dhcp_message_sim.h | 75 int SendDhcpMessage(const DhcpClientContext *ctx, PDhcpMsgInfo msg); 92 int InitMessage(DhcpClientContext *ctx, PDhcpMsgInfo msg, uint8_t msgType); 94 int ParseReceivedOptions(PDhcpMsgInfo msg);
|
H A D | dhcp_message_sim.cpp | 176 static int ParseDhcpOptions(PDhcpMsgInfo msg) in ParseDhcpOptions() 219 int SendDhcpMessage(const DhcpClientContext *ctx, PDhcpMsgInfo msg) in SendDhcpMessage() 242 int InitMessage(DhcpClientContext *ctx, PDhcpMsgInfo msg, uint8_t msgType) in InitMessage()
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_s_server.cpp | 103 int FillReply(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply); 104 static int OnReceivedDiscover(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply); 105 static int OnReceivedRequest(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply); 106 static int OnReceivedDecline(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply); 107 static int OnReceivedRelease(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo repl [all...] |
Completed in 5 milliseconds