/** * (C) 2007-22 - ntop.org and contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not see see * */ #ifndef _N2N_PORT_MAPPING_H_ #define _N2N_PORT_MAPPING_H_ #ifdef HAVE_PORT_FORWARDING #include #ifdef HAVE_MINIUPNP #ifdef CMAKE_BUILD // CMAKE uses static linked lib as submodule which requires different includes than // the dynamically linked, intalled library in case of plain make #include #include #include #else #include #include #include #endif // CMAKE_BUILD #endif // HAVE_MINIUPNP #ifdef HAVE_NATPMP #include "natpmp.h" #endif // HAVE_NATPMP void n2n_chg_port_mapping (struct n2n_edge *eee, const uint16_t port); #endif // HAVE_PORT_FORWARDING #endif // _N2N_PORT_MAPPING_H_