diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2022-01-14 23:51:05 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2022-01-14 23:51:05 +0100 |
commit | f9928a1a08c57fe853888119a996c3acc98ee09d (patch) | |
tree | c9770b76ffcc281da141f3aa2c595600372c0fca /lib/dhcp/types.h | |
download | pio-nodemcuv2-dhcp-server-main.tar.gz pio-nodemcuv2-dhcp-server-main.zip |
Able to offer IP address + DNS/Gateway ...
Worked with devices at my hand.
Diffstat (limited to 'lib/dhcp/types.h')
-rw-r--r-- | lib/dhcp/types.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/dhcp/types.h b/lib/dhcp/types.h new file mode 100644 index 0000000..049de0f --- /dev/null +++ b/lib/dhcp/types.h @@ -0,0 +1,14 @@ +// Copyright (c) 2022 Johannes Stoelp + +#ifndef TYPES_H +#define TYPES_H + +#include <cstddef> +#include <cstdint> + +using u8 = uint8_t; +using u16 = uint16_t; +using u32 = uint32_t; +using usize = size_t; + +#endif |