summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-03-07 11:23:43 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-03-10 06:47:28 +0100
commit71a9e3a304d6e6584017a529ba62adf99d83e6e3 (patch)
tree141b12fd41aad72b395aabcce6f60a1c37ec47f1 /src
parentsd-dhcp6-client: rename timezone options (diff)
downloadsystemd-71a9e3a304d6e6584017a529ba62adf99d83e6e3.tar.xz
systemd-71a9e3a304d6e6584017a529ba62adf99d83e6e3.zip
dhcp: list all known message type
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd-network/dhcp-protocol.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/src/libsystemd-network/dhcp-protocol.h b/src/libsystemd-network/dhcp-protocol.h
index 11f4201ab2..dd54bcf6ee 100644
--- a/src/libsystemd-network/dhcp-protocol.h
+++ b/src/libsystemd-network/dhcp-protocol.h
@@ -73,15 +73,24 @@ enum {
};
enum {
- DHCP_DISCOVER = 1,
- DHCP_OFFER = 2,
- DHCP_REQUEST = 3,
- DHCP_DECLINE = 4,
- DHCP_ACK = 5,
- DHCP_NAK = 6,
- DHCP_RELEASE = 7,
- DHCP_INFORM = 8,
- DHCP_FORCERENEW = 9,
+ DHCP_DISCOVER = 1, /* [RFC2132] */
+ DHCP_OFFER = 2, /* [RFC2132] */
+ DHCP_REQUEST = 3, /* [RFC2132] */
+ DHCP_DECLINE = 4, /* [RFC2132] */
+ DHCP_ACK = 5, /* [RFC2132] */
+ DHCP_NAK = 6, /* [RFC2132] */
+ DHCP_RELEASE = 7, /* [RFC2132] */
+ DHCP_INFORM = 8, /* [RFC2132] */
+ DHCP_FORCERENEW = 9, /* [RFC3203] */
+ DHCPLEASEQUERY = 10, /* [RFC4388] */
+ DHCPLEASEUNASSIGNED = 11, /* [RFC4388] */
+ DHCPLEASEUNKNOWN = 12, /* [RFC4388] */
+ DHCPLEASEACTIVE = 13, /* [RFC4388] */
+ DHCPBULKLEASEQUERY = 14, /* [RFC6926] */
+ DHCPLEASEQUERYDONE = 15, /* [RFC6926] */
+ DHCPACTIVELEASEQUERY = 16, /* [RFC7724] */
+ DHCPLEASEQUERYSTATUS = 17, /* [RFC7724] */
+ DHCPTLS = 18, /* [RFC7724] */
};
enum {