Searched refs:addOption (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish/dhcp/common/ |
D | message.cpp | 59 message.addOption(OPT_PARAMETER_LIST, kRequestParameters); in discover() 73 message.addOption(OPT_PARAMETER_LIST, kRequestParameters); in request() 74 message.addOption(OPT_REQUESTED_IP, requestAddress); in request() 75 message.addOption(OPT_SERVER_ID, serverAddress); in request() 98 message.addOption(OPT_SERVER_ID, serverAddress); in offer() 99 message.addOption(OPT_LEASE_TIME, kDefaultLeaseTime); in offer() 100 message.addOption(OPT_SUBNET_MASK, offeredNetmask); in offer() 101 message.addOption(OPT_GATEWAY, offeredGateway); in offer() 102 message.addOption(OPT_DNS, in offer() 127 message.addOption(OPT_SERVER_ID, serverAddress); in ack() [all …]
|
/device/generic/goldfish/dhcp/common/include/ |
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
|