Home
last modified time | relevance | path

Searched refs:DhcpOption (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_option_test.cpp73 DhcpOption optRouter = {ROUTER_OPTION, 0, {0}};
76 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, 1, {DHCPOFFER, 0}};
88 DhcpOption optRouter = {ROUTER_OPTION, 0, {0}};
102 DhcpOption optRouter = {ROUTER_OPTION, 0, {0}};
116 DhcpOption optRouter = {ROUTER_OPTION, 0, {0}};
122 DhcpOption *node = GetOption(&options, DHCP_MESSAGE_TYPE_OPTION);
131 DhcpOption optRouter = {ROUTER_OPTION, 0, {0}};
148 DhcpOption optVendorInfo = {VENDOR_SPECIFIC_INFO_OPTION, 0, {0}};
157 DhcpOption optRouter = {ROUTER_OPTION, 0, {0}};
167 DhcpOption optRouter = {ROUTER_OPTION, 0, {0}};
[all …]
H A Ddhcp_message_sim.cpp180 DhcpOption endOpt = {END_OPTION, 0, {0}}; in ParseDhcpOptions()
274 DhcpOption optReqIp = {REQUESTED_IP_ADDRESS_OPTION, 0, {0}}; in InitMessage()
279 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, OPT_MESSAGE_TYPE_LEGTH, {msgType, 0}}; in InitMessage()
284 DhcpOption endOpt = {END_OPTION, 0, {0}}; in InitMessage()
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_option.h29 typedef struct DhcpOption DhcpOption; typedef
30 struct DhcpOption { struct
35 typedef struct DhcpOption *PDhcpOption; argument
41 DhcpOption option;
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_s_server.cpp777 DhcpOption optLeaseTime = {IP_ADDRESS_LEASE_TIME_OPTION, OPT_TIME_LENGTH, {0}}; in AppendReplyTimeOptions()
785 DhcpOption optRenewTime = {RENEWAL_TIME_VALUE_OPTION, OPT_TIME_LENGTH, {0}}; in AppendReplyTimeOptions()
793 DhcpOption optRebindTime = {REBINDING_TIME_VALUE_OPTION, OPT_TIME_LENGTH, {0}}; in AppendReplyTimeOptions()
856 DhcpOption optAddress = {0, 0, {0}}; in AddAddressOption()
875 DhcpOption optSrvId = {SERVER_IDENTIFIER_OPTION, 0, {0}}; in AddReplyServerIdOption()
1559 DhcpOption optMsgType = {DHCP_MESSAGE_TYPE_OPTION, OPT_MESSAGE_TYPE_LEGTH, {msgType, 0}}; in AppendReplyTypeOption()
1726 DhcpOption *current, *end; in ParseMessageOptions()
1727 current = (DhcpOption *)msg->packet.options; in ParseMessageOptions()
1735 current = (DhcpOption *)(((uint8_t *)current) + MAGIC_COOKIE_LENGTH); in ParseMessageOptions()
1752 current = (DhcpOption *)(((uint8_t *)current) + OPT_HEADER_LENGTH + current->length); in ParseMessageOptions()
[all …]
H A Ddhcp_config.cpp145 DhcpOption optDns = {DOMAIN_NAME_SERVER_OPTION, 0, {0}}; in SetDnsInfo()
H A Ddhcp_dhcpd.cpp142 DhcpOption argOpt = {DOMAIN_NAME_SERVER_OPTION, 0, {0}}; in InitDomainNameServer()