summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-dhcp6-lease.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2014-06-19 15:39:39 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2014-06-19 15:44:44 +0300
commitc6affce8740bb0cee42eebf6d1d44dd518035e88 (patch)
treef482951415805a9c4722179cde5b662fe747142e /src/libsystemd-network/sd-dhcp6-lease.c
parent3fb2c57038cf8dad396421989f43697fcf4ac4a4 (diff)
sd-dhcp6-client: Add IA Address option parsing
Add functionality to parse DHCPv6 Identity Association for Non-temporary (IA_NA) and Temporary Addresses (IA_TA) options. Both of them contain one or more IA Address (IAADDR) options and optinally a status code option. Only the IA_NA option contains lease lifetimes. See RFC 3315, sections 22.4., 22.5., 22.6., 22.13. and appendix B. for details. If the lease timeouts are not set, use the ones recommended for servers in section 22.4. Factor out common code in the form of an option header parsing helper function.
Diffstat (limited to 'src/libsystemd-network/sd-dhcp6-lease.c')
0 files changed, 0 insertions, 0 deletions