Home
last modified time | relevance | path

Searched refs:PDhcpOption (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_option.h35 typedef struct DhcpOption *PDhcpOption; typedef
55 int PushBackOption(PDhcpOptionList pOptions, PDhcpOption option);
56 int PushFrontOption(PDhcpOptionList pOptions, PDhcpOption option);
59 PDhcpOption GetOption(PDhcpOptionList pOptions, uint8_t code);
62 int FillOption(PDhcpOption pOption, const char *data, size_t len);
63 int FillU32Option(PDhcpOption pOption, uint32_t u32);
64 int FillOptionData(PDhcpOption pOption, const uint8_t *data, size_t len);
65 int AppendAddressOption(PDhcpOption pOption, uint32_t address);
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_option.cpp25 PDhcpOptionNode CreateOptionNode(PDhcpOption opt) in CreateOptionNode()
85 int PushBackOption(PDhcpOptionList pOptions, PDhcpOption pOption) in PushBackOption()
112 int PushFrontOption(PDhcpOptionList pOptions, PDhcpOption pOption) in PushFrontOption()
179 PDhcpOption GetOption(PDhcpOptionList pOptions, uint8_t code) in GetOption()
238 int FillOption(PDhcpOption pOption, const char *data, size_t len) in FillOption()
257 int FillU32Option(PDhcpOption pOption, uint32_t u32) in FillU32Option()
269 int FillOptionData(PDhcpOption pOption, const uint8_t *data, size_t len) in FillOptionData()
288 int AppendAddressOption(PDhcpOption pOption, uint32_t address) in AppendAddressOption()
H A Ddhcp_s_server.cpp421 PDhcpOption opt = GetOption(&received->options, DHCP_MESSAGE_TYPE_OPTION); in MessageProcess()
996 PDhcpOption optReqIp = GetOption(&received->options, REQUESTED_IP_ADDRESS_OPTION); in OnReceivedDiscover()
1036 PDhcpOption optReqIp = GetOption(&received->options, REQUESTED_IP_ADDRESS_OPTION); in GetRequestIpAddress()
1170 PDhcpOption optReqSrvId = GetOption(&received->options, SERVER_IDENTIFIER_OPTION); in ValidateRequestMessage()
1216 PDhcpOption optVendorIdentifier = GetOption(&received->options, VENDOR_CLASS_IDENTIFIER_OPTION); in GetVendorIdentifierOption()
1237 PDhcpOption optHostName = GetOption(&received->options, HOST_NAME_OPTION); in GetHostNameOption()
1257 PDhcpOption option = GetOption(&received->options, USER_CLASS_OPTION); in GetUserClassOption()
1276 PDhcpOption option = GetOption(&received->options, RAPID_COMMIT_OPTION); in GetRapidCommitOption()
1296 PDhcpOption option = GetOption(&received->options, IPV6_ONLY_PREFERRED_OPTION); in GetOnlyIpv6Option()
1316 PDhcpOption optio in GetPortalUrlOption()
[all...]
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_message_sim.cpp282 PDhcpOption pEndOpt = GetOption(&msg->options, END_OPTION); in InitMessage()

Completed in 4 milliseconds