Wireshark
4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-netlink-ovs_flow.h
1
/* packet-netlink-ovs_flow.h
2
* Public entry points for reusing the ovs_flow key/action/tunnel-key
3
* dissectors from other dissectors (e.g. ovs_packet upcalls).
4
*
5
* Copyright 2026, Red Hat Inc.
6
* By Timothy Redaelli <
[email protected]
>
7
*
8
* Wireshark - Network traffic analyzer
9
* By Gerald Combs <
[email protected]
>
10
* Copyright 1998 Gerald Combs
11
*
12
* SPDX-License-Identifier: GPL-2.0-or-later
13
*/
14
15
#ifndef __PACKET_NETLINK_OVS_FLOW_H__
16
#define __PACKET_NETLINK_OVS_FLOW_H__
17
18
#include "packet-netlink.h"
19
20
/*
21
* Dissect an OVS_FLOW_ATTR_KEY / OVS_FLOW_ATTR_MASK attribute payload.
22
* pinfo is required so that string fields can be allocated from the
23
* per-packet memory pool.
24
*/
25
int
ovs_flow_dissect_key(
tvbuff_t
*tvb,
packet_info
*pinfo,
26
struct
packet_netlink_data
*nl_data,
proto_tree
*tree,
27
int
offset,
int
len);
28
29
/*
30
* Dissect an OVS_FLOW_ATTR_ACTIONS attribute payload.
31
*/
32
int
ovs_flow_dissect_actions(
tvbuff_t
*tvb,
packet_info
*pinfo,
33
struct
packet_netlink_data
*nl_data,
proto_tree
*tree,
34
int
offset,
int
len);
35
36
/*
37
* Dissect a tunnel-key attribute payload (OVS_TUNNEL_KEY_ATTR_* stream),
38
* used for OVS_PACKET_ATTR_EGRESS_TUN_KEY.
39
*/
40
int
ovs_flow_dissect_tunnel_key(
tvbuff_t
*tvb,
packet_info
*pinfo,
41
struct
packet_netlink_data
*nl_data,
proto_tree
*tree,
42
int
offset,
int
len);
43
44
#endif
/* __PACKET_NETLINK_OVS_FLOW_H__ */
45
46
/*
47
* Editor modelines - https://www.wireshark.org/tools/modelines.html
48
*
49
* Local variables:
50
* c-basic-offset: 8
51
* tab-width: 8
52
* indent-tabs-mode: t
53
* End:
54
*
55
* vi: set shiftwidth=8 tabstop=8 noexpandtab:
56
* :indentSize=8:tabSize=8:noTabs=false:
57
*/
_packet_info
Definition
packet_info.h:43
_proto_node
Definition
proto.h:907
packet_netlink_data
Definition
packet-netlink.h:98
tvbuff
Definition
tvbuff-int.h:36
Generated by
1.9.8