diff options
author | Lutz Bichler <Lutz.Bichler@bmw.de> | 2014-07-23 17:21:45 +0200 |
---|---|---|
committer | Lutz Bichler <Lutz.Bichler@bmw.de> | 2014-07-23 17:21:45 +0200 |
commit | 7ac14ddbaefe2c51f868a604a516cf5f9a553e0f (patch) | |
tree | edb0d000b61409dea439f583f4e3c8debdccb045 /interface | |
parent | 9f89671ba256b3bbd6f1a064a5dbdc958ec7f7eb (diff) | |
download | vSomeIP-7ac14ddbaefe2c51f868a604a516cf5f9a553e0f.tar.gz |
Service availability detection by service discovery is basically
working, but:
1. A concept for handling the case of partly stopped (meaning not on all
offered endpoints) services is needed.
2. The session counter should be incremented after successful send
operations only.
3. The data structures used to within the RM need rework. There are too
many interconnected (by shared pointers) maps.
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 |