Home
last modified time | relevance | path

Searched refs:option_code (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/dhcp_client/
Ddhcp_options_writer.cc43 uint8_t option_code, in WriteUInt8Option() argument
46 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt8Option()
56 uint8_t option_code, in WriteUInt16Option() argument
60 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt16Option()
70 uint8_t option_code, in WriteUInt32Option() argument
74 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt32Option()
84 uint8_t option_code, in WriteUInt8ListOption() argument
87 LOG(ERROR) << "Faild to write option: " << static_cast<int>(option_code) in WriteUInt8ListOption()
92 buffer->Append(ByteString(reinterpret_cast<const char*>(&option_code), in WriteUInt8ListOption()
102 uint8_t option_code, in WriteUInt16ListOption() argument
[all …]
Ddhcp_options_writer.h35 uint8_t option_code,
38 uint8_t option_code,
41 uint8_t option_code,
44 uint8_t option_code,
47 uint8_t option_code,
50 uint8_t option_code,
53 uint8_t option_code,
56 uint8_t option_code,
59 uint8_t option_code,
62 uint8_t option_code,
Ddhcp_message.cc160 uint8_t option_code = *ptr++; in ParseDHCPOptions() local
161 int option_code_int = static_cast<int>(option_code); in ParseDHCPOptions()
162 if (option_code == kDHCPOptionPad) { in ParseDHCPOptions()
164 } else if (option_code == kDHCPOptionEnd) { in ParseDHCPOptions()
180 if (options_set.find(option_code) != options_set.end()) { in ParseDHCPOptions()
185 auto it = options_map_.find(option_code); in ParseDHCPOptions()
191 options_set.insert(option_code); in ParseDHCPOptions()