diff options
| author | fumingwei <[email protected]> | 2022-02-08 16:14:10 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2022-02-08 16:14:10 +0800 |
| commit | d1df1bd8a68e48e434ffae00e83a05c0635cf5f4 (patch) | |
| tree | 8ac14c6426f9ace16ed2c46b0319380643f54622 /common | |
| parent | cc234d4a1c6a224fcb8f192af1d53ded48822323 (diff) | |
feature:TSG-9539:kni新增cmsg字段支持4级或以上定位库v22.02.02
Diffstat (limited to 'common')
| -rw-r--r-- | common/include/kni_cmsg.h | 2 | ||||
| -rw-r--r-- | common/src/kni_cmsg.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/common/include/kni_cmsg.h b/common/include/kni_cmsg.h index 83294b8..d0a105b 100644 --- a/common/include/kni_cmsg.h +++ b/common/include/kni_cmsg.h @@ -76,6 +76,8 @@ enum tfe_cmsg_tlv_type TFE_CMSG_DST_IP_LOCATION_PROVINE, // string max size 256 TFE_CMSG_SRC_IP_LOCATION_CITY, // string max size 256 TFE_CMSG_DST_IP_LOCATION_CITY, // string max size 256 + TFE_CMSG_SRC_IP_LOCATION_SUBDIVISION, + TFE_CMSG_DST_IP_LOCATION_SUBDIVISION, //ja3 fingerprint TFE_CMSG_SSL_CLIENT_JA3_FINGERPRINT, //fqdn cat id diff --git a/common/src/kni_cmsg.cpp b/common/src/kni_cmsg.cpp index 4ba75f3..98954c0 100644 --- a/common/src/kni_cmsg.cpp +++ b/common/src/kni_cmsg.cpp @@ -248,6 +248,8 @@ void tfe_cmsg_enum_to_string() tfe_cmsg_tlv_type_to_string[TFE_CMSG_DST_IP_LOCATION_PROVINE] = "TFE_CMSG_DST_IP_LOCATION_PROVINE"; tfe_cmsg_tlv_type_to_string[TFE_CMSG_SRC_IP_LOCATION_CITY] = "TFE_CMSG_SRC_IP_LOCATION_CITY"; tfe_cmsg_tlv_type_to_string[TFE_CMSG_DST_IP_LOCATION_CITY] = "TFE_CMSG_DST_IP_LOCATION_CITY"; + tfe_cmsg_tlv_type_to_string[TFE_CMSG_SRC_IP_LOCATION_SUBDIVISION] = "TFE_CMSG_SRC_IP_LOCATION_SUBDIVISION"; + tfe_cmsg_tlv_type_to_string[TFE_CMSG_DST_IP_LOCATION_SUBDIVISION] = "TFE_CMSG_DST_IP_LOCATION_SUBDIVISION"; tfe_cmsg_tlv_type_to_string[TFE_CMSG_SSL_CLIENT_JA3_FINGERPRINT] = "TFE_CMSG_SSL_CLIENT_JA3_FINGERPRINT"; tfe_cmsg_tlv_type_to_string[TFE_CMSG_FQDN_CAT_ID_NUM] = "TFE_CMSG_FQDN_CAT_ID_NUM"; |
