diff options
| author | lijia <[email protected]> | 2021-06-10 11:39:10 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2021-06-10 11:39:10 +0800 |
| commit | ef7e18b8a90edefe1c42763a7d75af2de1e79851 (patch) | |
| tree | 0db0365be004df40049c1f0a8906e31c3e464a4c /include/private/stream_internal.h | |
| parent | a5df5d2abf6e2fe584c5867c1c05c283766aa2bc (diff) | |
TSG-5511, 对于UDP和TCP按data建连接,增加根据配置文件well_known_port.conf指定服务端口,用来决定创建流的方向功能。
Diffstat (limited to 'include/private/stream_internal.h')
| -rw-r--r-- | include/private/stream_internal.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/private/stream_internal.h b/include/private/stream_internal.h index 3fc8b93..81d5ae1 100644 --- a/include/private/stream_internal.h +++ b/include/private/stream_internal.h @@ -186,8 +186,8 @@ struct streaminfo_private unsigned long long stream_create_timestamp_ms; /* ===8 bytes=== */ unsigned char layer_index:4; /* ��ʾ��ǰ��ļ���, ����ײ㿪ʼ,һ����ethernet��ʼ, ��0��ʼ����, 4bit���֧��15��Ƕ��, Ҳ�ܷ�ֹ����Ƕ����(Ŀǰ��û��������) */ - //char fake_layer_dir_for_asymmetric_cmp:2; /*��ijЩ������Գ�, �����ǻ���һ����, ��һ����ڵ���, �˱���ʹ��DIR_C2S, DIR_S2C��ʾ�ĸ�������������IJ�, ����ʱ����Ϊ��ַ�Ƚ�, ����ʱҲҪ���� */ - char __pad2:4; + unsigned char create_dir_by_well_known_port:1; /* UDP��TCP��data������, ����well_known_port����, �����ǰ���˿��ǿͻ���ԭ���� */ + char __pad2:3; char has_duplicate_pkt; /* ��ǰ�������й��ظ����ݰ�, ����������Ӧ��ÿ������� */ char __pad3[6]; /* ===8 bytes=== */ @@ -401,7 +401,8 @@ int sapp_get_secondary_file_path(void); void sapp_update_config_root_dir(const char *cfg_root_dir); void sapp_update_data_root_dir(const char *data_root_dir); int sapp_is_absolute_path(const char *filename); - +char *sapp_memmove_for_blank_table(char *data, int max_len); +void del_last_rn(char *data, int max_len); void sapp_printf_colorful(int level, const char *format, ...); #ifdef __cplusplus |
