diff options
Diffstat (limited to 'interface')
-rw-r--r-- | interface/vsomeip/primitive_types.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/interface/vsomeip/primitive_types.hpp b/interface/vsomeip/primitive_types.hpp index 9ad4ff7..7a30033 100644 --- a/interface/vsomeip/primitive_types.hpp +++ b/interface/vsomeip/primitive_types.hpp @@ -7,6 +7,7 @@ #ifndef VSOMEIP_PRIMITIVE_TYPES_HPP #define VSOMEIP_PRIMITIVE_TYPES_HPP +#include <array> #include <cstdint> namespace vsomeip { @@ -35,6 +36,10 @@ typedef uint8_t interface_version_t; typedef uint8_t byte_t; +// Addresses +typedef std::array< byte_t, 4 > ipv4_address_t; +typedef std::array< byte_t, 16 > ipv6_address_t; + } // namespace vsomeip #endif // VSOMEIP_PRIMITIVE_TYPES_HPP |