diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-20 22:02:49 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-05-20 23:31:22 +0200 |
commit | f5c0c00f400e6f1fa58c5faf8bc93ca9057d4463 (patch) | |
tree | 4fe97afcb57778c64617e51c507a51c764a92528 /src/libsystemd-network/dhcp-lease-internal.h | |
parent | e140ae58f1c10bbd75ef94afc07d07b82323b506 (diff) |
dhcp-lease: add support for parsing a few more dhcp options
Diffstat (limited to 'src/libsystemd-network/dhcp-lease-internal.h')
-rw-r--r-- | src/libsystemd-network/dhcp-lease-internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-lease-internal.h b/src/libsystemd-network/dhcp-lease-internal.h index 297bacbb78..ff09583604 100644 --- a/src/libsystemd-network/dhcp-lease-internal.h +++ b/src/libsystemd-network/dhcp-lease-internal.h @@ -35,19 +35,31 @@ struct sd_dhcp_lease { RefCount n_ref; + int32_t time_offset; uint32_t t1; uint32_t t2; uint32_t lifetime; + uint32_t mtu_aging_timeout; be32_t address; be32_t server_address; be32_t subnet_mask; be32_t router; be32_t next_server; + be32_t broadcast; struct in_addr *dns; size_t dns_size; struct in_addr *ntp; size_t ntp_size; + struct in_addr *policy_filter; + size_t policy_filter_size; + struct in_addr *static_route; + size_t static_route_size; + uint16_t boot_file_size; + uint16_t mdr; uint16_t mtu; + uint8_t ttl; + bool ip_forward; + bool ip_forward_non_local; char *domainname; char *hostname; char *root_path; |