Line data Source code
1 : /********************************************************************************
2 : * Copyright (c) 2026 Accenture
3 : *
4 : * This program and the accompanying materials are made available under the
5 : * terms of the Apache License Version 2.0 which is available at
6 : * https://www.apache.org/licenses/LICENSE-2.0
7 : *
8 : * SPDX-License-Identifier: Apache-2.0
9 : ********************************************************************************/
10 :
11 : #include "someip/NetworkConfig.h"
12 :
13 : namespace someip
14 : {
15 20 : NetworkConfig::NetworkConfig(
16 : ::ip::IPAddress const& multicastIp,
17 : ::ip::IPAddress const& localIp,
18 : uint8_t const subnetId,
19 : UdpConfig& udpConfig,
20 : TcpConfig& tcpConfig,
21 20 : TpConfig& tpConfig)
22 20 : : _multicastIp(multicastIp)
23 20 : , _localIp(localIp)
24 20 : , _udpConfig(udpConfig)
25 20 : , _tcpConfig(tcpConfig)
26 20 : , _tpConfig(tpConfig)
27 20 : , _subnetId(subnetId)
28 20 : , _useMagicCookie(false)
29 20 : {}
30 :
31 : } // namespace someip
|