[systemd-devel] [RFC 17/25] dhcp-internal.h: add fallback IPTOS_CLASS_CS6 definition
Lennart Poettering
lennart at poettering.net
Thu Oct 2 12:06:52 PDT 2014
On Thu, 18.09.14 15:24, Emil Renner Berthing (systemd at esmil.dk) wrote:
> ---
> 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,
This might make sense, but belongs in missing.h, nowhere else.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list