Searched refs:addOption (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish/dhcp/common/ |
D | message.cpp | 61 message.addOption(OPT_PARAMETER_LIST, kRequestParameters); in discover() 75 message.addOption(OPT_PARAMETER_LIST, kRequestParameters); in request() 76 message.addOption(OPT_REQUESTED_IP, requestAddress); in request() 77 message.addOption(OPT_SERVER_ID, serverAddress); in request() 100 message.addOption(OPT_SERVER_ID, serverAddress); in offer() 101 message.addOption(OPT_LEASE_TIME, kDefaultLeaseTime); in offer() 102 message.addOption(OPT_SUBNET_MASK, offeredNetmask); in offer() 103 message.addOption(OPT_GATEWAY, offeredGateway); in offer() 104 message.addOption(OPT_DNS, in offer() 129 message.addOption(OPT_SERVER_ID, serverAddress); in ack() [all …]
|
D | message.h | 103 void addOption(uint8_t type, const void* data, uint8_t size); 105 void addOption(uint8_t type, T data) { in addOption() function 107 addOption(type, &data, sizeof(data)); in addOption() 110 void addOption(uint8_t type, T (&items)[N]) { in addOption() function
|