| 1 | // SPDX-License-Identifier: BSD-2-Clausecxx . . $ `<file>/src/config.c`/ |
| 2 | /* |
| 3 | * Copyright (C) 2020-2025 Linutronix GmbH |
| 4 | * Author Kurt Kanzenbach <[email protected]> |
| 5 | */ |
| 6 | |
| 7 | #include <errno.h> |
| 8 | #include <inttypes.h> |
| 9 | #include <stdio.h> |
| 10 | #include <stdlib.h> |
| 11 | #include <string.h> |
| 12 | #include <yaml.h> |
| 13 | |
| 14 | #include <linux/if_ether.h> |
| 15 | |
| 16 | #include "config.h"cxx . . $ `<file>/src/config.h`/ |
| 17 | #include "net_def.h"cxx . . $ `<file>/src/net_def.h`/ |
| 18 | #include "security.h"cxx . . $ `<file>/src/security.h`/ |
| 19 | #include "stat.h"cxx . . $ `<file>/src/stat.h`/ |
| 20 | #include "utils.h"cxx . . $ `<file>/src/utils.h`/ |
| 21 | |
| 22 | #include "dcp_thread.h"cxx . . $ `<file>/src/dcp_thread.h`/ |
| 23 | #include "layer2_thread.h"cxx . . $ `<file>/src/layer2_thread.h`/ |
| 24 | #include "lldp_thread.h"cxx . . $ `<file>/src/lldp_thread.h`/ |
| 25 | #include "rta_thread.h"cxx . . $ `<file>/src/rta_thread.h`/ |
| 26 | #include "rtc_thread.h"cxx . . $ `<file>/src/rtc_thread.h`/ |
| 27 | #include "tsn_thread.h"cxx . . $ `<file>/src/tsn_thread.h`/ |
| 28 | #include "udp_thread.h"cxx . . $ `<file>/src/udp_thread.h`/ |
| 29 | |
| 30 | struct application_configcxx . . $ application_config# app_configcxx . . $ app_config.; |
| 31 | |
| 32 | static boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(const char *opt, const char *s) |
| 33 | { |
| 34 | return !strncmpcxx . . $ strncmp(fd278af2f295fa2e).(opt, s, strlencxx . . $ strlen(751346f8406fd082).(s)); |
| 35 | } |
| 36 | |
| 37 | static enum stat_frame_typecxx . . $ stat_frame_type# config_opt_to_typecxx . . $ config_opt_to_type(62ab9586e78c6151).(const char *opt) |
| 38 | { |
| 39 | if (str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(opt, "TsnHigh")) |
| 40 | return TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.; |
| 41 | if (str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(opt, "TsnLow")) |
| 42 | return TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.; |
| 43 | if (str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(opt, "Rtc")) |
| 44 | return RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.; |
| 45 | if (str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(opt, "Rta")) |
| 46 | return RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.; |
| 47 | if (str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(opt, "Dcp")) |
| 48 | return DCP_FRAME_TYPEcxx . . $ DCP_FRAME_TYPE.; |
| 49 | if (str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(opt, "Lldp")) |
| 50 | return LLDP_FRAME_TYPEcxx . . $ LLDP_FRAME_TYPE.; |
| 51 | if (str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(opt, "UdpHigh")) |
| 52 | return UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.; |
| 53 | if (str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(opt, "UdpLow")) |
| 54 | return UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.; |
| 55 | if (str_match_secondcxx . . $ str_match_second(b7a7aa4a824b7595).(opt, "GenericL2")) |
| 56 | return GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.; |
| 57 | |
| 58 | /* Not a traffic class option */ |
| 59 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "BUG: Invalid option '%s' found!\n", opt); |
| 60 | return NUM_FRAME_TYPEScxx . . $ NUM_FRAME_TYPES.; |
| 61 | } |
| 62 | |
| 63 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).(const char *traffic_class) |
| 64 | { |
| 65 | enum stat_frame_typecxx . . $ stat_frame_type# type = config_opt_to_typecxx . . $ config_opt_to_type(62ab9586e78c6151).(traffic_class); |
| 66 | |
| 67 | return app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[type].enabledcxx . . $ traffic_class_config#enabled. && |
| 68 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[type].num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. > 0; |
| 69 | } |
| 70 | |
| 71 | static int config_parse_boolcxx . . $ config_parse_bool(d75b4a580f3cbb10).(const char *value, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! *ret) |
| 72 | { |
| 73 | if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).(value, "0") || !strcasecmpcxx . . $ strcasecmp(5ae29d726ae57f88).(value, "false")) |
| 74 | *ret = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 75 | else if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).(value, "1") || !strcasecmpcxx . . $ strcasecmp(5ae29d726ae57f88).(value, "true")) |
| 76 | *ret = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 77 | else |
| 78 | return -EINVALcxx . . $ `<external>/8987895939074593727/errno-base.h:26:9`!; |
| 79 | |
| 80 | return 0; |
| 81 | } |
| 82 | |
| 83 | static int config_parse_intcxx . . $ config_parse_int(ef3eecfa0254c586).(const char *value, long *ret) |
| 84 | { |
| 85 | char *endptr; |
| 86 | |
| 87 | *ret = strtolcxx . . $ strtol(44bbb87609b212fc).(value, &endptr, 10); |
| 88 | if (errnocxx . . $ `<external>/17633486526465735210/errno.h:38:10`! != 0 || endptr == value || *endptr != '\0') |
| 89 | return -ERANGEcxx . . $ `<external>/8987895939074593727/errno-base.h:38:9`!; |
| 90 | |
| 91 | return 0; |
| 92 | } |
| 93 | |
| 94 | static int config_parse_ulongcxx . . $ config_parse_ulong(f697d062dcb9aae5).(const char *value, unsigned long long *ret) |
| 95 | { |
| 96 | char *endptr; |
| 97 | |
| 98 | *ret = strtoullcxx . . $ strtoull(fa707f2e7d9ad629).(value, &endptr, 10); |
| 99 | if (errnocxx . . $ `<external>/17633486526465735210/errno.h:38:10`! != 0 || endptr == value || *endptr != '\0') |
| 100 | return -ERANGEcxx . . $ `<external>/8987895939074593727/errno-base.h:38:9`!; |
| 101 | |
| 102 | return 0; |
| 103 | } |
| 104 | |
| 105 | static int config_parse_timecxx . . $ config_parse_time(adf14cd0d317759d).(const char *value, uint64_tcxx . . $ uint64_t# *ret) |
| 106 | { |
| 107 | unsigned long long tmp; |
| 108 | char *endptr; |
| 109 | |
| 110 | tmp = strtoullcxx . . $ strtoull(fa707f2e7d9ad629).(value, &endptr, 10); |
| 111 | if (errnocxx . . $ `<external>/17633486526465735210/errno.h:38:10`! != 0 || endptr == value) |
| 112 | return -ERANGEcxx . . $ `<external>/8987895939074593727/errno-base.h:38:9`!; |
| 113 | |
| 114 | /* Nanoseconds without unit. */ |
| 115 | if (*endptr == '\0') { |
| 116 | *ret = tmp; |
| 117 | return 0; |
| 118 | } |
| 119 | |
| 120 | /* Seconds */ |
| 121 | if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).(endptr, "s")) { |
| 122 | if (__builtin_mul_overflowcxx . . $ __builtin_mul_overflow(916943d3f68c3cf5).(tmp, NSEC_PER_SECcxx . . $ `src/utils.h:26:9`!, &tmp)) |
| 123 | return -ERANGEcxx . . $ `<external>/8987895939074593727/errno-base.h:38:9`!; |
| 124 | *ret = tmp; |
| 125 | return 0; |
| 126 | } |
| 127 | |
| 128 | /* Milliseconds */ |
| 129 | if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).(endptr, "ms")) { |
| 130 | if (__builtin_mul_overflowcxx . . $ __builtin_mul_overflow(916943d3f68c3cf5).(tmp, USEC_PER_SECcxx . . $ `src/utils.h:25:9`!, &tmp)) |
| 131 | return -ERANGEcxx . . $ `<external>/8987895939074593727/errno-base.h:38:9`!; |
| 132 | *ret = tmp; |
| 133 | return 0; |
| 134 | } |
| 135 | |
| 136 | /* Microseconds */ |
| 137 | if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).(endptr, "us")) { |
| 138 | if (__builtin_mul_overflowcxx . . $ __builtin_mul_overflow(916943d3f68c3cf5).(tmp, MSEC_PER_SECcxx . . $ `src/utils.h:24:9`!, &tmp)) |
| 139 | return -ERANGEcxx . . $ `<external>/8987895939074593727/errno-base.h:38:9`!; |
| 140 | *ret = tmp; |
| 141 | return 0; |
| 142 | } |
| 143 | |
| 144 | return -EINVALcxx . . $ `<external>/8987895939074593727/errno-base.h:26:9`!; |
| 145 | } |
| 146 | |
| 147 | /* The configuration file is YAML based. Use libyaml to parse it. */ |
| 148 | int config_read_from_filecxx . . $ config_read_from_file(5c4306d8553b3696).(const char *config_file) |
| 149 | { |
| 150 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! base_time_seen = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 151 | int ret, state_key = 0; |
| 152 | yaml_parser_tcxx . . $ yaml_parser_t# parser; |
| 153 | yaml_token_tcxx . . $ yaml_token_t# token; |
| 154 | const char *value; |
| 155 | char *key = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 156 | FILEcxx . . $ FILE# *f; |
| 157 | |
| 158 | if (!config_file) |
| 159 | return -EINVALcxx . . $ `<external>/8987895939074593727/errno-base.h:26:9`!; |
| 160 | |
| 161 | f = fopencxx . . $ fopen(82ec0787cd37e0a3).(config_file, "r"); |
| 162 | if (!f) { |
| 163 | perrorcxx . . $ perror(85c52e162fed56f9).("fopen() failed"); |
| 164 | return -EIOcxx . . $ `<external>/8987895939074593727/errno-base.h:9:9`!; |
| 165 | } |
| 166 | |
| 167 | ret = yaml_parser_initializecxx . . $ yaml_parser_initialize(3cfc1e679d24aa99).(&parser); |
| 168 | if (!ret) { |
| 169 | ret = -EINVALcxx . . $ `<external>/8987895939074593727/errno-base.h:26:9`!; |
| 170 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "Failed to initialize YAML parser\n"); |
| 171 | goto err_yaml; |
| 172 | } |
| 173 | |
| 174 | yaml_parser_set_input_filecxx . . $ yaml_parser_set_input_file(4779686601ea6eb).(&parser, f); |
| 175 | |
| 176 | do { |
| 177 | char *endptr; |
| 178 | |
| 179 | ret = yaml_parser_scancxx . . $ yaml_parser_scan(469c830dfc11bf6d).(&parser, &token); |
| 180 | if (!ret) { |
| 181 | ret = -EINVALcxx . . $ `<external>/8987895939074593727/errno-base.h:26:9`!; |
| 182 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "Failed to parse YAML file!\n"); |
| 183 | goto err_parse; |
| 184 | } |
| 185 | |
| 186 | switch (token.typecxx . . $ yaml_token_s#type.) { |
| 187 | case YAML_KEY_TOKENcxx . . $ YAML_KEY_TOKEN.: |
| 188 | state_key = 1; |
| 189 | break; |
| 190 | case YAML_VALUE_TOKENcxx . . $ YAML_VALUE_TOKEN.: |
| 191 | state_key = 0; |
| 192 | break; |
| 193 | case YAML_SCALAR_TOKENcxx . . $ YAML_SCALAR_TOKEN.: |
| 194 | value = (const char *)token.datacxx . . $ yaml_token_s#data..scalarcxx . . $ yaml_token_s#$anonymous_type_0#scalar..valuecxx . . $ yaml_token_s#$anonymous_type_0#$anonymous_type_5#value.; |
| 195 | if (state_key) { |
| 196 | /* Save key */ |
| 197 | key = strdupcxx . . $ strdup(a8b8e32347182212).(value); |
| 198 | if (!key) { |
| 199 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "No memory left!\n"); |
| 200 | goto err_parse; |
| 201 | } |
| 202 | |
| 203 | continue; |
| 204 | } |
| 205 | |
| 206 | if (!key) |
| 207 | continue; |
| 208 | |
| 209 | /* Switch value */ |
| 210 | CONFIG_STORE_CLOCKID_PARAMcxx . . $ `src/config.h:345:9`!(ApplicationClockId, application_clock_id); |
| 211 | CONFIG_STORE_TIME_PARAMcxx . . $ `src/config.h:251:9`!(ApplicationBaseCycleTimeNS, |
| 212 | application_base_cycle_time_ns); |
| 213 | CONFIG_STORE_TIME_PARAMcxx . . $ `src/config.h:251:9`!(ApplicationBaseStartTimeNS, |
| 214 | application_base_start_time_ns); |
| 215 | CONFIG_STORE_TIME_PARAMcxx . . $ `src/config.h:251:9`!(ApplicationBaseStartOffsetNS, |
| 216 | application_base_start_offset_ns); |
| 217 | CONFIG_STORE_TIME_PARAMcxx . . $ `src/config.h:251:9`!(ApplicationTxBaseOffsetNS, |
| 218 | application_tx_base_offset_ns); |
| 219 | CONFIG_STORE_TIME_PARAMcxx . . $ `src/config.h:251:9`!(ApplicationRxBaseOffsetNS, |
| 220 | application_rx_base_offset_ns); |
| 221 | CONFIG_STORE_STRING_PARAMcxx . . $ `src/config.h:279:9`!(ApplicationXdpProgram, application_xdp_program); |
| 222 | |
| 223 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighEnabled, enabled); |
| 224 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighXdpEnabled, xdp_enabled); |
| 225 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighXdpSkbMode, xdp_skb_mode); |
| 226 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighXdpZcMode, xdp_zc_mode); |
| 227 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighXdpWakeupMode, xdp_wakeup_mode); |
| 228 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighXdpBusyPollMode, xdp_busy_poll_mode); |
| 229 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighTxTimeEnabled, tx_time_enabled); |
| 230 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighIgnoreRxErrors, ignore_rx_errors); |
| 231 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighTxTimeStampEnabled, |
| 232 | tx_hwtstamp_enabled); |
| 233 | CONFIG_STORE_TIME_PARAM_CLASScxx . . $ `src/config.h:238:9`!(TsnHighTxTimeOffsetNS, tx_time_offset_ns); |
| 234 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighVid, vid); |
| 235 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighPcp, pcp); |
| 236 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(TsnHighNumFramesPerCycle, |
| 237 | num_frames_per_cycle); |
| 238 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnHighPayloadPattern, payload_pattern); |
| 239 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(TsnHighFrameLength, frame_length); |
| 240 | CONFIG_STORE_SECURITY_MODE_PARAM_CLASScxx . . $ `src/config.h:374:9`!(TsnHighSecurityMode, security_mode); |
| 241 | CONFIG_STORE_SECURITY_ALGORITHM_PARAM_CLASScxx . . $ `src/config.h:394:9`!(TsnHighSecurityAlgorithm, |
| 242 | security_algorithm); |
| 243 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnHighSecurityKey, security_key); |
| 244 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnHighSecurityIvPrefix, |
| 245 | security_iv_prefix); |
| 246 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighRxQueue, rx_queue); |
| 247 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighTxQueue, tx_queue); |
| 248 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighSocketPriority, socket_priority); |
| 249 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighTxThreadPriority, tx_thread_priority); |
| 250 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighRxThreadPriority, rx_thread_priority); |
| 251 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighTxThreadCpu, tx_thread_cpu); |
| 252 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighRxThreadCpu, rx_thread_cpu); |
| 253 | CONFIG_STORE_INTERFACE_PARAM_CLASScxx . . $ `src/config.h:294:9`!(TsnHighInterface, interface); |
| 254 | CONFIG_STORE_MAC_PARAM_CLASScxx . . $ `src/config.h:304:9`!(TsnHighDestination, l2_destination); |
| 255 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighRxWorkloadEnabled, |
| 256 | rx_workload_enabled); |
| 257 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnHighRxWorkloadPrewarm, |
| 258 | rx_workload_prewarm); |
| 259 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighRxWorkloadSkipCount, |
| 260 | rx_workload_skip_count); |
| 261 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnHighRxWorkloadFile, workload_file); |
| 262 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnHighRxWorkloadSetupFunction, |
| 263 | workload_setup_function); |
| 264 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnHighRxWorkloadSetupArguments, |
| 265 | workload_setup_arguments); |
| 266 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnHighRxWorkloadFunction, |
| 267 | workload_function); |
| 268 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnHighRxWorkloadArguments, |
| 269 | workload_arguments); |
| 270 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighRxWorkloadThreadCpu, |
| 271 | workload_thread_cpu); |
| 272 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnHighRxWorkloadThreadPriority, |
| 273 | workload_thread_priority); |
| 274 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnLowEnabled, enabled); |
| 275 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnLowXdpEnabled, xdp_enabled); |
| 276 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnLowXdpSkbMode, xdp_skb_mode); |
| 277 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnLowXdpZcMode, xdp_zc_mode); |
| 278 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnLowXdpWakeupMode, xdp_wakeup_mode); |
| 279 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnLowXdpBusyPollMode, xdp_busy_poll_mode); |
| 280 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnLowTxTimeEnabled, tx_time_enabled); |
| 281 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnLowIgnoreRxErrors, ignore_rx_errors); |
| 282 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(TsnLowTxTimeStampEnabled, |
| 283 | tx_hwtstamp_enabled); |
| 284 | CONFIG_STORE_TIME_PARAM_CLASScxx . . $ `src/config.h:238:9`!(TsnLowTxTimeOffsetNS, tx_time_offset_ns); |
| 285 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnLowVid, vid); |
| 286 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnLowPcp, pcp); |
| 287 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(TsnLowNumFramesPerCycle, |
| 288 | num_frames_per_cycle); |
| 289 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnLowPayloadPattern, payload_pattern); |
| 290 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(TsnLowFrameLength, frame_length); |
| 291 | CONFIG_STORE_SECURITY_MODE_PARAM_CLASScxx . . $ `src/config.h:374:9`!(TsnLowSecurityMode, security_mode); |
| 292 | CONFIG_STORE_SECURITY_ALGORITHM_PARAM_CLASScxx . . $ `src/config.h:394:9`!(TsnLowSecurityAlgorithm, |
| 293 | security_algorithm); |
| 294 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnLowSecurityKey, security_key); |
| 295 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(TsnLowSecurityIvPrefix, security_iv_prefix); |
| 296 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnLowRxQueue, rx_queue); |
| 297 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnLowTxQueue, tx_queue); |
| 298 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnLowSocketPriority, socket_priority); |
| 299 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnLowTxThreadPriority, tx_thread_priority); |
| 300 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnLowRxThreadPriority, rx_thread_priority); |
| 301 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnLowTxThreadCpu, tx_thread_cpu); |
| 302 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(TsnLowRxThreadCpu, rx_thread_cpu); |
| 303 | CONFIG_STORE_INTERFACE_PARAM_CLASScxx . . $ `src/config.h:294:9`!(TsnLowInterface, interface); |
| 304 | CONFIG_STORE_MAC_PARAM_CLASScxx . . $ `src/config.h:304:9`!(TsnLowDestination, l2_destination); |
| 305 | |
| 306 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtcEnabled, enabled); |
| 307 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtcXdpEnabled, xdp_enabled); |
| 308 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtcXdpSkbMode, xdp_skb_mode); |
| 309 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtcXdpZcMode, xdp_zc_mode); |
| 310 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtcXdpWakeupMode, xdp_wakeup_mode); |
| 311 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtcXdpBusyPollMode, xdp_busy_poll_mode); |
| 312 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtcIgnoreRxErrors, ignore_rx_errors); |
| 313 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtcTxTimeStampEnabled, tx_hwtstamp_enabled); |
| 314 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtcVid, vid); |
| 315 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtcPcp, pcp); |
| 316 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(RtcNumFramesPerCycle, num_frames_per_cycle); |
| 317 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(RtcPayloadPattern, payload_pattern); |
| 318 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(RtcFrameLength, frame_length); |
| 319 | CONFIG_STORE_SECURITY_MODE_PARAM_CLASScxx . . $ `src/config.h:374:9`!(RtcSecurityMode, security_mode); |
| 320 | CONFIG_STORE_SECURITY_ALGORITHM_PARAM_CLASScxx . . $ `src/config.h:394:9`!(RtcSecurityAlgorithm, |
| 321 | security_algorithm); |
| 322 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(RtcSecurityKey, security_key); |
| 323 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(RtcSecurityIvPrefix, security_iv_prefix); |
| 324 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtcRxQueue, rx_queue); |
| 325 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtcTxQueue, tx_queue); |
| 326 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtcSocketPriority, socket_priority); |
| 327 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtcTxThreadPriority, tx_thread_priority); |
| 328 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtcRxThreadPriority, rx_thread_priority); |
| 329 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtcTxThreadCpu, tx_thread_cpu); |
| 330 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtcRxThreadCpu, rx_thread_cpu); |
| 331 | CONFIG_STORE_INTERFACE_PARAM_CLASScxx . . $ `src/config.h:294:9`!(RtcInterface, interface); |
| 332 | CONFIG_STORE_MAC_PARAM_CLASScxx . . $ `src/config.h:304:9`!(RtcDestination, l2_destination); |
| 333 | |
| 334 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtaEnabled, enabled); |
| 335 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtaXdpEnabled, xdp_enabled); |
| 336 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtaXdpSkbMode, xdp_skb_mode); |
| 337 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtaXdpZcMode, xdp_zc_mode); |
| 338 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtaXdpWakeupMode, xdp_wakeup_mode); |
| 339 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtaXdpBusyPollMode, xdp_busy_poll_mode); |
| 340 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtaIgnoreRxErrors, ignore_rx_errors); |
| 341 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(RtaTxTimeStampEnabled, tx_hwtstamp_enabled); |
| 342 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtaVid, vid); |
| 343 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtaPcp, pcp); |
| 344 | CONFIG_STORE_TIME_PARAM_CLASScxx . . $ `src/config.h:238:9`!(RtaBurstPeriodNS, burst_period_ns); |
| 345 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(RtaNumFramesPerCycle, num_frames_per_cycle); |
| 346 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(RtaPayloadPattern, payload_pattern); |
| 347 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(RtaFrameLength, frame_length); |
| 348 | CONFIG_STORE_SECURITY_MODE_PARAM_CLASScxx . . $ `src/config.h:374:9`!(RtaSecurityMode, security_mode); |
| 349 | CONFIG_STORE_SECURITY_ALGORITHM_PARAM_CLASScxx . . $ `src/config.h:394:9`!(RtaSecurityAlgorithm, |
| 350 | security_algorithm); |
| 351 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(RtaSecurityKey, security_key); |
| 352 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(RtaSecurityIvPrefix, security_iv_prefix); |
| 353 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtaRxQueue, rx_queue); |
| 354 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtaTxQueue, tx_queue); |
| 355 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtaSocketPriority, socket_priority); |
| 356 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtaTxThreadPriority, tx_thread_priority); |
| 357 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtaRxThreadPriority, rx_thread_priority); |
| 358 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtaTxThreadCpu, tx_thread_cpu); |
| 359 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(RtaRxThreadCpu, rx_thread_cpu); |
| 360 | CONFIG_STORE_INTERFACE_PARAM_CLASScxx . . $ `src/config.h:294:9`!(RtaInterface, interface); |
| 361 | CONFIG_STORE_MAC_PARAM_CLASScxx . . $ `src/config.h:304:9`!(RtaDestination, l2_destination); |
| 362 | |
| 363 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(DcpEnabled, enabled); |
| 364 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(DcpIgnoreRxErrors, ignore_rx_errors); |
| 365 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(DcpVid, vid); |
| 366 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(DcpPcp, pcp); |
| 367 | CONFIG_STORE_TIME_PARAM_CLASScxx . . $ `src/config.h:238:9`!(DcpBurstPeriodNS, burst_period_ns); |
| 368 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(DcpNumFramesPerCycle, num_frames_per_cycle); |
| 369 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(DcpPayloadPattern, payload_pattern); |
| 370 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(DcpFrameLength, frame_length); |
| 371 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(DcpRxQueue, rx_queue); |
| 372 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(DcpTxQueue, tx_queue); |
| 373 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(DcpSocketPriority, socket_priority); |
| 374 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(DcpTxThreadPriority, tx_thread_priority); |
| 375 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(DcpRxThreadPriority, rx_thread_priority); |
| 376 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(DcpTxThreadCpu, tx_thread_cpu); |
| 377 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(DcpRxThreadCpu, rx_thread_cpu); |
| 378 | CONFIG_STORE_INTERFACE_PARAM_CLASScxx . . $ `src/config.h:294:9`!(DcpInterface, interface); |
| 379 | CONFIG_STORE_MAC_PARAM_CLASScxx . . $ `src/config.h:304:9`!(DcpDestination, l2_destination); |
| 380 | |
| 381 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(LldpEnabled, enabled); |
| 382 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(LldpIgnoreRxErrors, ignore_rx_errors); |
| 383 | CONFIG_STORE_TIME_PARAM_CLASScxx . . $ `src/config.h:238:9`!(LldpBurstPeriodNS, burst_period_ns); |
| 384 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(LldpNumFramesPerCycle, num_frames_per_cycle); |
| 385 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(LldpPayloadPattern, payload_pattern); |
| 386 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(LldpFrameLength, frame_length); |
| 387 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(LldpRxQueue, rx_queue); |
| 388 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(LldpTxQueue, tx_queue); |
| 389 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(LldpSocketPriority, socket_priority); |
| 390 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(LldpTxThreadPriority, tx_thread_priority); |
| 391 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(LldpRxThreadPriority, rx_thread_priority); |
| 392 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(LldpTxThreadCpu, tx_thread_cpu); |
| 393 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(LldpRxThreadCpu, rx_thread_cpu); |
| 394 | CONFIG_STORE_INTERFACE_PARAM_CLASScxx . . $ `src/config.h:294:9`!(LldpInterface, interface); |
| 395 | CONFIG_STORE_MAC_PARAM_CLASScxx . . $ `src/config.h:304:9`!(LldpDestination, l2_destination); |
| 396 | |
| 397 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(UdpHighEnabled, enabled); |
| 398 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(UdpHighIgnoreRxErrors, ignore_rx_errors); |
| 399 | CONFIG_STORE_TIME_PARAM_CLASScxx . . $ `src/config.h:238:9`!(UdpHighBurstPeriodNS, burst_period_ns); |
| 400 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(UdpHighNumFramesPerCycle, |
| 401 | num_frames_per_cycle); |
| 402 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(UdpHighPayloadPattern, payload_pattern); |
| 403 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(UdpHighFrameLength, frame_length); |
| 404 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpHighRxQueue, rx_queue); |
| 405 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpHighTxQueue, tx_queue); |
| 406 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpHighSocketPriority, socket_priority); |
| 407 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpHighTxThreadPriority, tx_thread_priority); |
| 408 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpHighRxThreadPriority, rx_thread_priority); |
| 409 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpHighTxThreadCpu, tx_thread_cpu); |
| 410 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpHighRxThreadCpu, rx_thread_cpu); |
| 411 | CONFIG_STORE_INTERFACE_PARAM_CLASScxx . . $ `src/config.h:294:9`!(UdpHighInterface, interface); |
| 412 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(UdpHighPort, l3_port); |
| 413 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(UdpHighDestination, l3_destination); |
| 414 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(UdpHighSource, l3_source); |
| 415 | |
| 416 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(UdpLowEnabled, enabled); |
| 417 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(UdpLowIgnoreRxErrors, ignore_rx_errors); |
| 418 | CONFIG_STORE_TIME_PARAM_CLASScxx . . $ `src/config.h:238:9`!(UdpLowBurstPeriodNS, burst_period_ns); |
| 419 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(UdpLowNumFramesPerCycle, |
| 420 | num_frames_per_cycle); |
| 421 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(UdpLowPayloadPattern, payload_pattern); |
| 422 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(UdpLowFrameLength, frame_length); |
| 423 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpLowRxQueue, rx_queue); |
| 424 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpLowTxQueue, tx_queue); |
| 425 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpLowSocketPriority, socket_priority); |
| 426 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpLowTxThreadPriority, tx_thread_priority); |
| 427 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpLowRxThreadPriority, rx_thread_priority); |
| 428 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpLowTxThreadCpu, tx_thread_cpu); |
| 429 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(UdpLowRxThreadCpu, rx_thread_cpu); |
| 430 | CONFIG_STORE_INTERFACE_PARAM_CLASScxx . . $ `src/config.h:294:9`!(UdpLowInterface, interface); |
| 431 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(UdpLowPort, l3_port); |
| 432 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(UdpLowDestination, l3_destination); |
| 433 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(UdpLowSource, l3_source); |
| 434 | |
| 435 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(GenericL2Name, name); |
| 436 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(GenericL2Enabled, enabled); |
| 437 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(GenericL2XdpEnabled, xdp_enabled); |
| 438 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(GenericL2XdpSkbMode, xdp_skb_mode); |
| 439 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(GenericL2XdpZcMode, xdp_zc_mode); |
| 440 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(GenericL2XdpWakeupMode, xdp_wakeup_mode); |
| 441 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(GenericL2XdpBusyPollMode, xdp_busy_poll_mode); |
| 442 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(GenericL2TxTimeEnabled, tx_time_enabled); |
| 443 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(GenericL2IgnoreRxErrors, ignore_rx_errors); |
| 444 | CONFIG_STORE_BOOL_PARAM_CLASScxx . . $ `src/config.h:160:9`!(GenericL2TxTimeStampEnabled, |
| 445 | tx_hwtstamp_enabled); |
| 446 | CONFIG_STORE_TIME_PARAM_CLASScxx . . $ `src/config.h:238:9`!(GenericL2TxTimeOffsetNS, tx_time_offset_ns); |
| 447 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(GenericL2Vid, vid); |
| 448 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(GenericL2Pcp, pcp); |
| 449 | CONFIG_STORE_ETHER_TYPE_CLASScxx . . $ `src/config.h:360:9`!(GenericL2EtherType, ether_type); |
| 450 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(GenericL2NumFramesPerCycle, |
| 451 | num_frames_per_cycle); |
| 452 | CONFIG_STORE_STRING_PARAM_CLASScxx . . $ `src/config.h:262:9`!(GenericL2PayloadPattern, payload_pattern); |
| 453 | CONFIG_STORE_ULONG_PARAM_CLASScxx . . $ `src/config.h:222:9`!(GenericL2FrameLength, frame_length); |
| 454 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(GenericL2RxQueue, rx_queue); |
| 455 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(GenericL2TxQueue, tx_queue); |
| 456 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(GenericL2SocketPriority, socket_priority); |
| 457 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(GenericL2TxThreadPriority, tx_thread_priority); |
| 458 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(GenericL2RxThreadPriority, rx_thread_priority); |
| 459 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(GenericL2TxThreadCpu, tx_thread_cpu); |
| 460 | CONFIG_STORE_INT_PARAM_CLASScxx . . $ `src/config.h:191:9`!(GenericL2RxThreadCpu, rx_thread_cpu); |
| 461 | CONFIG_STORE_INTERFACE_PARAM_CLASScxx . . $ `src/config.h:294:9`!(GenericL2Interface, interface); |
| 462 | CONFIG_STORE_MAC_PARAM_CLASScxx . . $ `src/config.h:304:9`!(GenericL2Destination, l2_destination); |
| 463 | |
| 464 | CONFIG_STORE_INT_PARAMcxx . . $ `src/config.h:207:9`!(LogThreadPriority, log_thread_priority); |
| 465 | CONFIG_STORE_INT_PARAMcxx . . $ `src/config.h:207:9`!(LogThreadCpu, log_thread_cpu); |
| 466 | CONFIG_STORE_STRING_PARAMcxx . . $ `src/config.h:279:9`!(LogFile, log_file); |
| 467 | CONFIG_STORE_STRING_PARAMcxx . . $ `src/config.h:279:9`!(LogLevel, log_level); |
| 468 | |
| 469 | CONFIG_STORE_BOOL_PARAMcxx . . $ `src/config.h:176:9`!(DebugStopTraceOnOutlier, |
| 470 | debug_stop_trace_on_outlier); |
| 471 | CONFIG_STORE_BOOL_PARAMcxx . . $ `src/config.h:176:9`!(DebugStopTraceOnError, debug_stop_trace_on_error); |
| 472 | CONFIG_STORE_BOOL_PARAMcxx . . $ `src/config.h:176:9`!(DebugMonitorMode, debug_monitor_mode); |
| 473 | CONFIG_STORE_MAC_PARAMcxx . . $ `src/config.h:325:9`!(DebugMonitorDestination, debug_monitor_destination); |
| 474 | |
| 475 | CONFIG_STORE_BOOL_PARAMcxx . . $ `src/config.h:176:9`!(StatsHistogramEnabled, stats_histogram_enabled); |
| 476 | CONFIG_STORE_TIME_PARAMcxx . . $ `src/config.h:251:9`!(StatsHistogramMinimumNS, |
| 477 | stats_histogram_minimum_ns); |
| 478 | CONFIG_STORE_TIME_PARAMcxx . . $ `src/config.h:251:9`!(StatsHistogramMaximumNS, |
| 479 | stats_histogram_maximum_ns); |
| 480 | CONFIG_STORE_STRING_PARAMcxx . . $ `src/config.h:279:9`!(StatsHistogramFile, stats_histogram_file); |
| 481 | CONFIG_STORE_TIME_PARAMcxx . . $ `src/config.h:251:9`!(StatsCollectionIntervalNS, |
| 482 | stats_collection_interval_ns); |
| 483 | |
| 484 | CONFIG_STORE_BOOL_PARAMcxx . . $ `src/config.h:176:9`!(LogMqtt, log_mqtt); |
| 485 | CONFIG_STORE_INT_PARAMcxx . . $ `src/config.h:207:9`!(LogMqttThreadPriority, log_mqtt_thread_priority); |
| 486 | CONFIG_STORE_INT_PARAMcxx . . $ `src/config.h:207:9`!(LogMqttThreadCpu, log_mqtt_thread_cpu); |
| 487 | CONFIG_STORE_STRING_PARAMcxx . . $ `src/config.h:279:9`!(LogMqttBrokerIP, log_mqtt_broker_ip); |
| 488 | CONFIG_STORE_INT_PARAMcxx . . $ `src/config.h:207:9`!(LogMqttBrokerPort, log_mqtt_broker_port); |
| 489 | CONFIG_STORE_INT_PARAMcxx . . $ `src/config.h:207:9`!(LogMqttKeepAliveSecs, log_mqtt_keep_alive_secs); |
| 490 | CONFIG_STORE_STRING_PARAMcxx . . $ `src/config.h:279:9`!(LogMqttMeasurementName, |
| 491 | log_mqtt_measurement_name); |
| 492 | |
| 493 | CONFIG_STORE_BOOL_PARAMcxx . . $ `src/config.h:176:9`!(LogJson, log_json); |
| 494 | CONFIG_STORE_INT_PARAMcxx . . $ `src/config.h:207:9`!(LogJsonThreadPriority, log_json_thread_priority); |
| 495 | CONFIG_STORE_INT_PARAMcxx . . $ `src/config.h:207:9`!(LogJsonThreadCpu, log_json_thread_cpu); |
| 496 | CONFIG_STORE_STRING_PARAMcxx . . $ `src/config.h:279:9`!(LogJsonHost, log_json_host); |
| 497 | CONFIG_STORE_STRING_PARAMcxx . . $ `src/config.h:279:9`!(LogJsonPort, log_json_port); |
| 498 | CONFIG_STORE_STRING_PARAMcxx . . $ `src/config.h:279:9`!(LogJsonMeasurementName, |
| 499 | log_json_measurement_name); |
| 500 | |
| 501 | if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).(key, "ApplicationBaseStartTimeNS")) |
| 502 | base_time_seen = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 503 | |
| 504 | if (key) |
| 505 | freecxx . . $ free(5d22bdacc48458e8).(key); |
| 506 | |
| 507 | default: |
| 508 | break; |
| 509 | } |
| 510 | |
| 511 | if (token.typecxx . . $ yaml_token_s#type. != YAML_STREAM_END_TOKENcxx . . $ YAML_STREAM_END_TOKEN.) |
| 512 | yaml_token_deletecxx . . $ yaml_token_delete(f571ebbe996ca591).(&token); |
| 513 | |
| 514 | } while (token.typecxx . . $ yaml_token_s#type. != YAML_STREAM_END_TOKENcxx . . $ YAML_STREAM_END_TOKEN.); |
| 515 | |
| 516 | /* |
| 517 | * Re-calculate default base start time. There is one case where this necessary: |
| 518 | * - The user provided a different clock_id than TAI in yaml file |
| 519 | * - The user did not provide a base time in yaml file |
| 520 | * |
| 521 | * In that case the default base time calculated by config_set_defaults() is based on |
| 522 | * TAI. That has to be re-done by using the user provided clock id. |
| 523 | */ |
| 524 | if (app_configcxx . . $ app_config..application_clock_idcxx . . $ application_config#application_clock_id. != CLOCK_TAIcxx . . $ `<external>/89459239771508533/time.h:66:10`! && !base_time_seen) { |
| 525 | struct timespeccxx . . $ timespec# current; |
| 526 | |
| 527 | clock_gettimecxx . . $ clock_gettime(65aaefb2502b4987).(app_configcxx . . $ app_config..application_clock_idcxx . . $ application_config#application_clock_id., ¤t); |
| 528 | app_configcxx . . $ app_config..application_base_start_time_nscxx . . $ application_config#application_base_start_time_ns. = (current.tv_seccxx . . $ timespec#tv_sec. + 30) * NSEC_PER_SECcxx . . $ `src/utils.h:26:9`!; |
| 529 | } |
| 530 | |
| 531 | ret = 0; |
| 532 | |
| 533 | err_parse: |
| 534 | yaml_token_deletecxx . . $ yaml_token_delete(f571ebbe996ca591).(&token); |
| 535 | yaml_parser_deletecxx . . $ yaml_parser_delete(40d81e724c2bc0e).(&parser); |
| 536 | |
| 537 | err_yaml: |
| 538 | fclosecxx . . $ fclose(89bc1efcdac0ca22).(f); |
| 539 | |
| 540 | return ret; |
| 541 | } |
| 542 | |
| 543 | void config_print_valuescxx . . $ config_print_values(49f6e7a06ebc5aa8).(void) |
| 544 | { |
| 545 | const struct traffic_class_configcxx . . $ traffic_class_config# *conf; |
| 546 | |
| 547 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 548 | "\n"); |
| 549 | printfcxx . . $ printf(581fddd72a8db8fc).("ApplicationClockId=%s\n", |
| 550 | app_configcxx . . $ app_config..application_clock_idcxx . . $ application_config#application_clock_id. == CLOCK_TAIcxx . . $ `<external>/89459239771508533/time.h:66:10`! ? "CLOCK_TAI" : "CLOCK_MONOTONIC"); |
| 551 | printfcxx . . $ printf(581fddd72a8db8fc).("ApplicationBaseCycleTimeNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", |
| 552 | app_configcxx . . $ app_config..application_base_cycle_time_nscxx . . $ application_config#application_base_cycle_time_ns.); |
| 553 | printfcxx . . $ printf(581fddd72a8db8fc).("ApplicationBaseStartTimeNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", |
| 554 | app_configcxx . . $ app_config..application_base_start_time_nscxx . . $ application_config#application_base_start_time_ns.); |
| 555 | printfcxx . . $ printf(581fddd72a8db8fc).("ApplicationBaseStartOffsetNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", |
| 556 | app_configcxx . . $ app_config..application_base_start_offset_nscxx . . $ application_config#application_base_start_offset_ns.); |
| 557 | printfcxx . . $ printf(581fddd72a8db8fc).("ApplicationTxBaseOffsetNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", app_configcxx . . $ app_config..application_tx_base_offset_nscxx . . $ application_config#application_tx_base_offset_ns.); |
| 558 | printfcxx . . $ printf(581fddd72a8db8fc).("ApplicationRxBaseOffsetNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", app_configcxx . . $ app_config..application_rx_base_offset_nscxx . . $ application_config#application_rx_base_offset_ns.); |
| 559 | printfcxx . . $ printf(581fddd72a8db8fc).("ApplicationXdpProgram=%s\n", app_configcxx . . $ app_config..application_xdp_programcxx . . $ application_config#application_xdp_program.); |
| 560 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 561 | "\n"); |
| 562 | |
| 563 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.]; |
| 564 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighEnabled=%s\n", conf->enabledcxx . . $ traffic_class_config#enabled. ? "True" : "False"); |
| 565 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxMirrorEnabled=%s\n", conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. ? "True" : "False"); |
| 566 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighXdpEnabled=%s\n", conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. ? "True" : "False"); |
| 567 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighXdpSkbMode=%s\n", conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. ? "True" : "False"); |
| 568 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighXdpZcMode=%s\n", conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. ? "True" : "False"); |
| 569 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighXdpWakeupMode=%s\n", conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. ? "True" : "False"); |
| 570 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighXdpBusyPollMode=%s\n", conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. ? "True" : "False"); |
| 571 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighTxTimeEnabled=%s\n", conf->tx_time_enabledcxx . . $ traffic_class_config#tx_time_enabled. ? "True" : "False"); |
| 572 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighIgnoreRxErrors=%s\n", conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. ? "True" : "False"); |
| 573 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighTxTimeOffsetNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", conf->tx_time_offset_nscxx . . $ traffic_class_config#tx_time_offset_ns.); |
| 574 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighTxTimeStampEnabled=%s\n", conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. ? "True" : "False"); |
| 575 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighVid=%d\n", conf->vidcxx . . $ traffic_class_config#vid.); |
| 576 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighPcp=%d\n", conf->pcpcxx . . $ traffic_class_config#pcp.); |
| 577 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighNumFramesPerCycle=%zu\n", conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle.); |
| 578 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighPayloadPattern="); |
| 579 | print_payload_patterncxx . . $ print_payload_pattern(7cafb6e0818eff3b).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern., conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.); |
| 580 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 581 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighFrameLength=%zu\n", conf->frame_lengthcxx . . $ traffic_class_config#frame_length.); |
| 582 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighSecurityMode=%s\n", security_mode_to_stringcxx . . $ security_mode_to_string(e77cca8122f94190).(conf->security_modecxx . . $ traffic_class_config#security_mode.)); |
| 583 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighSecurityAlgorithm=%s\n", |
| 584 | security_algorithm_to_stringcxx . . $ security_algorithm_to_string(82541b8b9ae66d0b).(conf->security_algorithmcxx . . $ traffic_class_config#security_algorithm.)); |
| 585 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighSecurityKey=%s\n", conf->security_keycxx . . $ traffic_class_config#security_key.); |
| 586 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighSecurityIvPrefix=%s\n", conf->security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix.); |
| 587 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxQueue=%d\n", conf->rx_queuecxx . . $ traffic_class_config#rx_queue.); |
| 588 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighTxQueue=%d\n", conf->tx_queuecxx . . $ traffic_class_config#tx_queue.); |
| 589 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighSocketPriority=%d\n", conf->socket_prioritycxx . . $ traffic_class_config#socket_priority.); |
| 590 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighTxThreadPriority=%d\n", conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority.); |
| 591 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxThreadPriority=%d\n", conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority.); |
| 592 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighTxThreadCpu=%d\n", conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu.); |
| 593 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxThreadCpu=%d\n", conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu.); |
| 594 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighInterface=%s\n", conf->interfacecxx . . $ traffic_class_config#interface.); |
| 595 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighDestination="); |
| 596 | print_mac_addresscxx . . $ print_mac_address(28caea9380bfac8a).(conf->l2_destinationcxx . . $ traffic_class_config#l2_destination.); |
| 597 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 598 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadEnabled=%s\n", conf->rx_workload_enabledcxx . . $ traffic_class_config#rx_workload_enabled. ? "True" : "False"); |
| 599 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadPrewarm=%s\n", conf->rx_workload_prewarmcxx . . $ traffic_class_config#rx_workload_prewarm. ? "True" : "False"); |
| 600 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadSkipCount=%d\n", conf->rx_workload_skip_countcxx . . $ traffic_class_config#rx_workload_skip_count.); |
| 601 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadFile=%s\n", conf->workload_filecxx . . $ traffic_class_config#workload_file.); |
| 602 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadSetupFunction=%s\n", conf->workload_setup_functioncxx . . $ traffic_class_config#workload_setup_function.); |
| 603 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadSetupArguments=%s\n", conf->workload_setup_argumentscxx . . $ traffic_class_config#workload_setup_arguments.); |
| 604 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadFunction=%s\n", conf->workload_functioncxx . . $ traffic_class_config#workload_function.); |
| 605 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadArguments=%s\n", conf->workload_argumentscxx . . $ traffic_class_config#workload_arguments.); |
| 606 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadThreadCpu=%d\n", conf->workload_thread_cpucxx . . $ traffic_class_config#workload_thread_cpu.); |
| 607 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnHighRxWorkloadThreadPriority=%d\n", conf->workload_thread_prioritycxx . . $ traffic_class_config#workload_thread_priority.); |
| 608 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 609 | "\n"); |
| 610 | |
| 611 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.]; |
| 612 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowEnabled=%s\n", conf->enabledcxx . . $ traffic_class_config#enabled. ? "True" : "False"); |
| 613 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowRxMirrorEnabled=%s\n", conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. ? "True" : "False"); |
| 614 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowXdpEnabled=%s\n", conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. ? "True" : "False"); |
| 615 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowXdpSkbMode=%s\n", conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. ? "True" : "False"); |
| 616 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowXdpZcMode=%s\n", conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. ? "True" : "False"); |
| 617 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowXdpWakeupMode=%s\n", conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. ? "True" : "False"); |
| 618 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowXdpBusyPollMode=%s\n", conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. ? "True" : "False"); |
| 619 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowTxTimeEnabled=%s\n", conf->tx_time_enabledcxx . . $ traffic_class_config#tx_time_enabled. ? "True" : "False"); |
| 620 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowIgnoreRxErrors=%s\n", conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. ? "True" : "False"); |
| 621 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowTxTimeOffsetNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", conf->tx_time_offset_nscxx . . $ traffic_class_config#tx_time_offset_ns.); |
| 622 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowTxTimeStampEnabled=%s\n", conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. ? "True" : "False"); |
| 623 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowVid=%d\n", conf->vidcxx . . $ traffic_class_config#vid.); |
| 624 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowPcp=%d\n", conf->pcpcxx . . $ traffic_class_config#pcp.); |
| 625 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowNumFramesPerCycle=%zu\n", conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle.); |
| 626 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowPayloadPattern="); |
| 627 | print_payload_patterncxx . . $ print_payload_pattern(7cafb6e0818eff3b).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern., conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.); |
| 628 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 629 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowFrameLength=%zu\n", conf->frame_lengthcxx . . $ traffic_class_config#frame_length.); |
| 630 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowSecurityMode=%s\n", security_mode_to_stringcxx . . $ security_mode_to_string(e77cca8122f94190).(conf->security_modecxx . . $ traffic_class_config#security_mode.)); |
| 631 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowSecurityAlgorithm=%s\n", |
| 632 | security_algorithm_to_stringcxx . . $ security_algorithm_to_string(82541b8b9ae66d0b).(conf->security_algorithmcxx . . $ traffic_class_config#security_algorithm.)); |
| 633 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowSecurityKey=%s\n", conf->security_keycxx . . $ traffic_class_config#security_key.); |
| 634 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowSecurityIvPrefix=%s\n", conf->security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix.); |
| 635 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowRxQueue=%d\n", conf->rx_queuecxx . . $ traffic_class_config#rx_queue.); |
| 636 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowTxQueue=%d\n", conf->tx_queuecxx . . $ traffic_class_config#tx_queue.); |
| 637 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowSocketPriority=%d\n", conf->socket_prioritycxx . . $ traffic_class_config#socket_priority.); |
| 638 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowTxThreadPriority=%d\n", conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority.); |
| 639 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowRxThreadPriority=%d\n", conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority.); |
| 640 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowTxThreadCpu=%d\n", conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu.); |
| 641 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowRxThreadCpu=%d\n", conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu.); |
| 642 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowInterface=%s\n", conf->interfacecxx . . $ traffic_class_config#interface.); |
| 643 | printfcxx . . $ printf(581fddd72a8db8fc).("TsnLowDestination="); |
| 644 | print_mac_addresscxx . . $ print_mac_address(28caea9380bfac8a).(conf->l2_destinationcxx . . $ traffic_class_config#l2_destination.); |
| 645 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 646 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 647 | "\n"); |
| 648 | |
| 649 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.]; |
| 650 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcEnabled=%s\n", conf->enabledcxx . . $ traffic_class_config#enabled. ? "True" : "False"); |
| 651 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcRxMirrorEnabled=%s\n", conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. ? "True" : "False"); |
| 652 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcXdpEnabled=%s\n", conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. ? "True" : "False"); |
| 653 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcXdpSkbMode=%s\n", conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. ? "True" : "False"); |
| 654 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcXdpZcMode=%s\n", conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. ? "True" : "False"); |
| 655 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcXdpWakeupMode=%s\n", conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. ? "True" : "False"); |
| 656 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcXdpBusyPollMode=%s\n", conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. ? "True" : "False"); |
| 657 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcIgnoreRxErrors=%s\n", conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. ? "True" : "False"); |
| 658 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcTxTimeStampEnabled=%s\n", conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. ? "True" : "False"); |
| 659 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcVid=%d\n", conf->vidcxx . . $ traffic_class_config#vid.); |
| 660 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcPcp=%d\n", conf->pcpcxx . . $ traffic_class_config#pcp.); |
| 661 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcNumFramesPerCycle=%zu\n", conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle.); |
| 662 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcPayloadPattern="); |
| 663 | print_payload_patterncxx . . $ print_payload_pattern(7cafb6e0818eff3b).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern., conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.); |
| 664 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 665 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcFrameLength=%zu\n", conf->frame_lengthcxx . . $ traffic_class_config#frame_length.); |
| 666 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcSecurityMode=%s\n", security_mode_to_stringcxx . . $ security_mode_to_string(e77cca8122f94190).(conf->security_modecxx . . $ traffic_class_config#security_mode.)); |
| 667 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcSecurityAlgorithm=%s\n", security_algorithm_to_stringcxx . . $ security_algorithm_to_string(82541b8b9ae66d0b).(conf->security_algorithmcxx . . $ traffic_class_config#security_algorithm.)); |
| 668 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcSecurityKey=%s\n", conf->security_keycxx . . $ traffic_class_config#security_key.); |
| 669 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcSecurityIvPrefix=%s\n", conf->security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix.); |
| 670 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcRxQueue=%d\n", conf->rx_queuecxx . . $ traffic_class_config#rx_queue.); |
| 671 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcTxQueue=%d\n", conf->tx_queuecxx . . $ traffic_class_config#tx_queue.); |
| 672 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcSocketPriority=%d\n", conf->socket_prioritycxx . . $ traffic_class_config#socket_priority.); |
| 673 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcTxThreadPriority=%d\n", conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority.); |
| 674 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcRxThreadPriority=%d\n", conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority.); |
| 675 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcTxThreadCpu=%d\n", conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu.); |
| 676 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcRxThreadCpu=%d\n", conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu.); |
| 677 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcInterface=%s\n", conf->interfacecxx . . $ traffic_class_config#interface.); |
| 678 | printfcxx . . $ printf(581fddd72a8db8fc).("RtcDestination="); |
| 679 | print_mac_addresscxx . . $ print_mac_address(28caea9380bfac8a).(conf->l2_destinationcxx . . $ traffic_class_config#l2_destination.); |
| 680 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 681 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 682 | "\n"); |
| 683 | |
| 684 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.]; |
| 685 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaEnabled=%s\n", conf->enabledcxx . . $ traffic_class_config#enabled. ? "True" : "False"); |
| 686 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaRxMirrorEnabled=%s\n", conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. ? "True" : "False"); |
| 687 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaXdpEnabled=%s\n", conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. ? "True" : "False"); |
| 688 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaXdpSkbMode=%s\n", conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. ? "True" : "False"); |
| 689 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaXdpZcMode=%s\n", conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. ? "True" : "False"); |
| 690 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaXdpWakeupMode=%s\n", conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. ? "True" : "False"); |
| 691 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaXdpBusyPollMode=%s\n", conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. ? "True" : "False"); |
| 692 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaIgnoreRxErrors=%s\n", conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. ? "True" : "False"); |
| 693 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaTxTimeStampEnabled=%s\n", conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. ? "True" : "False"); |
| 694 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaVid=%d\n", conf->vidcxx . . $ traffic_class_config#vid.); |
| 695 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaPcp=%d\n", conf->pcpcxx . . $ traffic_class_config#pcp.); |
| 696 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaBurstPeriodNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns.); |
| 697 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaNumFramesPerCycle=%zu\n", conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle.); |
| 698 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaPayloadPattern="); |
| 699 | print_payload_patterncxx . . $ print_payload_pattern(7cafb6e0818eff3b).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern., conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.); |
| 700 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 701 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaFrameLength=%zu\n", conf->frame_lengthcxx . . $ traffic_class_config#frame_length.); |
| 702 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaSecurityMode=%s\n", security_mode_to_stringcxx . . $ security_mode_to_string(e77cca8122f94190).(conf->security_modecxx . . $ traffic_class_config#security_mode.)); |
| 703 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaSecurityAlgorithm=%s\n", security_algorithm_to_stringcxx . . $ security_algorithm_to_string(82541b8b9ae66d0b).(conf->security_algorithmcxx . . $ traffic_class_config#security_algorithm.)); |
| 704 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaSecurityKey=%s\n", conf->security_keycxx . . $ traffic_class_config#security_key.); |
| 705 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaSecurityIvPrefix=%s\n", conf->security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix.); |
| 706 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaRxQueue=%d\n", conf->rx_queuecxx . . $ traffic_class_config#rx_queue.); |
| 707 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaTxQueue=%d\n", conf->tx_queuecxx . . $ traffic_class_config#tx_queue.); |
| 708 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaSocketPriority=%d\n", conf->socket_prioritycxx . . $ traffic_class_config#socket_priority.); |
| 709 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaTxThreadPriority=%d\n", conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority.); |
| 710 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaRxThreadPriority=%d\n", conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority.); |
| 711 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaTxThreadCpu=%d\n", conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu.); |
| 712 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaRxThreadCpu=%d\n", conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu.); |
| 713 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaInterface=%s\n", conf->interfacecxx . . $ traffic_class_config#interface.); |
| 714 | printfcxx . . $ printf(581fddd72a8db8fc).("RtaDestination="); |
| 715 | print_mac_addresscxx . . $ print_mac_address(28caea9380bfac8a).(conf->l2_destinationcxx . . $ traffic_class_config#l2_destination.); |
| 716 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 717 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 718 | "\n"); |
| 719 | |
| 720 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[DCP_FRAME_TYPEcxx . . $ DCP_FRAME_TYPE.]; |
| 721 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpEnabled=%s\n", conf->enabledcxx . . $ traffic_class_config#enabled. ? "True" : "False"); |
| 722 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpRxMirrorEnabled=%s\n", conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. ? "True" : "False"); |
| 723 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpIgnoreRxErrors=%s\n", conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. ? "True" : "False"); |
| 724 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpVid=%d\n", conf->vidcxx . . $ traffic_class_config#vid.); |
| 725 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpPcp=%d\n", conf->pcpcxx . . $ traffic_class_config#pcp.); |
| 726 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpBurstPeriodNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns.); |
| 727 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpNumFramesPerCycle=%zu\n", conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle.); |
| 728 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpPayloadPattern="); |
| 729 | print_payload_patterncxx . . $ print_payload_pattern(7cafb6e0818eff3b).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern., conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.); |
| 730 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 731 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpFrameLength=%zu\n", conf->frame_lengthcxx . . $ traffic_class_config#frame_length.); |
| 732 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpRxQueue=%d\n", conf->rx_queuecxx . . $ traffic_class_config#rx_queue.); |
| 733 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpTxQueue=%d\n", conf->tx_queuecxx . . $ traffic_class_config#tx_queue.); |
| 734 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpSocketPriority=%d\n", conf->socket_prioritycxx . . $ traffic_class_config#socket_priority.); |
| 735 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpTxThreadPriority=%d\n", conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority.); |
| 736 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpRxThreadPriority=%d\n", conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority.); |
| 737 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpTxThreadCpu=%d\n", conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu.); |
| 738 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpRxThreadCpu=%d\n", conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu.); |
| 739 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpInterface=%s\n", conf->interfacecxx . . $ traffic_class_config#interface.); |
| 740 | printfcxx . . $ printf(581fddd72a8db8fc).("DcpDestination="); |
| 741 | print_mac_addresscxx . . $ print_mac_address(28caea9380bfac8a).(conf->l2_destinationcxx . . $ traffic_class_config#l2_destination.); |
| 742 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 743 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 744 | "\n"); |
| 745 | |
| 746 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[LLDP_FRAME_TYPEcxx . . $ LLDP_FRAME_TYPE.]; |
| 747 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpEnabled=%s\n", conf->enabledcxx . . $ traffic_class_config#enabled. ? "True" : "False"); |
| 748 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpRxMirrorEnabled=%s\n", conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. ? "True" : "False"); |
| 749 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpIgnoreRxErrors=%s\n", conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. ? "True" : "False"); |
| 750 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpBurstPeriodNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns.); |
| 751 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpNumFramesPerCycle=%zu\n", conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle.); |
| 752 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpPayloadPattern="); |
| 753 | print_payload_patterncxx . . $ print_payload_pattern(7cafb6e0818eff3b).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern., conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.); |
| 754 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 755 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpFrameLength=%zu\n", conf->frame_lengthcxx . . $ traffic_class_config#frame_length.); |
| 756 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpRxQueue=%d\n", conf->rx_queuecxx . . $ traffic_class_config#rx_queue.); |
| 757 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpTxQueue=%d\n", conf->tx_queuecxx . . $ traffic_class_config#tx_queue.); |
| 758 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpSocketPriority=%d\n", conf->socket_prioritycxx . . $ traffic_class_config#socket_priority.); |
| 759 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpTxThreadPriority=%d\n", conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority.); |
| 760 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpRxThreadPriority=%d\n", conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority.); |
| 761 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpTxThreadCpu=%d\n", conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu.); |
| 762 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpRxThreadCpu=%d\n", conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu.); |
| 763 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpInterface=%s\n", conf->interfacecxx . . $ traffic_class_config#interface.); |
| 764 | printfcxx . . $ printf(581fddd72a8db8fc).("LldpDestination="); |
| 765 | print_mac_addresscxx . . $ print_mac_address(28caea9380bfac8a).(conf->l2_destinationcxx . . $ traffic_class_config#l2_destination.); |
| 766 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 767 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 768 | "\n"); |
| 769 | |
| 770 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.]; |
| 771 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighEnabled=%s\n", conf->enabledcxx . . $ traffic_class_config#enabled. ? "True" : "False"); |
| 772 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighRxMirrorEnabled=%s\n", conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. ? "True" : "False"); |
| 773 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighIgnoreRxErrors=%s\n", conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. ? "True" : "False"); |
| 774 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighBurstPeriodNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns.); |
| 775 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighNumFramesPerCycle=%zu\n", conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle.); |
| 776 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighPayloadPattern="); |
| 777 | print_payload_patterncxx . . $ print_payload_pattern(7cafb6e0818eff3b).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern., conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.); |
| 778 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 779 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighFrameLength=%zu\n", conf->frame_lengthcxx . . $ traffic_class_config#frame_length.); |
| 780 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighRxQueue=%d\n", conf->rx_queuecxx . . $ traffic_class_config#rx_queue.); |
| 781 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighTxQueue=%d\n", conf->tx_queuecxx . . $ traffic_class_config#tx_queue.); |
| 782 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighSocketPriority=%d\n", conf->socket_prioritycxx . . $ traffic_class_config#socket_priority.); |
| 783 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighTxThreadPriority=%d\n", conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority.); |
| 784 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighRxThreadPriority=%d\n", conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority.); |
| 785 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighTxThreadCpu=%d\n", conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu.); |
| 786 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighRxThreadCpu=%d\n", conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu.); |
| 787 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighInterface=%s\n", conf->interfacecxx . . $ traffic_class_config#interface.); |
| 788 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighPort=%s\n", conf->l3_portcxx . . $ traffic_class_config#l3_port.); |
| 789 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighDestination=%s\n", conf->l3_destinationcxx . . $ traffic_class_config#l3_destination.); |
| 790 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpHighSource=%s\n", conf->l3_sourcecxx . . $ traffic_class_config#l3_source.); |
| 791 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 792 | "\n"); |
| 793 | |
| 794 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.]; |
| 795 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowEnabled=%s\n", conf->enabledcxx . . $ traffic_class_config#enabled. ? "True" : "False"); |
| 796 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowRxMirrorEnabled=%s\n", conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. ? "True" : "False"); |
| 797 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowIgnoreRxErrors=%s\n", conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. ? "True" : "False"); |
| 798 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowBurstPeriodNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns.); |
| 799 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowNumFramesPerCycle=%zu\n", conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle.); |
| 800 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowPayloadPattern="); |
| 801 | print_payload_patterncxx . . $ print_payload_pattern(7cafb6e0818eff3b).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern., conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.); |
| 802 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 803 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowFrameLength=%zu\n", conf->frame_lengthcxx . . $ traffic_class_config#frame_length.); |
| 804 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowRxQueue=%d\n", conf->rx_queuecxx . . $ traffic_class_config#rx_queue.); |
| 805 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowTxQueue=%d\n", conf->tx_queuecxx . . $ traffic_class_config#tx_queue.); |
| 806 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowSocketPriority=%d\n", conf->socket_prioritycxx . . $ traffic_class_config#socket_priority.); |
| 807 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowTxThreadPriority=%d\n", conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority.); |
| 808 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowRxThreadPriority=%d\n", conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority.); |
| 809 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowTxThreadCpu=%d\n", conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu.); |
| 810 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowRxThreadCpu=%d\n", conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu.); |
| 811 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowInterface=%s\n", conf->interfacecxx . . $ traffic_class_config#interface.); |
| 812 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowPort=%s\n", conf->l3_portcxx . . $ traffic_class_config#l3_port.); |
| 813 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowDestination=%s\n", conf->l3_destinationcxx . . $ traffic_class_config#l3_destination.); |
| 814 | printfcxx . . $ printf(581fddd72a8db8fc).("UdpLowSource=%s\n", conf->l3_sourcecxx . . $ traffic_class_config#l3_source.); |
| 815 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 816 | "\n"); |
| 817 | |
| 818 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.]; |
| 819 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2Name=%s\n", conf->namecxx . . $ traffic_class_config#name.); |
| 820 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2Enabled=%s\n", conf->enabledcxx . . $ traffic_class_config#enabled. ? "True" : "False"); |
| 821 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2RxMirrorEnabled=%s\n", conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. ? "True" : "False"); |
| 822 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2XdpEnabled=%s\n", conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. ? "True" : "False"); |
| 823 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2XdpSkbMode=%s\n", conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. ? "True" : "False"); |
| 824 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2XdpZcMode=%s\n", conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. ? "True" : "False"); |
| 825 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2XdpWakeupMode=%s\n", conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. ? "True" : "False"); |
| 826 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2XdpBusyPollMode=%s\n", conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. ? "True" : "False"); |
| 827 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2TxTimeEnabled=%s\n", conf->tx_time_enabledcxx . . $ traffic_class_config#tx_time_enabled. ? "True" : "False"); |
| 828 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2IgnoreRxErrors=%s\n", conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. ? "True" : "False"); |
| 829 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2TxTimeOffsetNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", conf->tx_time_offset_nscxx . . $ traffic_class_config#tx_time_offset_ns.); |
| 830 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2TxTimeStampEnabled=%s\n", conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. ? "True" : "False"); |
| 831 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2Vid=%d\n", conf->vidcxx . . $ traffic_class_config#vid.); |
| 832 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2Pcp=%d\n", conf->pcpcxx . . $ traffic_class_config#pcp.); |
| 833 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2EtherType=0x%04x\n", conf->ether_typecxx . . $ traffic_class_config#ether_type.); |
| 834 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2NumFramesPerCycle=%zu\n", conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle.); |
| 835 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2PayloadPattern="); |
| 836 | print_payload_patterncxx . . $ print_payload_pattern(7cafb6e0818eff3b).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern., conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.); |
| 837 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 838 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2FrameLength=%zu\n", conf->frame_lengthcxx . . $ traffic_class_config#frame_length.); |
| 839 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2RxQueue=%d\n", conf->rx_queuecxx . . $ traffic_class_config#rx_queue.); |
| 840 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2TxQueue=%d\n", conf->tx_queuecxx . . $ traffic_class_config#tx_queue.); |
| 841 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2SocketPriority=%d\n", conf->socket_prioritycxx . . $ traffic_class_config#socket_priority.); |
| 842 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2TxThreadPriority=%d\n", conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority.); |
| 843 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2RxThreadPriority=%d\n", conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority.); |
| 844 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2TxThreadCpu=%d\n", conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu.); |
| 845 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2RxThreadCpu=%d\n", conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu.); |
| 846 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2Interface=%s\n", conf->interfacecxx . . $ traffic_class_config#interface.); |
| 847 | printfcxx . . $ printf(581fddd72a8db8fc).("GenericL2Destination="); |
| 848 | print_mac_addresscxx . . $ print_mac_address(28caea9380bfac8a).(conf->l2_destinationcxx . . $ traffic_class_config#l2_destination.); |
| 849 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 850 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 851 | "\n"); |
| 852 | |
| 853 | printfcxx . . $ printf(581fddd72a8db8fc).("LogThreadPriority=%d\n", app_configcxx . . $ app_config..log_thread_prioritycxx . . $ application_config#log_thread_priority.); |
| 854 | printfcxx . . $ printf(581fddd72a8db8fc).("LogThreadCpu=%d\n", app_configcxx . . $ app_config..log_thread_cpucxx . . $ application_config#log_thread_cpu.); |
| 855 | printfcxx . . $ printf(581fddd72a8db8fc).("LogFile=%s\n", app_configcxx . . $ app_config..log_filecxx . . $ application_config#log_file.); |
| 856 | printfcxx . . $ printf(581fddd72a8db8fc).("LogLevel=%s\n", app_configcxx . . $ app_config..log_levelcxx . . $ application_config#log_level.); |
| 857 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 858 | "\n"); |
| 859 | |
| 860 | printfcxx . . $ printf(581fddd72a8db8fc).("DebugStopTraceOnOutlier=%s\n", |
| 861 | app_configcxx . . $ app_config..debug_stop_trace_on_outliercxx . . $ application_config#debug_stop_trace_on_outlier. ? "True" : "False"); |
| 862 | printfcxx . . $ printf(581fddd72a8db8fc).("DebugStopTraceOnError=%s\n", |
| 863 | app_configcxx . . $ app_config..debug_stop_trace_on_errorcxx . . $ application_config#debug_stop_trace_on_error. ? "True" : "False"); |
| 864 | printfcxx . . $ printf(581fddd72a8db8fc).("DebugMonitorMode=%s\n", app_configcxx . . $ app_config..debug_monitor_modecxx . . $ application_config#debug_monitor_mode. ? "True" : "False"); |
| 865 | printfcxx . . $ printf(581fddd72a8db8fc).("DebugMonitorDestination="); |
| 866 | print_mac_addresscxx . . $ print_mac_address(28caea9380bfac8a).(app_configcxx . . $ app_config..debug_monitor_destinationcxx . . $ application_config#debug_monitor_destination.); |
| 867 | printfcxx . . $ printf(581fddd72a8db8fc).("\n"); |
| 868 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 869 | "\n"); |
| 870 | |
| 871 | printfcxx . . $ printf(581fddd72a8db8fc).("StatsHistogramEnabled=%s\n", app_configcxx . . $ app_config..stats_histogram_enabledcxx . . $ application_config#stats_histogram_enabled. ? "True" : "False"); |
| 872 | printfcxx . . $ printf(581fddd72a8db8fc).("StatsHistogramMinimumNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", app_configcxx . . $ app_config..stats_histogram_minimum_nscxx . . $ application_config#stats_histogram_minimum_ns.); |
| 873 | printfcxx . . $ printf(581fddd72a8db8fc).("StatsHistogramMaximumNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", app_configcxx . . $ app_config..stats_histogram_maximum_nscxx . . $ application_config#stats_histogram_maximum_ns.); |
| 874 | printfcxx . . $ printf(581fddd72a8db8fc).("StatsHistogramFile=%s\n", app_configcxx . . $ app_config..stats_histogram_filecxx . . $ application_config#stats_histogram_file.); |
| 875 | printfcxx . . $ printf(581fddd72a8db8fc).("StatsCollectionIntervalNS=%" PRIu64cxx . . $ `<external>/15933738808807975373/inttypes.h:105:10`! "\n", app_configcxx . . $ app_config..stats_collection_interval_nscxx . . $ application_config#stats_collection_interval_ns.); |
| 876 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 877 | "\n"); |
| 878 | |
| 879 | printfcxx . . $ printf(581fddd72a8db8fc).("LogMqtt=%s\n", app_configcxx . . $ app_config..log_mqttcxx . . $ application_config#log_mqtt. ? "True" : "False"); |
| 880 | printfcxx . . $ printf(581fddd72a8db8fc).("LogMqttThreadPriority=%d\n", app_configcxx . . $ app_config..log_mqtt_thread_prioritycxx . . $ application_config#log_mqtt_thread_priority.); |
| 881 | printfcxx . . $ printf(581fddd72a8db8fc).("LogMqttThreadCpu=%d\n", app_configcxx . . $ app_config..log_mqtt_thread_cpucxx . . $ application_config#log_mqtt_thread_cpu.); |
| 882 | printfcxx . . $ printf(581fddd72a8db8fc).("LogMqttBrokerIP=%s\n", app_configcxx . . $ app_config..log_mqtt_broker_ipcxx . . $ application_config#log_mqtt_broker_ip.); |
| 883 | printfcxx . . $ printf(581fddd72a8db8fc).("LogMqttBrokerPort=%d\n", app_configcxx . . $ app_config..log_mqtt_broker_portcxx . . $ application_config#log_mqtt_broker_port.); |
| 884 | printfcxx . . $ printf(581fddd72a8db8fc).("LogMqttKeepAliveSecs=%d\n", app_configcxx . . $ app_config..log_mqtt_keep_alive_secscxx . . $ application_config#log_mqtt_keep_alive_secs.); |
| 885 | printfcxx . . $ printf(581fddd72a8db8fc).("LogMqttMeasurementName=%s\n", app_configcxx . . $ app_config..log_mqtt_measurement_namecxx . . $ application_config#log_mqtt_measurement_name.); |
| 886 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 887 | "\n"); |
| 888 | |
| 889 | printfcxx . . $ printf(581fddd72a8db8fc).("LogJson=%s\n", app_configcxx . . $ app_config..log_jsoncxx . . $ application_config#log_json. ? "True" : "False"); |
| 890 | printfcxx . . $ printf(581fddd72a8db8fc).("LogJsonThreadPriority=%d\n", app_configcxx . . $ app_config..log_json_thread_prioritycxx . . $ application_config#log_json_thread_priority.); |
| 891 | printfcxx . . $ printf(581fddd72a8db8fc).("LogJsonThreadCpu=%d\n", app_configcxx . . $ app_config..log_json_thread_cpucxx . . $ application_config#log_json_thread_cpu.); |
| 892 | printfcxx . . $ printf(581fddd72a8db8fc).("LogJsonHost=%s\n", app_configcxx . . $ app_config..log_json_hostcxx . . $ application_config#log_json_host.); |
| 893 | printfcxx . . $ printf(581fddd72a8db8fc).("LogJsonPort=%s\n", app_configcxx . . $ app_config..log_json_portcxx . . $ application_config#log_json_port.); |
| 894 | printfcxx . . $ printf(581fddd72a8db8fc).("LogJsonMeasurementName=%s\n", app_configcxx . . $ app_config..log_json_measurement_namecxx . . $ application_config#log_json_measurement_name.); |
| 895 | printfcxx . . $ printf(581fddd72a8db8fc).("--------------------------------------------------------------------------------" |
| 896 | "\n"); |
| 897 | } |
| 898 | |
| 899 | int config_set_defaultscxx . . $ config_set_defaults(73da94e76e6bd037).(boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! mirror_enabled) |
| 900 | { |
| 901 | static unsigned char default_debug_montitor_destination[] = {0x44, 0x44, 0x44, |
| 902 | 0x44, 0x44, 0x44}; |
| 903 | static unsigned char default_lldp_destination[] = {0x01, 0x80, 0xc2, 0x00, 0x00, 0x0e}; |
| 904 | static unsigned char default_destination[] = {0xa8, 0xa1, 0x59, 0x2c, 0xa8, 0xdb}; |
| 905 | static unsigned char default_dcp_identify[] = {0x01, 0x0e, 0xcf, 0x00, 0x00, 0x00}; |
| 906 | static const char *default_log_mqtt_measurement_name = "reference"; |
| 907 | static const char *default_udp_low_destination = "192.168.2.120"; |
| 908 | static const char *default_log_mqtt_broker_ip = "127.0.0.1"; |
| 909 | static const char *default_udp_low_source = "192.168.2.119"; |
| 910 | static const char *default_payload_pattern = "Payload"; |
| 911 | static const char *default_hist_file = "histogram.txt"; |
| 912 | static const char *default_json_host = "localhost"; |
| 913 | static const char *default_udp_low_port = "6666"; |
| 914 | static const char *default_json_port = "58415"; |
| 915 | static const char *default_log_level = "Debug"; |
| 916 | struct traffic_class_configcxx . . $ traffic_class_config# *conf; |
| 917 | struct timespeccxx . . $ timespec# current; |
| 918 | int ret = -ENOMEMcxx . . $ `<external>/8987895939074593727/errno-base.h:16:9`!; |
| 919 | |
| 920 | clock_gettimecxx . . $ clock_gettime(65aaefb2502b4987).(CLOCK_TAIcxx . . $ `<external>/89459239771508533/time.h:66:10`!, ¤t); |
| 921 | |
| 922 | /* Application scheduling configuration */ |
| 923 | app_configcxx . . $ app_config..application_clock_idcxx . . $ application_config#application_clock_id. = CLOCK_TAIcxx . . $ `<external>/89459239771508533/time.h:66:10`!; |
| 924 | app_configcxx . . $ app_config..application_base_cycle_time_nscxx . . $ application_config#application_base_cycle_time_ns. = 500000; |
| 925 | app_configcxx . . $ app_config..application_base_start_time_nscxx . . $ application_config#application_base_start_time_ns. = (current.tv_seccxx . . $ timespec#tv_sec. + 30) * NSEC_PER_SECcxx . . $ `src/utils.h:26:9`!; |
| 926 | app_configcxx . . $ app_config..application_base_start_offset_nscxx . . $ application_config#application_base_start_offset_ns. = 0; |
| 927 | app_configcxx . . $ app_config..application_tx_base_offset_nscxx . . $ application_config#application_tx_base_offset_ns. = 400000; |
| 928 | app_configcxx . . $ app_config..application_rx_base_offset_nscxx . . $ application_config#application_rx_base_offset_ns. = 200000; |
| 929 | app_configcxx . . $ app_config..application_xdp_programcxx . . $ application_config#application_xdp_program. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 930 | |
| 931 | /* TSN High */ |
| 932 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.]; |
| 933 | conf->enabledcxx . . $ traffic_class_config#enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 934 | conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. = mirror_enabled; |
| 935 | conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 936 | conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 937 | conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 938 | conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 939 | conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 940 | conf->tx_time_enabledcxx . . $ traffic_class_config#tx_time_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 941 | conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 942 | conf->tx_time_offset_nscxx . . $ traffic_class_config#tx_time_offset_ns. = 0; |
| 943 | conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 944 | conf->vidcxx . . $ traffic_class_config#vid. = TSN_HIGH_VID_VALUEcxx . . $ `src/net_def.h:31:9`!; |
| 945 | conf->pcpcxx . . $ traffic_class_config#pcp. = TSN_HIGH_PCP_VALUEcxx . . $ `src/net_def.h:38:9`!; |
| 946 | conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. = 0; |
| 947 | conf->payload_patterncxx . . $ traffic_class_config#payload_pattern. = strdupcxx . . $ strdup(a8b8e32347182212).(default_payload_pattern); |
| 948 | if (!conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.) |
| 949 | goto out; |
| 950 | conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length. = strlencxx . . $ strlen(751346f8406fd082).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 951 | conf->frame_lengthcxx . . $ traffic_class_config#frame_length. = 200; |
| 952 | conf->security_modecxx . . $ traffic_class_config#security_mode. = SECURITY_MODE_NONEcxx . . $ SECURITY_MODE_NONE.; |
| 953 | conf->security_algorithmcxx . . $ traffic_class_config#security_algorithm. = SECURITY_ALGORITHM_AES256_GCMcxx . . $ SECURITY_ALGORITHM_AES256_GCM.; |
| 954 | conf->security_keycxx . . $ traffic_class_config#security_key. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 955 | conf->security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 956 | conf->rx_queuecxx . . $ traffic_class_config#rx_queue. = 1; |
| 957 | conf->tx_queuecxx . . $ traffic_class_config#tx_queue. = 1; |
| 958 | conf->socket_prioritycxx . . $ traffic_class_config#socket_priority. = 1; |
| 959 | conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority. = 98; |
| 960 | conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority. = 98; |
| 961 | conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu. = 0; |
| 962 | conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu. = 0; |
| 963 | conf->rx_workload_enabledcxx . . $ traffic_class_config#rx_workload_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 964 | conf->rx_workload_prewarmcxx . . $ traffic_class_config#rx_workload_prewarm. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 965 | conf->rx_workload_skip_countcxx . . $ traffic_class_config#rx_workload_skip_count. = 0; |
| 966 | conf->workload_filecxx . . $ traffic_class_config#workload_file. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 967 | conf->workload_functioncxx . . $ traffic_class_config#workload_function. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 968 | conf->workload_argumentscxx . . $ traffic_class_config#workload_arguments. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 969 | conf->workload_setup_functioncxx . . $ traffic_class_config#workload_setup_function. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 970 | conf->workload_setup_argumentscxx . . $ traffic_class_config#workload_setup_arguments. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 971 | conf->workload_thread_cpucxx . . $ traffic_class_config#workload_thread_cpu. = 0; |
| 972 | conf->workload_thread_prioritycxx . . $ traffic_class_config#workload_thread_priority. = 98; |
| 973 | strncpycxx . . $ strncpy(255158a415b673b0).(conf->interfacecxx . . $ traffic_class_config#interface., "enp3s0", sizeof(conf->interfacecxx . . $ traffic_class_config#interface.) - 1); |
| 974 | memcpycxx . . $ memcpy(cc817cb175f282d).((void *)conf->l2_destinationcxx . . $ traffic_class_config#l2_destination., default_destination, ETH_ALENcxx . . $ `<external>/15209105680615352250/if_ether.h:32:9`!); |
| 975 | |
| 976 | /* TSN Low */ |
| 977 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.]; |
| 978 | conf->enabledcxx . . $ traffic_class_config#enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 979 | conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. = mirror_enabled; |
| 980 | conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 981 | conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 982 | conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 983 | conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 984 | conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 985 | conf->tx_time_enabledcxx . . $ traffic_class_config#tx_time_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 986 | conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 987 | conf->tx_time_offset_nscxx . . $ traffic_class_config#tx_time_offset_ns. = 0; |
| 988 | conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 989 | conf->vidcxx . . $ traffic_class_config#vid. = TSN_LOW_VID_VALUEcxx . . $ `src/net_def.h:30:9`!; |
| 990 | conf->pcpcxx . . $ traffic_class_config#pcp. = TSN_LOW_PCP_VALUEcxx . . $ `src/net_def.h:37:9`!; |
| 991 | conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. = 0; |
| 992 | conf->payload_patterncxx . . $ traffic_class_config#payload_pattern. = strdupcxx . . $ strdup(a8b8e32347182212).(default_payload_pattern); |
| 993 | if (!conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.) |
| 994 | goto out; |
| 995 | conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length. = strlencxx . . $ strlen(751346f8406fd082).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 996 | conf->frame_lengthcxx . . $ traffic_class_config#frame_length. = 200; |
| 997 | conf->security_modecxx . . $ traffic_class_config#security_mode. = SECURITY_MODE_NONEcxx . . $ SECURITY_MODE_NONE.; |
| 998 | conf->security_algorithmcxx . . $ traffic_class_config#security_algorithm. = SECURITY_ALGORITHM_AES256_GCMcxx . . $ SECURITY_ALGORITHM_AES256_GCM.; |
| 999 | conf->security_keycxx . . $ traffic_class_config#security_key. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 1000 | conf->security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 1001 | conf->rx_queuecxx . . $ traffic_class_config#rx_queue. = 1; |
| 1002 | conf->tx_queuecxx . . $ traffic_class_config#tx_queue. = 1; |
| 1003 | conf->socket_prioritycxx . . $ traffic_class_config#socket_priority. = 1; |
| 1004 | conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority. = 98; |
| 1005 | conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority. = 98; |
| 1006 | conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu. = 0; |
| 1007 | conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu. = 0; |
| 1008 | strncpycxx . . $ strncpy(255158a415b673b0).(conf->interfacecxx . . $ traffic_class_config#interface., "enp3s0", sizeof(conf->interfacecxx . . $ traffic_class_config#interface.) - 1); |
| 1009 | memcpycxx . . $ memcpy(cc817cb175f282d).((void *)conf->l2_destinationcxx . . $ traffic_class_config#l2_destination., default_destination, ETH_ALENcxx . . $ `<external>/15209105680615352250/if_ether.h:32:9`!); |
| 1010 | |
| 1011 | /* Real Time Cyclic (RTC) */ |
| 1012 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.]; |
| 1013 | conf->enabledcxx . . $ traffic_class_config#enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1014 | conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. = mirror_enabled; |
| 1015 | conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1016 | conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1017 | conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1018 | conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 1019 | conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1020 | conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1021 | conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1022 | conf->vidcxx . . $ traffic_class_config#vid. = PROFINET_RT_VID_VALUEcxx . . $ `src/net_def.h:29:9`!; |
| 1023 | conf->pcpcxx . . $ traffic_class_config#pcp. = RTC_PCP_VALUEcxx . . $ `src/net_def.h:36:9`!; |
| 1024 | conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. = 0; |
| 1025 | conf->payload_patterncxx . . $ traffic_class_config#payload_pattern. = strdupcxx . . $ strdup(a8b8e32347182212).(default_payload_pattern); |
| 1026 | if (!conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.) |
| 1027 | goto out; |
| 1028 | conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length. = strlencxx . . $ strlen(751346f8406fd082).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1029 | conf->frame_lengthcxx . . $ traffic_class_config#frame_length. = 200; |
| 1030 | conf->security_modecxx . . $ traffic_class_config#security_mode. = SECURITY_MODE_NONEcxx . . $ SECURITY_MODE_NONE.; |
| 1031 | conf->security_algorithmcxx . . $ traffic_class_config#security_algorithm. = SECURITY_ALGORITHM_AES256_GCMcxx . . $ SECURITY_ALGORITHM_AES256_GCM.; |
| 1032 | conf->security_keycxx . . $ traffic_class_config#security_key. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 1033 | conf->security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 1034 | conf->rx_queuecxx . . $ traffic_class_config#rx_queue. = 1; |
| 1035 | conf->tx_queuecxx . . $ traffic_class_config#tx_queue. = 1; |
| 1036 | conf->socket_prioritycxx . . $ traffic_class_config#socket_priority. = 1; |
| 1037 | conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority. = 98; |
| 1038 | conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority. = 98; |
| 1039 | conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu. = 0; |
| 1040 | conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu. = 0; |
| 1041 | strncpycxx . . $ strncpy(255158a415b673b0).(conf->interfacecxx . . $ traffic_class_config#interface., "enp3s0", sizeof(conf->interfacecxx . . $ traffic_class_config#interface.) - 1); |
| 1042 | memcpycxx . . $ memcpy(cc817cb175f282d).((void *)conf->l2_destinationcxx . . $ traffic_class_config#l2_destination., default_destination, ETH_ALENcxx . . $ `<external>/15209105680615352250/if_ether.h:32:9`!); |
| 1043 | |
| 1044 | /* Real Time Acyclic (RTA) */ |
| 1045 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.]; |
| 1046 | conf->enabledcxx . . $ traffic_class_config#enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1047 | conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. = mirror_enabled; |
| 1048 | conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1049 | conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1050 | conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1051 | conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 1052 | conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1053 | conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1054 | conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1055 | conf->vidcxx . . $ traffic_class_config#vid. = PROFINET_RT_VID_VALUEcxx . . $ `src/net_def.h:29:9`!; |
| 1056 | conf->pcpcxx . . $ traffic_class_config#pcp. = RTA_PCP_VALUEcxx . . $ `src/net_def.h:35:9`!; |
| 1057 | conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns. = 200000000; |
| 1058 | conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. = 0; |
| 1059 | conf->payload_patterncxx . . $ traffic_class_config#payload_pattern. = strdupcxx . . $ strdup(a8b8e32347182212).(default_payload_pattern); |
| 1060 | if (!conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.) |
| 1061 | goto out; |
| 1062 | conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length. = strlencxx . . $ strlen(751346f8406fd082).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1063 | conf->frame_lengthcxx . . $ traffic_class_config#frame_length. = 200; |
| 1064 | conf->security_modecxx . . $ traffic_class_config#security_mode. = SECURITY_MODE_NONEcxx . . $ SECURITY_MODE_NONE.; |
| 1065 | conf->security_algorithmcxx . . $ traffic_class_config#security_algorithm. = SECURITY_ALGORITHM_AES256_GCMcxx . . $ SECURITY_ALGORITHM_AES256_GCM.; |
| 1066 | conf->security_keycxx . . $ traffic_class_config#security_key. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 1067 | conf->security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!; |
| 1068 | conf->rx_queuecxx . . $ traffic_class_config#rx_queue. = 1; |
| 1069 | conf->tx_queuecxx . . $ traffic_class_config#tx_queue. = 1; |
| 1070 | conf->socket_prioritycxx . . $ traffic_class_config#socket_priority. = 1; |
| 1071 | conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority. = 98; |
| 1072 | conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority. = 98; |
| 1073 | conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu. = 0; |
| 1074 | conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu. = 0; |
| 1075 | strncpycxx . . $ strncpy(255158a415b673b0).(conf->interfacecxx . . $ traffic_class_config#interface., "enp3s0", sizeof(conf->interfacecxx . . $ traffic_class_config#interface.) - 1); |
| 1076 | memcpycxx . . $ memcpy(cc817cb175f282d).((void *)conf->l2_destinationcxx . . $ traffic_class_config#l2_destination., default_destination, ETH_ALENcxx . . $ `<external>/15209105680615352250/if_ether.h:32:9`!); |
| 1077 | |
| 1078 | /* Discovery and Configuration Protocol (DCP) */ |
| 1079 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[DCP_FRAME_TYPEcxx . . $ DCP_FRAME_TYPE.]; |
| 1080 | conf->enabledcxx . . $ traffic_class_config#enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1081 | conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1082 | conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. = mirror_enabled; |
| 1083 | conf->vidcxx . . $ traffic_class_config#vid. = PROFINET_RT_VID_VALUEcxx . . $ `src/net_def.h:29:9`!; |
| 1084 | conf->pcpcxx . . $ traffic_class_config#pcp. = DCP_PCP_VALUEcxx . . $ `src/net_def.h:34:9`!; |
| 1085 | conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns. = 2000000000; |
| 1086 | conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. = 0; |
| 1087 | conf->payload_patterncxx . . $ traffic_class_config#payload_pattern. = strdupcxx . . $ strdup(a8b8e32347182212).(default_payload_pattern); |
| 1088 | if (!conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.) |
| 1089 | goto out; |
| 1090 | conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length. = strlencxx . . $ strlen(751346f8406fd082).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1091 | conf->frame_lengthcxx . . $ traffic_class_config#frame_length. = 200; |
| 1092 | conf->rx_queuecxx . . $ traffic_class_config#rx_queue. = 1; |
| 1093 | conf->tx_queuecxx . . $ traffic_class_config#tx_queue. = 1; |
| 1094 | conf->socket_prioritycxx . . $ traffic_class_config#socket_priority. = 1; |
| 1095 | conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority. = 98; |
| 1096 | conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority. = 98; |
| 1097 | conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu. = 3; |
| 1098 | conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu. = 3; |
| 1099 | strncpycxx . . $ strncpy(255158a415b673b0).(conf->interfacecxx . . $ traffic_class_config#interface., "enp3s0", sizeof(conf->interfacecxx . . $ traffic_class_config#interface.) - 1); |
| 1100 | memcpycxx . . $ memcpy(cc817cb175f282d).((void *)conf->l2_destinationcxx . . $ traffic_class_config#l2_destination., default_dcp_identify, ETH_ALENcxx . . $ `<external>/15209105680615352250/if_ether.h:32:9`!); |
| 1101 | |
| 1102 | /* Link Layer Discovery Protocol (LLDP) */ |
| 1103 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[LLDP_FRAME_TYPEcxx . . $ LLDP_FRAME_TYPE.]; |
| 1104 | conf->enabledcxx . . $ traffic_class_config#enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1105 | conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1106 | conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. = mirror_enabled; |
| 1107 | conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns. = 5000000000; |
| 1108 | conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. = 0; |
| 1109 | conf->payload_patterncxx . . $ traffic_class_config#payload_pattern. = strdupcxx . . $ strdup(a8b8e32347182212).(default_payload_pattern); |
| 1110 | if (!conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.) |
| 1111 | goto out; |
| 1112 | conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length. = strlencxx . . $ strlen(751346f8406fd082).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1113 | conf->frame_lengthcxx . . $ traffic_class_config#frame_length. = 200; |
| 1114 | conf->rx_queuecxx . . $ traffic_class_config#rx_queue. = 1; |
| 1115 | conf->tx_queuecxx . . $ traffic_class_config#tx_queue. = 1; |
| 1116 | conf->socket_prioritycxx . . $ traffic_class_config#socket_priority. = 1; |
| 1117 | conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority. = 98; |
| 1118 | conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority. = 98; |
| 1119 | conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu. = 4; |
| 1120 | conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu. = 4; |
| 1121 | strncpycxx . . $ strncpy(255158a415b673b0).(conf->interfacecxx . . $ traffic_class_config#interface., "enp3s0", sizeof(conf->interfacecxx . . $ traffic_class_config#interface.) - 1); |
| 1122 | memcpycxx . . $ memcpy(cc817cb175f282d).((void *)conf->l2_destinationcxx . . $ traffic_class_config#l2_destination., default_lldp_destination, ETH_ALENcxx . . $ `<external>/15209105680615352250/if_ether.h:32:9`!); |
| 1123 | |
| 1124 | /* User Datagram Protocol (UDP) High */ |
| 1125 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.]; |
| 1126 | conf->enabledcxx . . $ traffic_class_config#enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1127 | conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1128 | conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. = mirror_enabled; |
| 1129 | conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns. = 1000000000; |
| 1130 | conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. = 0; |
| 1131 | conf->payload_patterncxx . . $ traffic_class_config#payload_pattern. = strdupcxx . . $ strdup(a8b8e32347182212).(default_payload_pattern); |
| 1132 | if (!conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.) |
| 1133 | goto out; |
| 1134 | conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length. = strlencxx . . $ strlen(751346f8406fd082).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1135 | conf->frame_lengthcxx . . $ traffic_class_config#frame_length. = 1400; |
| 1136 | conf->rx_queuecxx . . $ traffic_class_config#rx_queue. = 0; |
| 1137 | conf->tx_queuecxx . . $ traffic_class_config#tx_queue. = 0; |
| 1138 | conf->socket_prioritycxx . . $ traffic_class_config#socket_priority. = 0; |
| 1139 | conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority. = 98; |
| 1140 | conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority. = 98; |
| 1141 | conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu. = 5; |
| 1142 | conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu. = 5; |
| 1143 | strncpycxx . . $ strncpy(255158a415b673b0).(conf->interfacecxx . . $ traffic_class_config#interface., "enp3s0", sizeof(conf->interfacecxx . . $ traffic_class_config#interface.) - 1); |
| 1144 | conf->l3_portcxx . . $ traffic_class_config#l3_port. = strdupcxx . . $ strdup(a8b8e32347182212).(default_udp_low_port); |
| 1145 | if (!conf->l3_portcxx . . $ traffic_class_config#l3_port.) |
| 1146 | goto out; |
| 1147 | conf->l3_destinationcxx . . $ traffic_class_config#l3_destination. = strdupcxx . . $ strdup(a8b8e32347182212).(default_udp_low_destination); |
| 1148 | if (!conf->l3_destinationcxx . . $ traffic_class_config#l3_destination.) |
| 1149 | goto out; |
| 1150 | conf->l3_sourcecxx . . $ traffic_class_config#l3_source. = strdupcxx . . $ strdup(a8b8e32347182212).(default_udp_low_source); |
| 1151 | if (!conf->l3_sourcecxx . . $ traffic_class_config#l3_source.) |
| 1152 | goto out; |
| 1153 | |
| 1154 | /* User Datagram Protocol (UDP) Low */ |
| 1155 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.]; |
| 1156 | conf->enabledcxx . . $ traffic_class_config#enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1157 | conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1158 | conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. = mirror_enabled; |
| 1159 | conf->burst_period_nscxx . . $ traffic_class_config#burst_period_ns. = 1000000000; |
| 1160 | conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. = 0; |
| 1161 | conf->payload_patterncxx . . $ traffic_class_config#payload_pattern. = strdupcxx . . $ strdup(a8b8e32347182212).(default_payload_pattern); |
| 1162 | if (!conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.) |
| 1163 | goto out; |
| 1164 | conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length. = strlencxx . . $ strlen(751346f8406fd082).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1165 | conf->frame_lengthcxx . . $ traffic_class_config#frame_length. = 1400; |
| 1166 | conf->rx_queuecxx . . $ traffic_class_config#rx_queue. = 0; |
| 1167 | conf->tx_queuecxx . . $ traffic_class_config#tx_queue. = 0; |
| 1168 | conf->socket_prioritycxx . . $ traffic_class_config#socket_priority. = 0; |
| 1169 | conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority. = 98; |
| 1170 | conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority. = 98; |
| 1171 | conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu. = 5; |
| 1172 | conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu. = 5; |
| 1173 | strncpycxx . . $ strncpy(255158a415b673b0).(conf->interfacecxx . . $ traffic_class_config#interface., "enp3s0", sizeof(conf->interfacecxx . . $ traffic_class_config#interface.) - 1); |
| 1174 | conf->l3_portcxx . . $ traffic_class_config#l3_port. = strdupcxx . . $ strdup(a8b8e32347182212).(default_udp_low_port); |
| 1175 | if (!conf->l3_portcxx . . $ traffic_class_config#l3_port.) |
| 1176 | goto out; |
| 1177 | conf->l3_destinationcxx . . $ traffic_class_config#l3_destination. = strdupcxx . . $ strdup(a8b8e32347182212).(default_udp_low_destination); |
| 1178 | if (!conf->l3_destinationcxx . . $ traffic_class_config#l3_destination.) |
| 1179 | goto out; |
| 1180 | conf->l3_sourcecxx . . $ traffic_class_config#l3_source. = strdupcxx . . $ strdup(a8b8e32347182212).(default_udp_low_source); |
| 1181 | if (!conf->l3_sourcecxx . . $ traffic_class_config#l3_source.) |
| 1182 | goto out; |
| 1183 | |
| 1184 | /* Generic L2 */ |
| 1185 | conf = &app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.]; |
| 1186 | conf->namecxx . . $ traffic_class_config#name. = strdupcxx . . $ strdup(a8b8e32347182212).("GenericL2"); |
| 1187 | if (!conf->namecxx . . $ traffic_class_config#name.) |
| 1188 | goto out; |
| 1189 | conf->enabledcxx . . $ traffic_class_config#enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1190 | conf->rx_mirror_enabledcxx . . $ traffic_class_config#rx_mirror_enabled. = mirror_enabled; |
| 1191 | conf->xdp_enabledcxx . . $ traffic_class_config#xdp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1192 | conf->xdp_skb_modecxx . . $ traffic_class_config#xdp_skb_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1193 | conf->xdp_zc_modecxx . . $ traffic_class_config#xdp_zc_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1194 | conf->xdp_wakeup_modecxx . . $ traffic_class_config#xdp_wakeup_mode. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 1195 | conf->xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1196 | conf->tx_time_enabledcxx . . $ traffic_class_config#tx_time_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1197 | conf->ignore_rx_errorscxx . . $ traffic_class_config#ignore_rx_errors. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1198 | conf->tx_time_offset_nscxx . . $ traffic_class_config#tx_time_offset_ns. = 0; |
| 1199 | conf->tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1200 | conf->vidcxx . . $ traffic_class_config#vid. = 100; |
| 1201 | conf->pcpcxx . . $ traffic_class_config#pcp. = 6; |
| 1202 | conf->ether_typecxx . . $ traffic_class_config#ether_type. = 0xb62c; |
| 1203 | conf->num_frames_per_cyclecxx . . $ traffic_class_config#num_frames_per_cycle. = 0; |
| 1204 | conf->payload_patterncxx . . $ traffic_class_config#payload_pattern. = strdupcxx . . $ strdup(a8b8e32347182212).(default_payload_pattern); |
| 1205 | if (!conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.) |
| 1206 | goto out; |
| 1207 | conf->payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length. = strlencxx . . $ strlen(751346f8406fd082).(conf->payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1208 | conf->frame_lengthcxx . . $ traffic_class_config#frame_length. = 200; |
| 1209 | conf->rx_queuecxx . . $ traffic_class_config#rx_queue. = 1; |
| 1210 | conf->tx_queuecxx . . $ traffic_class_config#tx_queue. = 1; |
| 1211 | conf->socket_prioritycxx . . $ traffic_class_config#socket_priority. = 1; |
| 1212 | conf->tx_thread_prioritycxx . . $ traffic_class_config#tx_thread_priority. = 90; |
| 1213 | conf->rx_thread_prioritycxx . . $ traffic_class_config#rx_thread_priority. = 90; |
| 1214 | conf->tx_thread_cpucxx . . $ traffic_class_config#tx_thread_cpu. = 0; |
| 1215 | conf->rx_thread_cpucxx . . $ traffic_class_config#rx_thread_cpu. = 0; |
| 1216 | strncpycxx . . $ strncpy(255158a415b673b0).(conf->interfacecxx . . $ traffic_class_config#interface., "enp3s0", sizeof(conf->interfacecxx . . $ traffic_class_config#interface.) - 1); |
| 1217 | memcpycxx . . $ memcpy(cc817cb175f282d).((void *)conf->l2_destinationcxx . . $ traffic_class_config#l2_destination., default_destination, ETH_ALENcxx . . $ `<external>/15209105680615352250/if_ether.h:32:9`!); |
| 1218 | |
| 1219 | /* Logging */ |
| 1220 | app_configcxx . . $ app_config..log_thread_prioritycxx . . $ application_config#log_thread_priority. = 1; |
| 1221 | app_configcxx . . $ app_config..log_thread_cpucxx . . $ application_config#log_thread_cpu. = 7; |
| 1222 | app_configcxx . . $ app_config..log_filecxx . . $ application_config#log_file. = strdupcxx . . $ strdup(a8b8e32347182212).("reference.log"); |
| 1223 | if (!app_configcxx . . $ app_config..log_filecxx . . $ application_config#log_file.) |
| 1224 | goto out; |
| 1225 | app_configcxx . . $ app_config..log_levelcxx . . $ application_config#log_level. = strdupcxx . . $ strdup(a8b8e32347182212).(default_log_level); |
| 1226 | if (!app_configcxx . . $ app_config..log_levelcxx . . $ application_config#log_level.) |
| 1227 | goto out; |
| 1228 | |
| 1229 | /* Debug */ |
| 1230 | app_configcxx . . $ app_config..debug_stop_trace_on_outliercxx . . $ application_config#debug_stop_trace_on_outlier. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1231 | app_configcxx . . $ app_config..debug_stop_trace_on_errorcxx . . $ application_config#debug_stop_trace_on_error. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1232 | app_configcxx . . $ app_config..debug_monitor_modecxx . . $ application_config#debug_monitor_mode. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1233 | memcpycxx . . $ memcpy(cc817cb175f282d).((void *)app_configcxx . . $ app_config..debug_monitor_destinationcxx . . $ application_config#debug_monitor_destination., default_debug_montitor_destination, |
| 1234 | ETH_ALENcxx . . $ `<external>/15209105680615352250/if_ether.h:32:9`!); |
| 1235 | |
| 1236 | /* Stats */ |
| 1237 | app_configcxx . . $ app_config..stats_histogram_enabledcxx . . $ application_config#stats_histogram_enabled. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1238 | app_configcxx . . $ app_config..stats_histogram_minimum_nscxx . . $ application_config#stats_histogram_minimum_ns. = 1 * 1e6; |
| 1239 | app_configcxx . . $ app_config..stats_histogram_maximum_nscxx . . $ application_config#stats_histogram_maximum_ns. = 10 * 1e6; |
| 1240 | app_configcxx . . $ app_config..stats_histogram_filecxx . . $ application_config#stats_histogram_file. = strdupcxx . . $ strdup(a8b8e32347182212).(default_hist_file); |
| 1241 | if (!app_configcxx . . $ app_config..stats_histogram_filecxx . . $ application_config#stats_histogram_file.) |
| 1242 | goto out; |
| 1243 | app_configcxx . . $ app_config..stats_histogram_file_lengthcxx . . $ application_config#stats_histogram_file_length. = strlencxx . . $ strlen(751346f8406fd082).(default_hist_file); |
| 1244 | app_configcxx . . $ app_config..stats_collection_interval_nscxx . . $ application_config#stats_collection_interval_ns. = 1e9; |
| 1245 | |
| 1246 | /* LogMqtt */ |
| 1247 | app_configcxx . . $ app_config..log_mqttcxx . . $ application_config#log_mqtt. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1248 | app_configcxx . . $ app_config..log_mqtt_broker_portcxx . . $ application_config#log_mqtt_broker_port. = 1883; |
| 1249 | app_configcxx . . $ app_config..log_mqtt_thread_prioritycxx . . $ application_config#log_mqtt_thread_priority. = 1; |
| 1250 | app_configcxx . . $ app_config..log_mqtt_thread_cpucxx . . $ application_config#log_mqtt_thread_cpu. = 7; |
| 1251 | app_configcxx . . $ app_config..log_mqtt_keep_alive_secscxx . . $ application_config#log_mqtt_keep_alive_secs. = 60; |
| 1252 | app_configcxx . . $ app_config..log_mqtt_broker_ipcxx . . $ application_config#log_mqtt_broker_ip. = strdupcxx . . $ strdup(a8b8e32347182212).(default_log_mqtt_broker_ip); |
| 1253 | if (!app_configcxx . . $ app_config..log_mqtt_broker_ipcxx . . $ application_config#log_mqtt_broker_ip.) |
| 1254 | goto out; |
| 1255 | app_configcxx . . $ app_config..log_mqtt_measurement_namecxx . . $ application_config#log_mqtt_measurement_name. = strdupcxx . . $ strdup(a8b8e32347182212).(default_log_mqtt_measurement_name); |
| 1256 | if (!app_configcxx . . $ app_config..log_mqtt_measurement_namecxx . . $ application_config#log_mqtt_measurement_name.) |
| 1257 | goto out; |
| 1258 | |
| 1259 | app_configcxx . . $ app_config..log_jsoncxx . . $ application_config#log_json. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1260 | app_configcxx . . $ app_config..log_json_thread_cpucxx . . $ application_config#log_json_thread_cpu. = 0; |
| 1261 | app_configcxx . . $ app_config..log_json_thread_prioritycxx . . $ application_config#log_json_thread_priority. = 1; |
| 1262 | app_configcxx . . $ app_config..log_json_hostcxx . . $ application_config#log_json_host. = strdupcxx . . $ strdup(a8b8e32347182212).(default_json_host); |
| 1263 | if (!app_configcxx . . $ app_config..log_json_hostcxx . . $ application_config#log_json_host.) |
| 1264 | goto out; |
| 1265 | app_configcxx . . $ app_config..log_json_portcxx . . $ application_config#log_json_port. = strdupcxx . . $ strdup(a8b8e32347182212).(default_json_port); |
| 1266 | if (!app_configcxx . . $ app_config..log_json_portcxx . . $ application_config#log_json_port.) |
| 1267 | goto out; |
| 1268 | app_configcxx . . $ app_config..log_json_measurement_namecxx . . $ application_config#log_json_measurement_name. = strdupcxx . . $ strdup(a8b8e32347182212).(default_log_mqtt_measurement_name); |
| 1269 | if (!app_configcxx . . $ app_config..log_json_measurement_namecxx . . $ application_config#log_json_measurement_name.) |
| 1270 | goto out; |
| 1271 | |
| 1272 | return 0; |
| 1273 | out: |
| 1274 | config_freecxx . . $ config_free(49f6e7a06ebc5aa8).(); |
| 1275 | return ret; |
| 1276 | } |
| 1277 | |
| 1278 | static boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! config_check_keyscxx . . $ config_check_keys(6f79dd0ad0589fa8).(const char *traffic_class, enum security_modecxx . . $ security_mode# mode, |
| 1279 | enum security_algorithmcxx . . $ security_algorithm# algorithm, size_t key_len, |
| 1280 | size_t iv_prefix_len) |
| 1281 | { |
| 1282 | const size_t expected_key_len = algorithm == SECURITY_ALGORITHM_AES128_GCMcxx . . $ SECURITY_ALGORITHM_AES128_GCM. ? 16 : 32; |
| 1283 | |
| 1284 | if (mode == SECURITY_MODE_NONEcxx . . $ SECURITY_MODE_NONE.) |
| 1285 | return truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 1286 | |
| 1287 | if (iv_prefix_len != SECURITY_IV_PREFIX_LENcxx . . $ `src/security.h:58:9`!) { |
| 1288 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "%s IV prefix length should be %d!\n", traffic_class, |
| 1289 | SECURITY_IV_PREFIX_LENcxx . . $ `src/security.h:58:9`!); |
| 1290 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1291 | } |
| 1292 | |
| 1293 | if (expected_key_len != key_len) { |
| 1294 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "%s key length mismatch!. Have %zu expected %zu for %s!\n", |
| 1295 | traffic_class, key_len, expected_key_len, |
| 1296 | security_algorithm_to_stringcxx . . $ security_algorithm_to_string(82541b8b9ae66d0b).(algorithm)); |
| 1297 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1298 | } |
| 1299 | |
| 1300 | return truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 1301 | } |
| 1302 | |
| 1303 | /* |
| 1304 | * Perform configuration sanity checks. This includes: |
| 1305 | * - Traffic classes |
| 1306 | * - Frame lengths |
| 1307 | * - Limitations |
| 1308 | */ |
| 1309 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! config_sanity_checkcxx . . $ config_sanity_check(c9857a73d68e59ba).(void) |
| 1310 | { |
| 1311 | const size_t min_secure_profinet_frame_size = sizeof(struct vlan_ethernet_headercxx . . $ vlan_ethernet_header#) + |
| 1312 | sizeof(struct profinet_secure_headercxx . . $ profinet_secure_header#) + |
| 1313 | sizeof(struct security_checksumcxx . . $ security_checksum#); |
| 1314 | const size_t min_profinet_frame_size = |
| 1315 | sizeof(struct vlan_ethernet_headercxx . . $ vlan_ethernet_header#) + sizeof(struct profinet_rt_headercxx . . $ profinet_rt_header#); |
| 1316 | size_t min_frame_size; |
| 1317 | |
| 1318 | /* Either GenericL2 or PROFINET should be active. */ |
| 1319 | if (config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).("GenericL2") && |
| 1320 | (config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).("TsnHigh") || |
| 1321 | config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).("TsnLow") || config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).("Rtc") || |
| 1322 | config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).("Rta") || config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).("Dcp") || |
| 1323 | config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).("Lldp") || config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).("UdpHigh") || |
| 1324 | config_is_traffic_class_activecxx . . $ config_is_traffic_class_active(c5f7da30cbc0f4e9).("UdpLow"))) { |
| 1325 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "Either use PROFINET or GenericL2!\n"); |
| 1326 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "For simulation of PROFINET and other middlewares in parallel " |
| 1327 | "start multiple instances of ref&mirror application(s) with " |
| 1328 | "different profiles!\n"); |
| 1329 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1330 | } |
| 1331 | |
| 1332 | /* Tx and Rx offset should be <= cycle time */ |
| 1333 | if (app_configcxx . . $ app_config..application_rx_base_offset_nscxx . . $ application_config#application_rx_base_offset_ns. > app_configcxx . . $ app_config..application_base_cycle_time_nscxx . . $ application_config#application_base_cycle_time_ns. || |
| 1334 | app_configcxx . . $ app_config..application_tx_base_offset_nscxx . . $ application_config#application_tx_base_offset_ns. > app_configcxx . . $ app_config..application_base_cycle_time_nscxx . . $ application_config#application_base_cycle_time_ns.) { |
| 1335 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "Application(Tx|Rx)BaseOffsetNS should be less than " |
| 1336 | "ApplicationBaseCycleTimeNS!\n"); |
| 1337 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1338 | } |
| 1339 | |
| 1340 | /* Frame lengths */ |
| 1341 | if (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. > MAX_FRAME_SIZEcxx . . $ `src/thread.h:23:9`! || |
| 1342 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. < |
| 1343 | (sizeof(struct vlan_ethernet_headercxx . . $ vlan_ethernet_header#) + sizeof(struct generic_l2_headercxx . . $ generic_l2_header#) + |
| 1344 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.)) { |
| 1345 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "GenericL2FrameLength is invalid!\n"); |
| 1346 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1347 | } |
| 1348 | |
| 1349 | min_frame_size = app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].security_modecxx . . $ traffic_class_config#security_mode. == SECURITY_MODE_NONEcxx . . $ SECURITY_MODE_NONE. |
| 1350 | ? min_profinet_frame_size |
| 1351 | : min_secure_profinet_frame_size; |
| 1352 | if (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. > MAX_FRAME_SIZEcxx . . $ `src/thread.h:23:9`! || |
| 1353 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. < |
| 1354 | (min_frame_size + |
| 1355 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.)) { |
| 1356 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "TsnHighFrameLength is invalid!\n"); |
| 1357 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1358 | } |
| 1359 | |
| 1360 | min_frame_size = app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].security_modecxx . . $ traffic_class_config#security_mode. == SECURITY_MODE_NONEcxx . . $ SECURITY_MODE_NONE. |
| 1361 | ? min_profinet_frame_size |
| 1362 | : min_secure_profinet_frame_size; |
| 1363 | if (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. > MAX_FRAME_SIZEcxx . . $ `src/thread.h:23:9`! || |
| 1364 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. < |
| 1365 | (min_frame_size + |
| 1366 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.)) { |
| 1367 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "TsnLowFrameLength is invalid!\n"); |
| 1368 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1369 | } |
| 1370 | |
| 1371 | min_frame_size = app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].security_modecxx . . $ traffic_class_config#security_mode. == SECURITY_MODE_NONEcxx . . $ SECURITY_MODE_NONE. |
| 1372 | ? min_profinet_frame_size |
| 1373 | : min_secure_profinet_frame_size; |
| 1374 | if (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. > MAX_FRAME_SIZEcxx . . $ `src/thread.h:23:9`! || |
| 1375 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. < |
| 1376 | (min_frame_size + app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.)) { |
| 1377 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "RtcFrameLength is invalid!\n"); |
| 1378 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1379 | } |
| 1380 | |
| 1381 | min_frame_size = app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].security_modecxx . . $ traffic_class_config#security_mode. == SECURITY_MODE_NONEcxx . . $ SECURITY_MODE_NONE. |
| 1382 | ? min_profinet_frame_size |
| 1383 | : min_secure_profinet_frame_size; |
| 1384 | if (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. > MAX_FRAME_SIZEcxx . . $ `src/thread.h:23:9`! || |
| 1385 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. < |
| 1386 | (min_frame_size + app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.)) { |
| 1387 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "RtaFrameLength is invalid!\n"); |
| 1388 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1389 | } |
| 1390 | |
| 1391 | if (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[DCP_FRAME_TYPEcxx . . $ DCP_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. > MAX_FRAME_SIZEcxx . . $ `src/thread.h:23:9`! || |
| 1392 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[DCP_FRAME_TYPEcxx . . $ DCP_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. < |
| 1393 | (min_profinet_frame_size + |
| 1394 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[DCP_FRAME_TYPEcxx . . $ DCP_FRAME_TYPE.].payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.)) { |
| 1395 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "DcpFrameLength is invalid!\n"); |
| 1396 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1397 | } |
| 1398 | |
| 1399 | if (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[LLDP_FRAME_TYPEcxx . . $ LLDP_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. > MAX_FRAME_SIZEcxx . . $ `src/thread.h:23:9`! || |
| 1400 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[LLDP_FRAME_TYPEcxx . . $ LLDP_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. < |
| 1401 | (sizeof(struct ethhdrcxx . . $ ethhdr#) + sizeof(struct reference_meta_datacxx . . $ reference_meta_data#) + |
| 1402 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[LLDP_FRAME_TYPEcxx . . $ LLDP_FRAME_TYPE.].payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.)) { |
| 1403 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "LldpFrameLength is invalid!\n"); |
| 1404 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1405 | } |
| 1406 | |
| 1407 | if (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. > MAX_FRAME_SIZEcxx . . $ `src/thread.h:23:9`! || |
| 1408 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. < |
| 1409 | (sizeof(struct reference_meta_datacxx . . $ reference_meta_data#) + |
| 1410 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.].payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.)) { |
| 1411 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "UdpHighFrameLength is invalid!\n"); |
| 1412 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1413 | } |
| 1414 | |
| 1415 | if (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. > MAX_FRAME_SIZEcxx . . $ `src/thread.h:23:9`! || |
| 1416 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.].frame_lengthcxx . . $ traffic_class_config#frame_length. < |
| 1417 | (sizeof(struct reference_meta_datacxx . . $ reference_meta_data#) + |
| 1418 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.].payload_pattern_lengthcxx . . $ traffic_class_config#payload_pattern_length.)) { |
| 1419 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "UdpLowFrameLength is invalid!\n"); |
| 1420 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1421 | } |
| 1422 | |
| 1423 | /* XDP and TxLauchTime combined doesn't work */ |
| 1424 | if (!config_have_xdp_tx_timecxx . . $ config_have_xdp_tx_time(c9857a73d68e59ba).() && |
| 1425 | ((app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].tx_time_enabledcxx . . $ traffic_class_config#tx_time_enabled. && |
| 1426 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].xdp_enabledcxx . . $ traffic_class_config#xdp_enabled.) || |
| 1427 | (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].tx_time_enabledcxx . . $ traffic_class_config#tx_time_enabled. && |
| 1428 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].xdp_enabledcxx . . $ traffic_class_config#xdp_enabled.) || |
| 1429 | (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].tx_time_enabledcxx . . $ traffic_class_config#tx_time_enabled. && |
| 1430 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].xdp_enabledcxx . . $ traffic_class_config#xdp_enabled.))) { |
| 1431 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, |
| 1432 | "TxTime and XDP cannot be used at the same time on this platform!\n"); |
| 1433 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "Update libxdp to >= v1.5.0 support it.\n"); |
| 1434 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1435 | } |
| 1436 | |
| 1437 | if (!config_have_tx_timestampcxx . . $ config_have_tx_timestamp(c9857a73d68e59ba).() && |
| 1438 | ((app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. && |
| 1439 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].xdp_enabledcxx . . $ traffic_class_config#xdp_enabled.) || |
| 1440 | (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. && |
| 1441 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].xdp_enabledcxx . . $ traffic_class_config#xdp_enabled.) || |
| 1442 | (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. && |
| 1443 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].xdp_enabledcxx . . $ traffic_class_config#xdp_enabled.) || |
| 1444 | (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. && |
| 1445 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].xdp_enabledcxx . . $ traffic_class_config#xdp_enabled.) || |
| 1446 | (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].tx_hwtstamp_enabledcxx . . $ traffic_class_config#tx_hwtstamp_enabled. && |
| 1447 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].xdp_enabledcxx . . $ traffic_class_config#xdp_enabled.))) { |
| 1448 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "XDP Tx HW Timestamp requires TX_TIMESTAMP build support!\n"); |
| 1449 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "Rebuild with -DTX_TIMESTAMP=ON (requires libxdp >= v1.4.1 and " |
| 1450 | "Linux kernel >= v6.8).\n"); |
| 1451 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1452 | } |
| 1453 | |
| 1454 | /* XDP busy polling only works beginning with Linux kernel version v5.11 */ |
| 1455 | if (!config_have_busy_pollcxx . . $ config_have_busy_poll(c9857a73d68e59ba).() && |
| 1456 | (app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. || |
| 1457 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. || |
| 1458 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. || |
| 1459 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode. || |
| 1460 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].xdp_busy_poll_modecxx . . $ traffic_class_config#xdp_busy_poll_mode.)) { |
| 1461 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "XDP busy polling selected, but not supported!\n"); |
| 1462 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1463 | } |
| 1464 | |
| 1465 | if (!config_have_mosquittocxx . . $ config_have_mosquitto(c9857a73d68e59ba).() && app_configcxx . . $ app_config..log_mqttcxx . . $ application_config#log_mqtt.) { |
| 1466 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "Log via Mosquito enabled, but not supported!\n"); |
| 1467 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1468 | } |
| 1469 | |
| 1470 | /* Check keys and IV */ |
| 1471 | if (!config_check_keyscxx . . $ config_check_keys(6f79dd0ad0589fa8).("TsnHigh", app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].security_modecxx . . $ traffic_class_config#security_mode., |
| 1472 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].security_algorithmcxx . . $ traffic_class_config#security_algorithm., |
| 1473 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].security_key_lengthcxx . . $ traffic_class_config#security_key_length., |
| 1474 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].security_iv_prefix_lengthcxx . . $ traffic_class_config#security_iv_prefix_length.)) |
| 1475 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1476 | if (!config_check_keyscxx . . $ config_check_keys(6f79dd0ad0589fa8).("TsnLow", app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].security_modecxx . . $ traffic_class_config#security_mode., |
| 1477 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].security_algorithmcxx . . $ traffic_class_config#security_algorithm., |
| 1478 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].security_key_lengthcxx . . $ traffic_class_config#security_key_length., |
| 1479 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].security_iv_prefix_lengthcxx . . $ traffic_class_config#security_iv_prefix_length.)) |
| 1480 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1481 | if (!config_check_keyscxx . . $ config_check_keys(6f79dd0ad0589fa8).("Rtc", app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].security_modecxx . . $ traffic_class_config#security_mode., |
| 1482 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].security_algorithmcxx . . $ traffic_class_config#security_algorithm., |
| 1483 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].security_key_lengthcxx . . $ traffic_class_config#security_key_length., |
| 1484 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].security_iv_prefix_lengthcxx . . $ traffic_class_config#security_iv_prefix_length.)) |
| 1485 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1486 | if (!config_check_keyscxx . . $ config_check_keys(6f79dd0ad0589fa8).("Rta", app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].security_modecxx . . $ traffic_class_config#security_mode., |
| 1487 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].security_algorithmcxx . . $ traffic_class_config#security_algorithm., |
| 1488 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].security_key_lengthcxx . . $ traffic_class_config#security_key_length., |
| 1489 | app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].security_iv_prefix_lengthcxx . . $ traffic_class_config#security_iv_prefix_length.)) |
| 1490 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1491 | |
| 1492 | /* Stats */ |
| 1493 | if (app_configcxx . . $ app_config..stats_histogram_minimum_nscxx . . $ application_config#stats_histogram_minimum_ns. > app_configcxx . . $ app_config..stats_histogram_maximum_nscxx . . $ application_config#stats_histogram_maximum_ns.) { |
| 1494 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(stderrcxx . . $ `<external>/232824719582829767/stdio.h:155:9`!, "Histogram minimum and maximum values are invalid!\n"); |
| 1495 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1496 | } |
| 1497 | |
| 1498 | return truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; |
| 1499 | } |
| 1500 | |
| 1501 | void config_freecxx . . $ config_free(49f6e7a06ebc5aa8).(void) |
| 1502 | { |
| 1503 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..application_xdp_programcxx . . $ application_config#application_xdp_program.); |
| 1504 | |
| 1505 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1506 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].security_keycxx . . $ traffic_class_config#security_key.); |
| 1507 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_HIGH_FRAME_TYPEcxx . . $ TSN_HIGH_FRAME_TYPE.].security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix.); |
| 1508 | |
| 1509 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1510 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].security_keycxx . . $ traffic_class_config#security_key.); |
| 1511 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[TSN_LOW_FRAME_TYPEcxx . . $ TSN_LOW_FRAME_TYPE.].security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix.); |
| 1512 | |
| 1513 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1514 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].security_keycxx . . $ traffic_class_config#security_key.); |
| 1515 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTC_FRAME_TYPEcxx . . $ RTC_FRAME_TYPE.].security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix.); |
| 1516 | |
| 1517 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1518 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].security_keycxx . . $ traffic_class_config#security_key.); |
| 1519 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[RTA_FRAME_TYPEcxx . . $ RTA_FRAME_TYPE.].security_iv_prefixcxx . . $ traffic_class_config#security_iv_prefix.); |
| 1520 | |
| 1521 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[DCP_FRAME_TYPEcxx . . $ DCP_FRAME_TYPE.].payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1522 | |
| 1523 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[LLDP_FRAME_TYPEcxx . . $ LLDP_FRAME_TYPE.].payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1524 | |
| 1525 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.].payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1526 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.].l3_portcxx . . $ traffic_class_config#l3_port.); |
| 1527 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.].l3_destinationcxx . . $ traffic_class_config#l3_destination.); |
| 1528 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_HIGH_FRAME_TYPEcxx . . $ UDP_HIGH_FRAME_TYPE.].l3_sourcecxx . . $ traffic_class_config#l3_source.); |
| 1529 | |
| 1530 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.].payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1531 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.].l3_portcxx . . $ traffic_class_config#l3_port.); |
| 1532 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.].l3_destinationcxx . . $ traffic_class_config#l3_destination.); |
| 1533 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[UDP_LOW_FRAME_TYPEcxx . . $ UDP_LOW_FRAME_TYPE.].l3_sourcecxx . . $ traffic_class_config#l3_source.); |
| 1534 | |
| 1535 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].namecxx . . $ traffic_class_config#name.); |
| 1536 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..classescxx . . $ application_config#classes.[GENERICL2_FRAME_TYPEcxx . . $ GENERICL2_FRAME_TYPE.].payload_patterncxx . . $ traffic_class_config#payload_pattern.); |
| 1537 | |
| 1538 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..stats_histogram_filecxx . . $ application_config#stats_histogram_file.); |
| 1539 | |
| 1540 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..log_filecxx . . $ application_config#log_file.); |
| 1541 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..log_levelcxx . . $ application_config#log_level.); |
| 1542 | |
| 1543 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..log_mqtt_broker_ipcxx . . $ application_config#log_mqtt_broker_ip.); |
| 1544 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..log_mqtt_measurement_namecxx . . $ application_config#log_mqtt_measurement_name.); |
| 1545 | |
| 1546 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..log_json_hostcxx . . $ application_config#log_json_host.); |
| 1547 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..log_json_portcxx . . $ application_config#log_json_port.); |
| 1548 | freecxx . . $ free(5d22bdacc48458e8).(app_configcxx . . $ app_config..log_json_measurement_namecxx . . $ application_config#log_json_measurement_name.); |
| 1549 | } |