tor-fw-helper-natpmp.h 440 B

123456789101112131415161718
  1. /* Copyright (c) 2010, Jacob Appelbaum, Steven J. Murdoch.
  2. * Copyright (c) 2010, The Tor Project, Inc. */
  3. /* See LICENSE for licensing information */
  4. #ifndef _TOR_FW_HELPER_NATPMP_H
  5. #define _TOR_FW_HELPER_NATPMP_H
  6. #include <natpmp.h>
  7. #define NATPMP_DEFAULT_LEASE 3600
  8. #define NATPMP_SUCCESS 0
  9. int tor_natpmp_add_tcp_mapping(tor_fw_options_t *tor_fw_options);
  10. int tor_natpmp_fetch_public_ip(tor_fw_options_t *tor_fw_options);
  11. #endif