2009-07-08 13:19:16 -07:00
|
|
|
/*
|
2012-05-02 15:21:36 -07:00
|
|
|
* Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc.
|
2009-07-08 13:19:16 -07:00
|
|
|
*
|
2009-06-15 15:11:30 -07:00
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at:
|
2009-07-08 13:19:16 -07:00
|
|
|
*
|
2009-06-15 15:11:30 -07:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
2009-07-08 13:19:16 -07:00
|
|
|
*/
|
|
|
|
#ifndef FLOW_H
|
|
|
|
#define FLOW_H 1
|
|
|
|
|
2010-02-12 12:51:36 -08:00
|
|
|
#include <sys/types.h>
|
2009-07-08 13:19:16 -07:00
|
|
|
#include <netinet/in.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <string.h>
|
2010-04-12 11:49:16 -04:00
|
|
|
#include "openflow/nicira-ext.h"
|
2009-07-08 13:19:16 -07:00
|
|
|
#include "openflow/openflow.h"
|
|
|
|
#include "hash.h"
|
|
|
|
#include "util.h"
|
|
|
|
|
2011-01-26 07:11:50 -08:00
|
|
|
struct dpif_flow_stats;
|
2009-07-08 13:19:16 -07:00
|
|
|
struct ds;
|
2010-11-08 10:37:35 -08:00
|
|
|
struct flow_wildcards;
|
2009-07-08 13:19:16 -07:00
|
|
|
struct ofpbuf;
|
|
|
|
|
2011-07-29 13:15:09 -07:00
|
|
|
/* This sequence number should be incremented whenever anything involving flows
|
|
|
|
* or the wildcarding of flows changes. This will cause build assertion
|
|
|
|
* failures in places which likely need to be updated. */
|
2012-07-18 12:02:19 +09:00
|
|
|
#define FLOW_WC_SEQ 13
|
2011-07-29 13:15:09 -07:00
|
|
|
|
2012-03-08 14:44:54 -08:00
|
|
|
#define FLOW_N_REGS 8
|
2010-11-11 10:41:33 -08:00
|
|
|
BUILD_ASSERT_DECL(FLOW_N_REGS <= NXM_NX_MAX_REGS);
|
|
|
|
|
2011-01-23 18:44:44 -08:00
|
|
|
/* Used for struct flow's dl_type member for frames that have no Ethernet
|
|
|
|
* type, that is, pure 802.2 frames. */
|
|
|
|
#define FLOW_DL_TYPE_NONE 0x5ff
|
|
|
|
|
Implement new fragment handling policy.
Until now, OVS has handled IP fragments more awkwardly than necessary. It
has not been possible to match on L4 headers, even in fragments with offset
0 where they are actually present. This means that there was no way to
implement ACLs that treat, say, different TCP ports differently, on
fragmented traffic; instead, all decisions for fragment forwarding had to
be made on the basis of L2 and L3 headers alone.
This commit improves the situation significantly. It is still not possible
to match on L4 headers in fragments with nonzero offset, because that
information is simply not present in such fragments, but this commit adds
the ability to match on L4 headers for fragments with zero offset. This
means that it becomes possible to implement ACLs that drop such "first
fragments" on the basis of L4 headers. In practice, that effectively
blocks even fragmented traffic on an L4 basis, because the receiving IP
stack cannot reassemble a full packet when the first fragment is missing.
This commit works by adding a new "fragment type" to the kernel flow match
and making it available through OpenFlow as a new NXM field named
NXM_NX_IP_FRAG. Because OpenFlow 1.0 explicitly says that the L4 fields
are always 0 for IP fragments, it adds a new OpenFlow fragment handling
mode that fills in the L4 fields for "first fragments". It also enhances
ovs-ofctl to allow users to configure this new fragment handling mode and
to parse the new field.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Bug #7557.
2011-10-19 21:33:44 -07:00
|
|
|
/* Fragment bits, used for IPv4 and IPv6, always zero for non-IP flows. */
|
2011-11-09 17:10:27 -08:00
|
|
|
#define FLOW_NW_FRAG_ANY (1 << 0) /* Set for any IP frag. */
|
|
|
|
#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
|
|
|
|
#define FLOW_NW_FRAG_MASK (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
|
Implement new fragment handling policy.
Until now, OVS has handled IP fragments more awkwardly than necessary. It
has not been possible to match on L4 headers, even in fragments with offset
0 where they are actually present. This means that there was no way to
implement ACLs that treat, say, different TCP ports differently, on
fragmented traffic; instead, all decisions for fragment forwarding had to
be made on the basis of L2 and L3 headers alone.
This commit improves the situation significantly. It is still not possible
to match on L4 headers in fragments with nonzero offset, because that
information is simply not present in such fragments, but this commit adds
the ability to match on L4 headers for fragments with zero offset. This
means that it becomes possible to implement ACLs that drop such "first
fragments" on the basis of L4 headers. In practice, that effectively
blocks even fragmented traffic on an L4 basis, because the receiving IP
stack cannot reassemble a full packet when the first fragment is missing.
This commit works by adding a new "fragment type" to the kernel flow match
and making it available through OpenFlow as a new NXM field named
NXM_NX_IP_FRAG. Because OpenFlow 1.0 explicitly says that the L4 fields
are always 0 for IP fragments, it adds a new OpenFlow fragment handling
mode that fills in the L4 fields for "first fragments". It also enhances
ovs-ofctl to allow users to configure this new fragment handling mode and
to parse the new field.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Bug #7557.
2011-10-19 21:33:44 -07:00
|
|
|
|
2011-11-09 17:10:27 -08:00
|
|
|
BUILD_ASSERT_DECL(FLOW_NW_FRAG_ANY == NX_IP_FRAG_ANY);
|
|
|
|
BUILD_ASSERT_DECL(FLOW_NW_FRAG_LATER == NX_IP_FRAG_LATER);
|
Implement new fragment handling policy.
Until now, OVS has handled IP fragments more awkwardly than necessary. It
has not been possible to match on L4 headers, even in fragments with offset
0 where they are actually present. This means that there was no way to
implement ACLs that treat, say, different TCP ports differently, on
fragmented traffic; instead, all decisions for fragment forwarding had to
be made on the basis of L2 and L3 headers alone.
This commit improves the situation significantly. It is still not possible
to match on L4 headers in fragments with nonzero offset, because that
information is simply not present in such fragments, but this commit adds
the ability to match on L4 headers for fragments with zero offset. This
means that it becomes possible to implement ACLs that drop such "first
fragments" on the basis of L4 headers. In practice, that effectively
blocks even fragmented traffic on an L4 basis, because the receiving IP
stack cannot reassemble a full packet when the first fragment is missing.
This commit works by adding a new "fragment type" to the kernel flow match
and making it available through OpenFlow as a new NXM field named
NXM_NX_IP_FRAG. Because OpenFlow 1.0 explicitly says that the L4 fields
are always 0 for IP fragments, it adds a new OpenFlow fragment handling
mode that fills in the L4 fields for "first fragments". It also enhances
ovs-ofctl to allow users to configure this new fragment handling mode and
to parse the new field.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Bug #7557.
2011-10-19 21:33:44 -07:00
|
|
|
|
2010-10-11 13:31:35 -07:00
|
|
|
struct flow {
|
2010-12-10 10:42:42 -08:00
|
|
|
ovs_be64 tun_id; /* Encapsulating tunnel ID. */
|
2012-06-27 01:09:44 +12:00
|
|
|
ovs_be64 metadata; /* OpenFlow Metadata. */
|
2011-11-02 18:22:22 -07:00
|
|
|
struct in6_addr ipv6_src; /* IPv6 source address. */
|
|
|
|
struct in6_addr ipv6_dst; /* IPv6 destination address. */
|
|
|
|
struct in6_addr nd_target; /* IPv6 neighbor discovery (ND) target. */
|
2011-12-21 15:52:23 -08:00
|
|
|
uint32_t skb_priority; /* Packet priority for QoS. */
|
2010-11-11 10:41:33 -08:00
|
|
|
uint32_t regs[FLOW_N_REGS]; /* Registers. */
|
2010-12-29 19:03:46 -08:00
|
|
|
ovs_be32 nw_src; /* IPv4 source address. */
|
|
|
|
ovs_be32 nw_dst; /* IPv4 destination address. */
|
2011-11-01 15:57:56 -07:00
|
|
|
ovs_be32 ipv6_label; /* IPv6 flow label. */
|
2011-05-11 12:13:10 -07:00
|
|
|
uint16_t in_port; /* OpenFlow port number of input port. */
|
2010-11-23 10:06:28 -08:00
|
|
|
ovs_be16 vlan_tci; /* If 802.1Q, TCI | VLAN_CFI; otherwise 0. */
|
2010-10-26 15:24:26 -07:00
|
|
|
ovs_be16 dl_type; /* Ethernet frame type. */
|
|
|
|
ovs_be16 tp_src; /* TCP/UDP source port. */
|
|
|
|
ovs_be16 tp_dst; /* TCP/UDP destination port. */
|
2010-10-11 13:31:35 -07:00
|
|
|
uint8_t dl_src[6]; /* Ethernet source address. */
|
|
|
|
uint8_t dl_dst[6]; /* Ethernet destination address. */
|
|
|
|
uint8_t nw_proto; /* IP protocol or low 8 bits of ARP opcode. */
|
2011-11-09 17:10:27 -08:00
|
|
|
uint8_t nw_tos; /* IP ToS (including DSCP and ECN). */
|
2011-02-01 22:54:11 -08:00
|
|
|
uint8_t arp_sha[6]; /* ARP/ND source hardware address. */
|
|
|
|
uint8_t arp_tha[6]; /* ARP/ND target hardware address. */
|
2011-11-05 15:48:12 -07:00
|
|
|
uint8_t nw_ttl; /* IP TTL/Hop Limit. */
|
2011-11-09 17:10:27 -08:00
|
|
|
uint8_t nw_frag; /* FLOW_FRAG_* flags. */
|
2012-03-08 14:44:54 -08:00
|
|
|
uint8_t reserved[2]; /* Reserved for 64-bit packing. */
|
2010-10-11 13:31:35 -07:00
|
|
|
};
|
|
|
|
|
2012-01-04 16:40:13 -08:00
|
|
|
/* Represents the metadata fields of struct flow. The masks are used to
|
|
|
|
* indicate which metadata fields are relevant in a given context. Typically
|
|
|
|
* they will be all 1 or all 0. */
|
|
|
|
struct flow_metadata {
|
|
|
|
ovs_be64 tun_id; /* Encapsulating tunnel ID. */
|
|
|
|
ovs_be64 tun_id_mask; /* 1-bit in each significant tun_id bit.*/
|
|
|
|
|
2012-06-27 01:09:44 +12:00
|
|
|
ovs_be64 metadata;
|
|
|
|
ovs_be64 metadata_mask;
|
|
|
|
|
2012-01-04 16:40:13 -08:00
|
|
|
uint32_t regs[FLOW_N_REGS]; /* Registers. */
|
|
|
|
uint32_t reg_masks[FLOW_N_REGS]; /* 1-bit in each significant regs bit. */
|
|
|
|
|
|
|
|
uint16_t in_port; /* OpenFlow port or zero. */
|
|
|
|
};
|
|
|
|
|
2010-10-11 13:31:35 -07:00
|
|
|
/* Assert that there are FLOW_SIG_SIZE bytes of significant data in "struct
|
|
|
|
* flow", followed by FLOW_PAD_SIZE bytes of padding. */
|
2012-06-27 01:09:44 +12:00
|
|
|
#define FLOW_SIG_SIZE (118 + FLOW_N_REGS * 4)
|
2012-03-08 14:44:54 -08:00
|
|
|
#define FLOW_PAD_SIZE 2
|
2011-11-09 17:10:27 -08:00
|
|
|
BUILD_ASSERT_DECL(offsetof(struct flow, nw_frag) == FLOW_SIG_SIZE - 1);
|
|
|
|
BUILD_ASSERT_DECL(sizeof(((struct flow *)0)->nw_frag) == 1);
|
2010-10-11 13:31:35 -07:00
|
|
|
BUILD_ASSERT_DECL(sizeof(struct flow) == FLOW_SIG_SIZE + FLOW_PAD_SIZE);
|
2009-07-08 13:19:16 -07:00
|
|
|
|
2011-07-29 13:15:09 -07:00
|
|
|
/* Remember to update FLOW_WC_SEQ when changing 'struct flow'. */
|
2012-07-18 12:02:19 +09:00
|
|
|
BUILD_ASSERT_DECL(FLOW_SIG_SIZE == 150 && FLOW_WC_SEQ == 13);
|
2011-07-29 13:15:09 -07:00
|
|
|
|
2011-11-01 10:13:16 -07:00
|
|
|
void flow_extract(struct ofpbuf *, uint32_t priority, ovs_be64 tun_id,
|
|
|
|
uint16_t in_port, struct flow *);
|
2011-08-19 09:39:16 -07:00
|
|
|
void flow_zero_wildcards(struct flow *, const struct flow_wildcards *);
|
2012-01-04 16:40:13 -08:00
|
|
|
void flow_get_metadata(const struct flow *, struct flow_metadata *);
|
2011-08-19 09:39:16 -07:00
|
|
|
|
2010-09-03 11:30:02 -07:00
|
|
|
char *flow_to_string(const struct flow *);
|
|
|
|
void flow_format(struct ds *, const struct flow *);
|
|
|
|
void flow_print(FILE *, const struct flow *);
|
2011-10-25 16:33:38 -07:00
|
|
|
static inline int flow_compare_3way(const struct flow *, const struct flow *);
|
2010-09-03 11:30:02 -07:00
|
|
|
static inline bool flow_equal(const struct flow *, const struct flow *);
|
|
|
|
static inline size_t flow_hash(const struct flow *, uint32_t basis);
|
2009-07-08 13:19:16 -07:00
|
|
|
|
2011-11-21 14:14:02 -08:00
|
|
|
void flow_set_vlan_vid(struct flow *, ovs_be16 vid);
|
|
|
|
void flow_set_vlan_pcp(struct flow *, uint8_t pcp);
|
|
|
|
|
2011-09-08 14:32:13 -07:00
|
|
|
void flow_compose(struct ofpbuf *, const struct flow *);
|
|
|
|
|
2009-07-08 13:19:16 -07:00
|
|
|
static inline int
|
2011-10-25 16:33:38 -07:00
|
|
|
flow_compare_3way(const struct flow *a, const struct flow *b)
|
2009-07-08 13:19:16 -07:00
|
|
|
{
|
2010-10-11 13:31:35 -07:00
|
|
|
return memcmp(a, b, FLOW_SIG_SIZE);
|
2009-07-08 13:19:16 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline bool
|
2010-09-03 11:30:02 -07:00
|
|
|
flow_equal(const struct flow *a, const struct flow *b)
|
2009-07-08 13:19:16 -07:00
|
|
|
{
|
2011-10-25 16:33:38 -07:00
|
|
|
return !flow_compare_3way(a, b);
|
2009-07-08 13:19:16 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
static inline size_t
|
2010-09-03 11:30:02 -07:00
|
|
|
flow_hash(const struct flow *flow, uint32_t basis)
|
2009-07-08 13:19:16 -07:00
|
|
|
{
|
2010-10-11 13:31:35 -07:00
|
|
|
return hash_bytes(flow, FLOW_SIG_SIZE, basis);
|
2009-07-08 13:19:16 -07:00
|
|
|
}
|
|
|
|
|
2010-11-10 14:39:54 -08:00
|
|
|
/* Open vSwitch flow wildcard bits.
|
2010-11-11 10:41:33 -08:00
|
|
|
*
|
2010-11-11 10:46:23 -08:00
|
|
|
* These are used only internally to Open vSwitch, in the 'wildcards' member of
|
|
|
|
* struct flow_wildcards. They never appear in the wire protocol in this
|
|
|
|
* form. */
|
|
|
|
|
2010-11-10 14:39:54 -08:00
|
|
|
typedef unsigned int OVS_BITWISE flow_wildcards_t;
|
|
|
|
|
2012-05-21 21:51:03 -07:00
|
|
|
/* Same values and meanings as corresponding OFPFW10_* bits. */
|
2010-11-10 14:39:54 -08:00
|
|
|
#define FWW_IN_PORT ((OVS_FORCE flow_wildcards_t) (1 << 0))
|
|
|
|
#define FWW_DL_TYPE ((OVS_FORCE flow_wildcards_t) (1 << 4))
|
|
|
|
#define FWW_NW_PROTO ((OVS_FORCE flow_wildcards_t) (1 << 5))
|
2012-05-21 21:51:03 -07:00
|
|
|
/* No corresponding OFPFW10_* bits. */
|
2012-05-29 00:38:21 +12:00
|
|
|
#define FWW_NW_DSCP ((OVS_FORCE flow_wildcards_t) (1 << 1))
|
|
|
|
#define FWW_NW_ECN ((OVS_FORCE flow_wildcards_t) (1 << 2))
|
|
|
|
#define FWW_ARP_SHA ((OVS_FORCE flow_wildcards_t) (1 << 3))
|
|
|
|
#define FWW_ARP_THA ((OVS_FORCE flow_wildcards_t) (1 << 6))
|
2012-07-18 12:02:19 +09:00
|
|
|
#define FWW_NW_TTL ((OVS_FORCE flow_wildcards_t) (1 << 7))
|
|
|
|
#define FWW_ALL ((OVS_FORCE flow_wildcards_t) (((1 << 8)) - 1))
|
2010-11-11 10:41:33 -08:00
|
|
|
|
2011-07-29 13:15:09 -07:00
|
|
|
/* Remember to update FLOW_WC_SEQ when adding or removing FWW_*. */
|
2012-07-18 12:02:19 +09:00
|
|
|
BUILD_ASSERT_DECL(FWW_ALL == ((1 << 8) - 1) && FLOW_WC_SEQ == 13);
|
2011-07-29 13:15:09 -07:00
|
|
|
|
2010-11-03 11:00:58 -07:00
|
|
|
/* Information on wildcards for a flow, as a supplement to "struct flow".
|
|
|
|
*
|
2010-11-10 14:39:54 -08:00
|
|
|
* Note that the meaning of 1-bits in 'wildcards' is opposite that of 1-bits in
|
|
|
|
* the rest of the members. */
|
2009-07-08 13:19:16 -07:00
|
|
|
struct flow_wildcards {
|
2011-01-20 15:29:00 -08:00
|
|
|
ovs_be64 tun_id_mask; /* 1-bit in each significant tun_id bit. */
|
2012-06-27 01:09:44 +12:00
|
|
|
ovs_be64 metadata_mask; /* 1-bit in each significant metadata bit. */
|
2010-11-10 14:39:54 -08:00
|
|
|
flow_wildcards_t wildcards; /* 1-bit in each FWW_* wildcarded field. */
|
2010-11-11 10:41:33 -08:00
|
|
|
uint32_t reg_masks[FLOW_N_REGS]; /* 1-bit in each significant regs bit. */
|
2010-10-26 15:24:26 -07:00
|
|
|
ovs_be32 nw_src_mask; /* 1-bit in each significant nw_src bit. */
|
|
|
|
ovs_be32 nw_dst_mask; /* 1-bit in each significant nw_dst bit. */
|
2010-12-29 19:03:46 -08:00
|
|
|
struct in6_addr ipv6_src_mask; /* 1-bit in each signficant ipv6_src bit. */
|
|
|
|
struct in6_addr ipv6_dst_mask; /* 1-bit in each signficant ipv6_dst bit. */
|
2012-04-25 15:48:40 -07:00
|
|
|
struct in6_addr nd_target_mask; /* 1-bit in each significant
|
|
|
|
nd_target bit. */
|
2012-07-18 12:02:19 +09:00
|
|
|
ovs_be32 ipv6_label_mask; /* 1 bit in each significant ipv6_label bit. */
|
2010-11-23 10:06:28 -08:00
|
|
|
ovs_be16 vlan_tci_mask; /* 1-bit in each significant vlan_tci bit. */
|
2012-01-27 17:16:05 -08:00
|
|
|
ovs_be16 tp_src_mask; /* 1-bit in each significant tp_src bit. */
|
|
|
|
ovs_be16 tp_dst_mask; /* 1-bit in each significant tp_dst bit. */
|
2011-11-09 17:10:27 -08:00
|
|
|
uint8_t nw_frag_mask; /* 1-bit in each significant nw_frag bit. */
|
2012-05-29 00:38:21 +12:00
|
|
|
uint8_t dl_src_mask[6]; /* 1-bit in each significant dl_src bit. */
|
|
|
|
uint8_t dl_dst_mask[6]; /* 1-bit in each significant dl_dst bit. */
|
2012-07-18 12:02:19 +09:00
|
|
|
uint8_t zeros[5]; /* Padding field set to zero. */
|
2009-07-08 13:19:16 -07:00
|
|
|
};
|
|
|
|
|
2011-07-29 13:15:09 -07:00
|
|
|
/* Remember to update FLOW_WC_SEQ when updating struct flow_wildcards. */
|
2012-07-18 12:02:19 +09:00
|
|
|
BUILD_ASSERT_DECL(sizeof(struct flow_wildcards) == 136 && FLOW_WC_SEQ == 13);
|
2011-07-29 13:15:09 -07:00
|
|
|
|
2010-11-10 14:39:54 -08:00
|
|
|
void flow_wildcards_init_catchall(struct flow_wildcards *);
|
2010-10-27 20:15:56 -07:00
|
|
|
void flow_wildcards_init_exact(struct flow_wildcards *);
|
|
|
|
|
2010-11-08 16:45:00 -08:00
|
|
|
bool flow_wildcards_is_exact(const struct flow_wildcards *);
|
2011-09-12 16:38:52 -07:00
|
|
|
bool flow_wildcards_is_catchall(const struct flow_wildcards *);
|
2010-11-08 16:45:00 -08:00
|
|
|
|
2010-11-11 10:41:33 -08:00
|
|
|
void flow_wildcards_set_reg_mask(struct flow_wildcards *,
|
|
|
|
int idx, uint32_t mask);
|
2009-07-08 13:19:16 -07:00
|
|
|
|
2010-11-03 11:00:58 -07:00
|
|
|
void flow_wildcards_combine(struct flow_wildcards *dst,
|
|
|
|
const struct flow_wildcards *src1,
|
|
|
|
const struct flow_wildcards *src2);
|
|
|
|
bool flow_wildcards_has_extra(const struct flow_wildcards *,
|
|
|
|
const struct flow_wildcards *);
|
|
|
|
|
2011-05-26 16:23:21 -07:00
|
|
|
uint32_t flow_wildcards_hash(const struct flow_wildcards *, uint32_t basis);
|
2010-11-03 11:00:58 -07:00
|
|
|
bool flow_wildcards_equal(const struct flow_wildcards *,
|
|
|
|
const struct flow_wildcards *);
|
2011-02-01 18:50:25 -08:00
|
|
|
uint32_t flow_hash_symmetric_l4(const struct flow *flow, uint32_t basis);
|
2010-11-03 11:00:58 -07:00
|
|
|
|
2011-06-06 14:21:40 -07:00
|
|
|
const uint8_t *flow_wildcards_to_dl_dst_mask(flow_wildcards_t);
|
|
|
|
bool flow_wildcards_is_dl_dst_mask_valid(const uint8_t[6]);
|
|
|
|
flow_wildcards_t flow_wildcards_set_dl_dst_mask(flow_wildcards_t,
|
|
|
|
const uint8_t mask[6]);
|
2011-07-13 16:20:24 -07:00
|
|
|
uint32_t flow_hash_fields(const struct flow *, enum nx_hash_fields,
|
|
|
|
uint16_t basis);
|
|
|
|
const char *flow_hash_fields_to_str(enum nx_hash_fields);
|
|
|
|
bool flow_hash_fields_valid(enum nx_hash_fields);
|
2011-06-06 14:21:40 -07:00
|
|
|
|
2009-07-08 13:19:16 -07:00
|
|
|
#endif /* flow.h */
|