Lines Matching defs:ctx
114 static struct ServerContext *GetServerInstance(const DhcpServerContext *ctx) in GetServerInstance()
305 void InitReply(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in InitReply()
330 void OnUpdateServerConfig(PDhcpServerContext ctx) in OnUpdateServerConfig()
343 static void OnServerStoping(PDhcpServerContext ctx) in OnServerStoping()
356 void OnServerStoped(PDhcpServerContext ctx, int code) in OnServerStoped()
369 int SendDhcpReply(PDhcpServerContext ctx, int replyType, PDhcpMsgInfo reply) in SendDhcpReply()
403 static int MessageProcess(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in MessageProcess()
447 int SaveLease(PDhcpServerContext ctx) in SaveLease()
463 static int OnLooperStateChanged(PDhcpServerContext ctx) in OnLooperStateChanged()
502 static int BeginLooper(PDhcpServerContext ctx) in BeginLooper()
631 int StartDhcpServer(PDhcpServerContext ctx) in StartDhcpServer()
669 int StopDhcpServer(PDhcpServerContext ctx) in StopDhcpServer()
679 int GetServerStatus(PDhcpServerContext ctx) in GetServerStatus()
689 int FillReply(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in FillReply()
739 int AppendReplyTimeOptions(PDhcpServerContext ctx, PDhcpOptionList options) in AppendReplyTimeOptions()
904 static int OnReceivedDiscover(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in OnReceivedDiscover()
1060 static int ValidateRequestMessage(const PDhcpServerContext ctx, const PDhcpMsgInfo received, in ValidateRequestMessage()
1101 static int HasNobindgRequest(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in HasNobindgRequest()
1131 static int OnReceivedRequest(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in OnReceivedRequest()
1180 static int OnReceivedDecline(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in OnReceivedDecline()
1221 static int OnReceivedRelease(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in OnReceivedRelease()
1273 static int OnReceivedInform(PDhcpServerContext ctx, PDhcpMsgInfo received, PDhcpMsgInfo reply) in OnReceivedInform()
1290 static int AppendFixedOptions(PDhcpServerContext ctx, PDhcpMsgInfo reply) in AppendFixedOptions()
1350 static int SendDhcpOffer(PDhcpServerContext ctx, PDhcpMsgInfo reply) in SendDhcpOffer()
1397 static int SendDhcpAck(PDhcpServerContext ctx, PDhcpMsgInfo reply) in SendDhcpAck()
1431 static int SendDhcpNak(PDhcpServerContext ctx, PDhcpMsgInfo reply) in SendDhcpNak()
1584 void RegisterDhcpCallback(PDhcpServerContext ctx, DhcpServerCallback callback) in RegisterDhcpCallback()
1595 static int InitServerContext(DhcpConfig *config, DhcpServerContext *ctx) in InitServerContext()
1641 int InitServerFixedOptions(DhcpConfig *config, DhcpServerContext *ctx) in InitServerFixedOptions()
1717 int FreeServerContext(PDhcpServerContext *ctx) in FreeServerContext()