diff options
| author | dump2file <[email protected]> | 2019-01-07 21:26:46 +0600 |
|---|---|---|
| committer | dump2file <[email protected]> | 2019-01-07 21:26:46 +0600 |
| commit | e87a55c374089e88aad2bd6c0c81a2a30b7e8e10 (patch) | |
| tree | 74eac64b09f6e6105352ea3a4d605851a195858a /include/support | |
| parent | 1949772afa05a89a7d8cde6d7297416137f63cb1 (diff) | |
1、GTP处理逻辑更新,由于存在客户端切换导致同一个内层TCP流,GTP外层一侧的IP和Port变化的情况,导致sapp无法讲内侧的流识别为同一个,因此增加在gtp_entry中根据方向重置客户端IP和Port为0的操作,以保证上述情况能够识别为同一个流
2、代码调整,适配gcc7
3、cmakelist更新,增加pcap_packet_io.so命名的问题
Diffstat (limited to 'include/support')
| -rw-r--r-- | include/support/dictator.h | 61 |
1 files changed, 30 insertions, 31 deletions
diff --git a/include/support/dictator.h b/include/support/dictator.h index d31ba77..5a95132 100644 --- a/include/support/dictator.h +++ b/include/support/dictator.h @@ -1,31 +1,30 @@ -/* DICATATOR Memory Manager
-* Version 20141115
-*/
-#ifndef _DICTATOR2_H_
-#define _DICTATOR2_H_
-
-#ifdef __cplusplus
-extern "C"{
-#endif
-
-void *__wrap_malloc(size_t size);
-void __wrap_free(void *p);
-void *__wrap_realloc(void *ptr, size_t size);
-void *__wrap_calloc(size_t nmemb, size_t size);
-
-void *__dictator_malloc(int t_seq,size_t size);
-void __dictator_free(int t_seq,void*p);
-void *__dictator_realloc(int t_seq,void *ptr, size_t size);
-void *__dictator_calloc(int t_seq,size_t nmemb, size_t size);
-
-void *malloc(size_t size);
-void *calloc(size_t nmemb, size_t size);
-void *calloc(size_t nmemb, size_t size);
-void free(void *p);
-
-#ifdef __cplusplus
-}
-#endif// end extern "C"
-
-#endif
+/* DICATATOR Memory Manager +* Version 20141115 +*/ +#ifndef _DICTATOR2_H_ +#define _DICTATOR2_H_ + +#ifdef __cplusplus +extern "C"{ +#endif + +void *__wrap_malloc(size_t size); +void __wrap_free(void *p); +void *__wrap_realloc(void *ptr, size_t size); +void *__wrap_calloc(size_t nmemb, size_t size); + +void *__dictator_malloc(int t_seq,size_t size); +void __dictator_free(int t_seq,void*p); +void *__dictator_realloc(int t_seq,void *ptr, size_t size); +void *__dictator_calloc(int t_seq,size_t nmemb, size_t size); + +void *malloc(size_t size); +void *calloc(size_t nmemb, size_t size); +void free(void *p); + +#ifdef __cplusplus +} +#endif// end extern "C" + +#endif |
