/* * XMap Copyright 2021 Xiang Li from Network and Information Security Lab * Tsinghua University * * 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 http://www.apache.org/licenses/LICENSE-2.0 */ #ifndef XMAP_TYPES_H #define XMAP_TYPES_H #include typedef uint8_t ipaddr_n_t; // IPv4/6 address network order typedef uint16_t port_h_t; // port host order typedef unsigned char macaddr_t; typedef uint32_t index_h_t; // index host order #endif // XMAP_TYPES_H