3 * Implements a tvbuff for frame
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __FRAME_TVBUFF_H__
13 #define __FRAME_TVBUFF_H__
17 #include <wiretap/wtap.h>
21 #endif /* __cplusplus */
23 extern tvbuff_t
*frame_tvbuff_new(const struct packet_provider_data
*prov
,
24 const frame_data
*fd
, const uint8_t *buf
);
26 extern tvbuff_t
*frame_tvbuff_new_buffer(const struct packet_provider_data
*prov
,
27 const frame_data
*fd
, Buffer
*buf
);
29 extern tvbuff_t
*file_tvbuff_new(const struct packet_provider_data
*prov
,
30 const frame_data
*fd
, const uint8_t *buf
);
32 extern tvbuff_t
*file_tvbuff_new_buffer(const struct packet_provider_data
*prov
,
33 const frame_data
*fd
, Buffer
*buf
);
37 #endif /* __cplusplus */
39 #endif /* __FRAME_TVBUFF_H__ */