]>
git.proxmox.com Git - ovs.git/blob - ovn/lib/logical-fields.h
1 /* Copyright (c) 2015 Nicira, Inc.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 #ifndef OVN_LOGICAL_FIELDS_H
17 #define OVN_LOGICAL_FIELDS_H 1
19 #include "meta-flow.h"
23 * These values are documented in ovn-architecture(7), please update the
24 * documentation if you change any of them. */
25 #define MFF_LOG_DATAPATH MFF_METADATA /* Logical datapath (64 bits). */
26 #define MFF_LOG_CT_ZONE MFF_REG5 /* Logical conntrack zone (32 bits). */
27 #define MFF_LOG_INPORT MFF_REG6 /* Logical input port (32 bits). */
28 #define MFF_LOG_OUTPORT MFF_REG7 /* Logical output port (32 bits). */
32 * Make sure these don't overlap with the logical fields! */
33 #define MFF_LOG_REGS \
34 MFF_LOG_REG(MFF_REG0) \
35 MFF_LOG_REG(MFF_REG1) \
36 MFF_LOG_REG(MFF_REG2) \
37 MFF_LOG_REG(MFF_REG3) \
40 #endif /* ovn/lib/logical-fields.h */