2 // Copyright (c) 2010-2017 Intel Corporation
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
17 #ifndef _HASH_ENTRY_TYPES_H_
18 #define _HASH_ENTRY_TYPES_H_
20 #include <rte_ether.h>
21 #include "prox_compat.h"
23 struct ether_addr_port {
24 prox_rte_ether_addr mac;
33 uint64_t mac_port_8bytes;
34 struct ether_addr_port mac_port;
42 uint64_t mac_port_8bytes;
43 struct ether_addr_port mac_port;
52 uint64_t mac_port_8bytes;
53 struct ether_addr_port mac_port;
54 uint8_t mac_port_b[8];
65 } __attribute__((__packed__));
67 struct qinq_gre_data {
70 } __attribute__((__packed__));
72 #endif /* _HASH_ENTRY_TYPES_H_ */