• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifndef MALICIOUS_DATA_TEST_GLOBALS_HPP_
7 #define MALICIOUS_DATA_TEST_GLOBALS_HPP_
8 
9 namespace malicious_data_test {
10 
11 struct service_info {
12     vsomeip::service_t service_id;
13     vsomeip::instance_t instance_id;
14     vsomeip::method_t method_id;
15     vsomeip::event_t event_id;
16     vsomeip::eventgroup_t eventgroup_id;
17     vsomeip::method_t shutdown_method_id;
18     vsomeip::method_t notify_method_id;
19 };
20 
21 struct service_info service = { 0x3344, 0x1, 0x1111, 0x8002, 0x1, 0x1404, 0x4242 };
22 
23 enum test_mode_e {
24     MALICIOUS_EVENTS,
25     PROTOCOL_VERSION,
26     MESSAGE_TYPE,
27     RETURN_CODE,
28     WRONG_HEADER_FIELDS_UDP
29 };
30 
31 }
32 
33 #endif /* MALICIOUS_DATA_TEST_GLOBALS_HPP_ */
34