[systemd-devel] [RFC 17/25] dhcp-internal.h: add fallback IPTOS_CLASS_CS6 definition

Emil Renner Berthing systemd at esmil.dk
Thu Sep 18 06:24:53 PDT 2014


---
 src/libsystemd-network/dhcp-internal.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/libsystemd-network/dhcp-internal.h b/src/libsystemd-network/dhcp-internal.h
index 1069c8a..f6d15c3 100644
--- a/src/libsystemd-network/dhcp-internal.h
+++ b/src/libsystemd-network/dhcp-internal.h
@@ -31,6 +31,10 @@
 #include "sd-dhcp-client.h"
 #include "dhcp-protocol.h"
 
+#ifndef IPTOS_CLASS_CS6
+#define IPTOS_CLASS_CS6 0xc0
+#endif
+
 int dhcp_network_bind_raw_socket(int index, union sockaddr_union *link, uint32_t xid, struct ether_addr mac_addr);
 int dhcp_network_bind_udp_socket(be32_t address, uint16_t port);
 int dhcp_network_send_raw_socket(int s, const union sockaddr_union *link,
-- 
2.1.0



More information about the systemd-devel mailing list