Searched refs:PDhcpOption (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_option.h | 35 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);
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_option.cpp | 25 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 D | dhcp_s_server.cpp | 424 PDhcpOption opt = GetOption(&received->options, DHCP_MESSAGE_TYPE_OPTION); in MessageProcess() 998 PDhcpOption optReqIp = GetOption(&received->options, REQUESTED_IP_ADDRESS_OPTION); in OnReceivedDiscover() 1038 PDhcpOption optReqIp = GetOption(&received->options, REQUESTED_IP_ADDRESS_OPTION); in GetRequestIpAddress() 1239 PDhcpOption optHostName = GetOption(&received->options, HOST_NAME_OPTION); in GetHostNameOption() 1259 PDhcpOption option = GetOption(&received->options, USER_CLASS_OPTION); in GetUserClassOption() 1278 PDhcpOption option = GetOption(&received->options, RAPID_COMMIT_OPTION); in GetRapidCommitOption() 1298 PDhcpOption option = GetOption(&received->options, IPV6_ONLY_PREFERRED_OPTION); in GetOnlyIpv6Option() 1318 PDhcpOption option = GetOption(&received->options, IPV6_ONLY_PREFERRED_OPTION); in GetPortalUrlOption() 1522 PDhcpOption opt = nullptr; in AppendFixedOptions() 1556 PDhcpOption pOptMsgType = GetOption(&reply->options, DHCP_MESSAGE_TYPE_OPTION); in AppendReplyTypeOption() [all …]
|
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_message_sim.cpp | 282 PDhcpOption pEndOpt = GetOption(&msg->options, END_OPTION); in InitMessage()
|