diff options
| author | yangwei <[email protected]> | 2023-11-16 12:05:09 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-11-16 12:05:40 +0800 |
| commit | f0521c6fd95e8e5e28b430dd252fa63024ffa0ad (patch) | |
| tree | eda7342b66f662e8a03a00cf1d031a97dcfb2330 /include | |
| parent | 4d010bd0e41b86cca3dfc94c9c54da850faeae4c (diff) | |
✨ feat(stream_rawpkt.h): update get current l3 l4 hdr interface
Diffstat (limited to 'include')
| -rw-r--r-- | include/public/stream_inc/stream_rawpkt.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/public/stream_inc/stream_rawpkt.h b/include/public/stream_inc/stream_rawpkt.h index c54b937..ce0063d 100644 --- a/include/public/stream_inc/stream_rawpkt.h +++ b/include/public/stream_inc/stream_rawpkt.h @@ -83,10 +83,11 @@ int get_opt_from_rawpkt(const void *rawpkt, int type, void *out_value); int get_rawpkt_opt_from_streaminfo(const struct streaminfo *pstream, int type, void *out_value);
/*
- ��ȡ��������ԭʼ���ж�Ӧ��ͷ����ַ,
- ע��: �������������ΪTCP��UDP, ���ô˺�����, �õ�ԭʼ���ж�Ӧ�ij��ر��㴫����IPͷ����ַ.
+ TCP UDP only
+ ��ȡ���ڵ�ǰ���ж�Ӧ��l3����l4ͷ����ʼλ��,
*/
-const void *get_this_layer_header(const struct streaminfo *pstream);
+const void *get_current_layer3_header(const struct streaminfo *pstream);
+const void *get_current_layer4_header(const struct streaminfo *pstream);
/*
CHN : ���ݰ�ͷ��ƫ�ƺ���.
|
