diff options
author | Chengyi Zhao <chengyi1.zhao@archermind.com> | 2013-07-10 19:17:02 +0800 |
---|---|---|
committer | Zhang zhengguang <zhengguang.zhang@intel.com> | 2014-10-31 16:06:20 +0800 |
commit | 5bd77bc62bc47d5752a9060cb887883a9d1b9844 (patch) | |
tree | fe5e6cf319fe3558b7b431e768c922fc362f4bab /gdhcp/common.h | |
parent | c7d7214b511b0fa8b43f21b3b87416051fa9ef29 (diff) | |
download | connman-5bd77bc62bc47d5752a9060cb887883a9d1b9844.tar.gz connman-5bd77bc62bc47d5752a9060cb887883a9d1b9844.tar.bz2 connman-5bd77bc62bc47d5752a9060cb887883a9d1b9844.zip |
Tethering: Add interface that save lease in DHCP information
Change-Id: Ia09c875954d8a20a3e6c39f87076780d8a6582e4
Diffstat (limited to 'gdhcp/common.h')
-rw-r--r-- | gdhcp/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdhcp/common.h b/gdhcp/common.h index c6927992..1ab9a7cd 100644 --- a/gdhcp/common.h +++ b/gdhcp/common.h @@ -170,6 +170,7 @@ static const uint8_t dhcp_option_lengths[] = { [OPTION_U32] = 4, }; +char *malloc_option_value_string(uint8_t *option, GDHCPOptionType type); uint8_t *dhcp_get_option(struct dhcp_packet *packet, int code); uint8_t *dhcpv6_get_option(struct dhcpv6_packet *packet, uint16_t pkt_len, int code, uint16_t *option_len, int *option_count); |