forked from wireshark/wireshark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frame_tvbuff.h
39 lines (29 loc) · 944 Bytes
/
frame_tvbuff.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/** @file
*
* Implements a tvbuff for frame
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <[email protected]>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __FRAME_TVBUFF_H__
#define __FRAME_TVBUFF_H__
#include "cfile.h"
#include <wiretap/wtap.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
extern tvbuff_t *frame_tvbuff_new(const struct packet_provider_data *prov,
const frame_data *fd, const uint8_t *buf);
extern tvbuff_t *frame_tvbuff_new_buffer(const struct packet_provider_data *prov,
const frame_data *fd, Buffer *buf);
extern tvbuff_t *file_tvbuff_new(const struct packet_provider_data *prov,
const frame_data *fd, const uint8_t *buf);
extern tvbuff_t *file_tvbuff_new_buffer(const struct packet_provider_data *prov,
const frame_data *fd, Buffer *buf);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __FRAME_TVBUFF_H__ */