mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
datapath: Allow TCP flags to be cleared.
When querying flow stats allow the TCP flags to be reset. Since the datapath ORs together all flags that have previously been seen it is otherwise impossible to determine the set of flags from after a particular time.
This commit is contained in:
@@ -165,11 +165,15 @@ struct odp_flow_key {
|
||||
__u8 reserved; /* Pad to 64 bits. */
|
||||
};
|
||||
|
||||
/* Flags for ODP_FLOW. */
|
||||
#define ODPFF_ZERO_TCP_FLAGS (1 << 0) /* Zero the TCP flags. */
|
||||
|
||||
struct odp_flow {
|
||||
struct odp_flow_stats stats;
|
||||
struct odp_flow_key key;
|
||||
union odp_action *actions;
|
||||
__u32 n_actions;
|
||||
__u32 flags;
|
||||
};
|
||||
|
||||
/* Flags for ODP_FLOW_PUT. */
|
||||
|
Reference in New Issue
Block a user