Home
last modified time | relevance | path

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

/ohos5.0/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);
/ohos5.0/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.cpp424 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 Ddhcp_message_sim.cpp282 PDhcpOption pEndOpt = GetOption(&msg->options, END_OPTION); in InitMessage()