Searched refs:PDhcpServerContext (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_s_server.h | 34 } DhcpServerContext, *PDhcpServerContext; typedef 36 PDhcpServerContext InitializeServer(DhcpConfig *config); 37 int StartDhcpServer(PDhcpServerContext ctx); 38 int StopDhcpServer(PDhcpServerContext ctx); 39 int GetServerStatus(PDhcpServerContext ctx); 40 void RegisterDhcpCallback(PDhcpServerContext ctx, DhcpServerCallback callback); 41 void RegisterDeviceChangedCallback(PDhcpServerContext ctx, DeviceConnectFun func); 42 int FreeServerContext(PDhcpServerContext *ctx); 43 int SaveLease(PDhcpServerContext ctx); 45 void NotifyConnetDeviceChanged(int replyType, PDhcpServerContext ct [all...] |
/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 reply); 108 static int OnReceivedInform(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply); 109 static int SendDhcpOffer(PDhcpServerContext ctx, PDhcpMsgInfo reply); 110 static int SendDhcpAck(PDhcpServerContext ctx, PDhcpMsgInfo reply); 111 static int SendDhcpNak(PDhcpServerContext ctx, PDhcpMsgInfo reply); 315 void InitReply(PDhcpServerContext ct [all...] |
H A D | dhcp_dhcpd.cpp | 40 static PDhcpServerContext g_dhcpServer = 0;
|
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_s_server_test.cpp | 123 PDhcpServerContext ctx = InitializeServer(nullptr); in HWTEST_F()
|
Completed in 4 milliseconds