diff options
| author | fumingwei <[email protected]> | 2020-12-04 17:21:50 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2020-12-04 17:21:50 +0800 |
| commit | 13e663f7f944257d15e53bb49929b0ff399a781b (patch) | |
| tree | aa9ad3815255b7040e0adf9be732049ba301d873 /common | |
| parent | 8b136892190adc813835fbcf360fd55c0c9308a4 (diff) | |
增加传输common_direction 的cmsg 给tfev20.12.01
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 954fb36..0e79b93 100644 --- a/common/include/kni_cmsg.h +++ b/common/include/kni_cmsg.h @@ -79,6 +79,8 @@ enum tfe_cmsg_tlv_type //fqdn cat id TFE_CMSG_FQDN_CAT_ID_NUM, // uint32_t TFE_CMSG_FQDN_CAT_ID_VAL, // string max size 8 * sizeof(uint32_t) + //cmsg common_direction + TFE_CMSG_COMMON_DIRECTION, //cmsg tlv max KNI_CMSG_TLV_NR_MAX, }; diff --git a/common/src/kni_cmsg.cpp b/common/src/kni_cmsg.cpp index 3424f6d..3631745 100644 --- a/common/src/kni_cmsg.cpp +++ b/common/src/kni_cmsg.cpp @@ -251,5 +251,7 @@ void tfe_cmsg_enum_to_string() tfe_cmsg_tlv_type_to_string[TFE_CMSG_FQDN_CAT_ID_NUM] = "TFE_CMSG_FQDN_CAT_ID_NUM"; tfe_cmsg_tlv_type_to_string[TFE_CMSG_FQDN_CAT_ID_VAL] = "TFE_CMSG_FQDN_CAT_ID_VAL"; + tfe_cmsg_tlv_type_to_string[TFE_CMSG_COMMON_DIRECTION] = "TFE_CMSG_COMMON_DIRECTION"; + } |
