File: frame_tvbuff.h

package info (click to toggle)
wireshark 4.0.17-0%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 303,556 kB
  • sloc: ansic: 2,742,402; cpp: 118,028; xml: 76,195; python: 48,557; perl: 23,721; lex: 6,898; sh: 4,848; pascal: 4,378; ruby: 114; makefile: 113; objc: 69; tcl: 35
file content (39 lines) | stat: -rw-r--r-- 942 bytes parent folder | download
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 <gerald@wireshark.org>
 * 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 guint8 *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 guint8 *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__ */