diff options
| author | yangwei <[email protected]> | 2023-10-08 19:32:39 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-10-08 19:50:58 +0800 |
| commit | 8056537cd57b471598cbb70cabf2a8bb818bb513 (patch) | |
| tree | aad63b1b7026e6c97675ac86f1a309711c2ab82b /include | |
| parent | c9f5ea36894c2443166f13b71b16d7822704287e (diff) | |
✨ feat(IN and OUT link_id): 支持按流获取IN和OUT方向的link_id
Diffstat (limited to 'include')
| -rw-r--r-- | include/private/packet_io.h | 1 | ||||
| -rw-r--r-- | include/public/stream_inc/stream_control.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/private/packet_io.h b/include/private/packet_io.h index e91b6e6..7828151 100644 --- a/include/private/packet_io.h +++ b/include/private/packet_io.h @@ -94,6 +94,7 @@ extern PACKET_IO_CB_T G_DEFAULT_PKT_CB; struct rawpkt_metadata
{
char data[MAX_METADATA_LEN];
+ unsigned int link_id;
unsigned int sz_data;
struct segment_id_list raw_sid_list;
};
diff --git a/include/public/stream_inc/stream_control.h b/include/public/stream_inc/stream_control.h index 5d47ebf..c475a56 100644 --- a/include/public/stream_inc/stream_control.h +++ b/include/public/stream_inc/stream_control.h @@ -54,6 +54,8 @@ enum MESA_stream_opt{ MSO_STREAM_S2C_RAWPKT_HDR,
MSO_STREAM_C2S_SYN_NUM,
MSO_STREAM_S2C_SYN_NUM,
+ MSO_STREAM_INBOND_LINK_ID,
+ MSO_STREAM_OUTBOND_LINK_ID,
__MSO_MAX,
};
|
