summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-identifier.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-01-21 22:25:20 +0100
committerTom Gundersen <teg@jklm.no>2015-01-21 22:57:55 +0100
commitcfb5b3805759e63dc5e0cae6e92e1df885b5c5b6 (patch)
tree583a9bb17da3642227a62f094baac67e91738828 /src/libsystemd-network/dhcp-identifier.h
parent764aad6258eec3bd4ae62ea341ea507bd69ce628 (diff)
network: dhcp - split out dhcp_identifier_set_{iaid,duid_en} from dhcp6-client
This will also be used in dhcp4-client.
Diffstat (limited to 'src/libsystemd-network/dhcp-identifier.h')
-rw-r--r--src/libsystemd-network/dhcp-identifier.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-identifier.h b/src/libsystemd-network/dhcp-identifier.h
index af95f074ef..cbec03eac1 100644
--- a/src/libsystemd-network/dhcp-identifier.h
+++ b/src/libsystemd-network/dhcp-identifier.h
@@ -59,3 +59,6 @@ struct duid {
} _packed_ raw;
};
} _packed_;
+
+int dhcp_identifier_set_duid_en(struct duid *duid, size_t *len);
+int dhcp_identifier_set_iaid(int ifindex, uint8_t *mac, size_t mac_len, uint32_t *_id);