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>
22 struct ether_addr_port {
23 struct ether_addr mac;
32 uint64_t mac_port_8bytes;
33 struct ether_addr_port mac_port;
41 uint64_t mac_port_8bytes;
42 struct ether_addr_port mac_port;
51 uint64_t mac_port_8bytes;
52 struct ether_addr_port mac_port;
53 uint8_t mac_port_b[8];
64 } __attribute__((__packed__));
66 struct qinq_gre_data {
69 } __attribute__((__packed__));
71 #endif /* _HASH_ENTRY_TYPES_H_ */