diff options
author | Tom Gundersen <teg@jklm.no> | 2014-02-14 11:58:41 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-02-15 12:14:45 +0100 |
commit | 0bfedf143c72005cb540ddcaf9a8630844e381f8 (patch) | |
tree | d6118ab5a5bb283d155c24185252f2ace8aa0a6d /src/libsystemd-dhcp/dhcp-protocol.h | |
parent | e5002702716b047c3d5515aaeecc5b829db02aa4 (diff) |
sd-dhcp: minimum options size is part of the protocol
Diffstat (limited to 'src/libsystemd-dhcp/dhcp-protocol.h')
-rw-r--r-- | src/libsystemd-dhcp/dhcp-protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-dhcp/dhcp-protocol.h b/src/libsystemd-dhcp/dhcp-protocol.h index abdfe8d54b..81d36cef27 100644 --- a/src/libsystemd-dhcp/dhcp-protocol.h +++ b/src/libsystemd-dhcp/dhcp-protocol.h @@ -58,6 +58,7 @@ typedef struct DHCPPacket DHCPPacket; #define DHCP_IP_SIZE (int32_t)(sizeof(struct iphdr)) #define DHCP_IP_UDP_SIZE (int32_t)(sizeof(struct udphdr) + DHCP_IP_SIZE) #define DHCP_MESSAGE_SIZE (int32_t)(sizeof(DHCPMessage)) +#define DHCP_MIN_OPTIONS_SIZE 312 enum { DHCP_PORT_SERVER = 67, |