1 // Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) 2 // This Source Code Form is subject to the terms of the Mozilla Public 3 // License, v. 2.0. If a copy of the MPL was not distributed with this 4 // file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 #include <cstdint> 7 8 #ifndef VSOMEIP_V3_SD_ENUMERATION_TYPES_HPP 9 #define VSOMEIP_V3_SD_ENUMERATION_TYPES_HPP 10 11 namespace vsomeip_v3 { 12 namespace sd { 13 14 enum class option_type_e 15 : uint8_t { 16 CONFIGURATION = 0x1, 17 LOAD_BALANCING = 0x2, 18 PROTECTION = 0x3, 19 IP4_ENDPOINT = 0x4, 20 IP6_ENDPOINT = 0x6, 21 IP4_MULTICAST = 0x14, 22 IP6_MULTICAST = 0x16, 23 SELECTIVE = 0x20, 24 UNKNOWN = 0xFF 25 }; 26 27 enum class entry_type_e 28 : uint8_t { 29 FIND_SERVICE = 0x00, 30 OFFER_SERVICE = 0x01, 31 STOP_OFFER_SERVICE = 0x01, 32 REQUEST_SERVICE = 0x2, 33 FIND_EVENT_GROUP = 0x4, 34 PUBLISH_EVENTGROUP = 0x5, 35 STOP_PUBLISH_EVENTGROUP = 0x5, 36 SUBSCRIBE_EVENTGROUP = 0x06, 37 STOP_SUBSCRIBE_EVENTGROUP = 0x06, 38 SUBSCRIBE_EVENTGROUP_ACK = 0x07, 39 STOP_SUBSCRIBE_EVENTGROUP_ACK = 0x07, 40 UNKNOWN = 0xFF 41 }; 42 43 enum class layer_four_protocol_e 44 : uint8_t { 45 TCP = 0x06, 46 UDP = 0x11, 47 UNKNOWN = 0xFF 48 }; 49 50 } // namespace sd 51 } // namespace vsomeip_v3 52 53 #endif // VSOMEIP_V3_SD_ENUMERATION_TYPES_HPP 54