diff options
author | Lutz Bichler <Lutz.Bichler@bmw.de> | 2020-11-30 09:44:44 +0100 |
---|---|---|
committer | Lutz Bichler <Lutz.Bichler@bmw.de> | 2020-11-30 09:44:44 +0100 |
commit | 710a8613ee5bd9eb490addecd7f2ee8049c4fd0c (patch) | |
tree | 49215269c551ac7eba482b3d9f6f084f56bf2fd3 /implementation/e2e_protection/include/e2e/profile/profile_custom/profile_custom.hpp | |
parent | 46e6856a1a61f4b24e29c1f2d3ed0b4ee7da0ede (diff) | |
download | vSomeIP-710a8613ee5bd9eb490addecd7f2ee8049c4fd0c.tar.gz |
vsomeip 3.1.20.13.1.20.1
Diffstat (limited to 'implementation/e2e_protection/include/e2e/profile/profile_custom/profile_custom.hpp')
-rw-r--r-- | implementation/e2e_protection/include/e2e/profile/profile_custom/profile_custom.hpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/implementation/e2e_protection/include/e2e/profile/profile_custom/profile_custom.hpp b/implementation/e2e_protection/include/e2e/profile/profile_custom/profile_custom.hpp index 1cabefa..244989d 100644 --- a/implementation/e2e_protection/include/e2e/profile/profile_custom/profile_custom.hpp +++ b/implementation/e2e_protection/include/e2e/profile/profile_custom/profile_custom.hpp @@ -7,6 +7,9 @@ #define VSOMEIP_V3_E2E_PROFILE_CUSTOM_PROFILE_CUSTOM_HPP #include <cstdint> + +#include <vsomeip/defines.hpp> + #include "../../../buffer/buffer.hpp" namespace vsomeip_v3 { @@ -23,15 +26,17 @@ class profile_custom { }; struct profile_config { - uint16_t crc_offset_; - profile_config() = delete; profile_config(uint16_t _crc_offset) - : crc_offset_(_crc_offset) { + : crc_offset_(_crc_offset), + base_(VSOMEIP_FULL_HEADER_SIZE) { } profile_config(const profile_config &_config) = default; profile_config &operator=(const profile_config &_config) = default; + + uint16_t crc_offset_; + size_t base_; }; } // namespace profile_custom |