Home
last modified time | relevance | path

Searched refs:PDhcpOptionList (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_option.h51 typedef struct DhcpOptionList *PDhcpOptionList; typedef
53 int InitOptionList(PDhcpOptionList pOptions);
54 int HasInitialized(PDhcpOptionList pOptions);
55 int PushBackOption(PDhcpOptionList pOptions, PDhcpOption option);
56 int PushFrontOption(PDhcpOptionList pOptions, PDhcpOption option);
57 int RemoveOption(PDhcpOptionList pOptions, uint8_t code);
58 PDhcpOptionNode GetOptionNode(PDhcpOptionList pOptions, uint8_t code);
59 PDhcpOption GetOption(PDhcpOptionList pOptions, uint8_t code);
60 void ClearOptions(PDhcpOptionList pOptions);
61 void FreeOptionList(PDhcpOptionList pOptions);
H A Ddhcp_address_pool.h29 typedef AddressBinding *(*QueryBind)(uint8_t macAddr[DHCP_HWADDR_LENGTH], PDhcpOptionList cliOptins…
30 typedef AddressBinding *(*AddBind)(uint8_t macAddr[DHCP_HWADDR_LENGTH], PDhcpOptionList cliOptins);
56 int InitAddressPool(DhcpAddressPool *pool, const char *ifname, PDhcpOptionList options);
72 AddressBinding *QueryBinding(uint8_t macAddr[DHCP_HWADDR_LENGTH], PDhcpOptionList cliOptins);
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_option.cpp48 int HasInitialized(PDhcpOptionList pOptions) in HasInitialized()
60 int InitOptionList(PDhcpOptionList pOptions) in InitOptionList()
85 int PushBackOption(PDhcpOptionList pOptions, PDhcpOption pOption) in PushBackOption()
112 int PushFrontOption(PDhcpOptionList pOptions, PDhcpOption pOption) in PushFrontOption()
142 int RemoveOption(PDhcpOptionList pOptions, uint8_t code) in RemoveOption()
167 PDhcpOptionNode GetOptionNode(PDhcpOptionList pOptions, uint8_t code) in GetOptionNode()
179 PDhcpOption GetOption(PDhcpOptionList pOptions, uint8_t code) in GetOption()
188 void ClearOptions(PDhcpOptionList pOptions) in ClearOptions()
212 void FreeOptionList(PDhcpOptionList pOptions) in FreeOptionList()
H A Ddhcp_address_pool.cpp60 AddressBinding *QueryBinding(uint8_t macAddr[DHCP_HWADDR_LENGTH], PDhcpOptionList cliOptins) in QueryBinding()
65 AddressBinding *AddNewBinding(uint8_t macAddr[DHCP_HWADDR_LENGTH], PDhcpOptionList cliOptins) in AddNewBinding()
223 int InitAddressPool(DhcpAddressPool *pool, const char *ifname, PDhcpOptionList options) in InitAddressPool()
H A Ddhcp_s_server.cpp762 int AppendReplyTimeOptions(PDhcpServerContext ctx, PDhcpOptionList options) in AppendReplyTimeOptions()
865 int AddReplyServerIdOption(PDhcpOptionList options, uint32_t serverId) in AddReplyServerIdOption()