diff options
| author | yangwei <[email protected]> | 2023-08-15 15:22:28 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-08-16 10:17:27 +0800 |
| commit | 204c4e3397e565e0bd27cfeb6998b02d9a7dc378 (patch) | |
| tree | 58beab225ad6cae6ee7ec6c0eeec0c0cbcfbf106 /include | |
| parent | 2148b6dde1e957c452795955a9e89c2033218d59 (diff) | |
🐞 fix(Fix-TSG-8241): 修复deployment错误拼写成depolyment的bug
Diffstat (limited to 'include')
| -rw-r--r-- | include/private/sapp_declaration.h | 4 | ||||
| -rw-r--r-- | include/private/sapp_global_val.h | 8 | ||||
| -rw-r--r-- | include/public/stream_inc/stream_control.h | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/include/private/sapp_declaration.h b/include/private/sapp_declaration.h index 5398e83..990ceac 100644 --- a/include/private/sapp_declaration.h +++ b/include/private/sapp_declaration.h @@ -79,8 +79,8 @@ extern volatile long long g_current_time_ms; #define tcp_closing_timeout sapp_global_val->config.stream.tcp.closing_timeout #define tcp_opening_timeout sapp_global_val->config.stream.tcp.opening_timeout #define udp_reset_time sapp_global_val->config.stream.udp.timeout -#define g_topology_mode sapp_global_val->individual_fixed.depolyment_mode_private -#define g_topology_mode_raw sapp_global_val->config.packet_io.depolyment_mode_bin +#define g_topology_mode sapp_global_val->individual_fixed.deployment_mode_private +#define g_topology_mode_raw sapp_global_val->config.packet_io.deployment_mode_bin #define g_packet_io_cap_mode sapp_global_val->config.packet_io.internal.interface.type_bin #define g_packet_io_cap_level sapp_global_val->individual_fixed.packet_io_cap_level //#define g_timestamp_record_sw MESA_handle_runtime_log_level_enabled(ABBR_PROCESS_LATENCY_LOG_HANDLE, sapp_global_val->config.profiling.process_latency_enabled_log_level) diff --git a/include/private/sapp_global_val.h b/include/private/sapp_global_val.h index 0b763ae..1691a3f 100644 --- a/include/private/sapp_global_val.h +++ b/include/private/sapp_global_val.h @@ -176,7 +176,7 @@ typedef struct{ }sapp_config_packet_io_dev_t; -enum __sapp_config_packet_io_depolyment_mode{ +enum __sapp_config_packet_io_deployment_mode{ SAPP_CFG_PKT_IO_DEPOLY_MODE_MIRROR, SAPP_CFG_PKT_IO_DEPOLY_MODE_INLINE, SAPP_CFG_PKT_IO_DEPOLY_MODE_TRANSPARENT, @@ -223,8 +223,8 @@ typedef struct{ typedef struct{ sapp_config_packet_io_tunnel_t packet_io_tunnel; const char *input_bpf_filter; - char depolyment_mode_str[NAME_MAX]; /* [mirror, inline, transparent, dumpfile] */ - enum sapp_deploment_mode_t depolyment_mode_bin; /* ��������ڴ���, ת����ֵ��ʽ, ��1:mirror; 2:transparent; 3:inline��, ���: enum sapp_deploment_mode_t */ + char deployment_mode_str[NAME_MAX]; /* [mirror, inline, transparent, dumpfile] */ + enum sapp_deploment_mode_t deployment_mode_bin; /* ��������ڴ���, ת����ֵ��ʽ, ��1:mirror; 2:transparent; 3:inline��, ���: enum sapp_deploment_mode_t */ sapp_config_packet_io_dev_t internal; sapp_config_packet_io_dev_t external; char pcap_dumpfile_name[NAME_MAX]; @@ -387,7 +387,7 @@ typedef struct{ void *sapp_timer_handle[SAPP_MAX_THREADS]; void *sapp_standalone_timer; time_t sapp_start_time; - int depolyment_mode_private; /* ��������sapp_global_val->config.packet_io.depolyment_mode_binת���õ����ڲ�ֵ,����:NET_CONN_PARALLEL */ + int deployment_mode_private; /* ��������sapp_global_val->config.packet_io.deployment_mode_binת���õ����ڲ�ֵ,����:NET_CONN_PARALLEL */ unsigned char create_stream_mode; /* ����ԭ������, ֵ������stream.tcp.syn_mandatoryת���õ� */ int packet_io_cap_level; diff --git a/include/public/stream_inc/stream_control.h b/include/public/stream_inc/stream_control.h index 5008ac9..5d47ebf 100644 --- a/include/public/stream_inc/stream_control.h +++ b/include/public/stream_inc/stream_control.h @@ -237,9 +237,9 @@ struct mso_plug_pme{ };
enum sapp_deploment_mode_t{
- DEPOLYMENT_MODE_MIRROR = 1,
- DEPOLYMENT_MODE_TRANSPARENT = 2,
- DEPOLYMENT_MODE_INLINE = 3,
+ DEPLOYMENT_MODE_MIRROR = 1,
+ DEPLOYMENT_MODE_TRANSPARENT = 2,
+ DEPLOYMENT_MODE_INLINE = 3,
};
|
