diff options
| author | 童宗振 <[email protected]> | 2024-07-10 07:04:46 +0000 |
|---|---|---|
| committer | 童宗振 <[email protected]> | 2024-07-10 07:04:46 +0000 |
| commit | b1d39093ebd855be544c036d0fbd393addc23c91 (patch) | |
| tree | 5f1174c5bbb4a989afea94968b1752dee05509ae /include | |
| parent | af9177f5e0b15c80d5370e681526fc1ccac7d0ff (diff) | |
(TSG-21729)metadata add egress_action fieldv4.8.15-20240710
Diffstat (limited to 'include')
| -rw-r--r-- | include/external/marsio.h | 19 | ||||
| -rw-r--r-- | include/internal/mrb_define.h | 1 |
2 files changed, 3 insertions, 17 deletions
diff --git a/include/external/marsio.h b/include/external/marsio.h index b74c792..12e4bd1 100644 --- a/include/external/marsio.h +++ b/include/external/marsio.h @@ -295,26 +295,9 @@ int marsio_buff_prepend_sid_list(marsio_buff_t * m, sid_t * slist, uint8_t sz_sl int marsio_buff_get_current_sid(marsio_buff_t * m, sid_t * sid); /******************************** data path trace**************************************/ -__attribute__((deprecated( - "use marsio_dp_trace_measurements_can_emit replace.the current interface will be removed in 24.06."))) int -marsio_dp_trace_record_can_emit(const marsio_buff_t * mbuf); - -__attribute__(( - deprecated("use marsio_dp_trace_measurement_emit_str replace.the current interface will be removed in 24.06."))) int -marsio_dp_trace_record_emit_str(struct mr_instance * instance, marsio_buff_t * mbuf, const char * module, - const char * str); -__attribute__(( - deprecated("use marsio_dp_trace_measurement_emit_fmt replace.the current interface will be removed in 24.06."))) int -marsio_dp_trace_record_emit_fmt(struct mr_instance * instance, marsio_buff_t * mbuf, const char * module, - const char * format, ...); - #define DP_TRACE_MEASUREMENT_TYPE_TRACE (1 << 0) #define DP_TRACE_MEASUREMENT_TYPE_TELEMETRY (1 << 1) -__attribute__(( - deprecated("Users do not need to manually call this function.The current function will be removed in 24.06."))) void -marsio_dp_trace_filter_exec(struct mr_instance * instance, marsio_buff_t * mbuf); - int marsio_dp_trace_measurements_can_emit(struct mr_instance * instance, const marsio_buff_t * mbuf, uint8_t measurement_type); @@ -351,6 +334,8 @@ struct dp_trace_buffer_telemetry char inner_dst_addr_str[INET6_ADDRSTRLEN]; int32_t inner_src_port; int32_t inner_dst_port; + + uint8_t egress_action; }; struct dp_trace_record_header diff --git a/include/internal/mrb_define.h b/include/internal/mrb_define.h index cad8c44..1fd663c 100644 --- a/include/internal/mrb_define.h +++ b/include/internal/mrb_define.h @@ -41,6 +41,7 @@ struct mrb_metadata /* ingress, egress */ uint16_t port_ingress; uint16_t port_egress; + uint8_t egress_action; /* Session Id */ uint64_t session_id; |
