MacEthernetTapAgent.h 842 B

1234567891011121314151617181920212223
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at https://mozilla.org/MPL/2.0/.
  4. *
  5. * (c) ZeroTier, Inc.
  6. * https://www.zerotier.com/
  7. */
  8. #ifndef ZT_MACETHERNETTAPAGENT_H
  9. #define ZT_MACETHERNETTAPAGENT_H
  10. #define ZT_MACETHERNETTAPAGENT_EXIT_CODE_SUCCESS 0
  11. #define ZT_MACETHERNETTAPAGENT_EXIT_CODE_INVALID_REQUEST -1
  12. #define ZT_MACETHERNETTAPAGENT_EXIT_CODE_UNABLE_TO_CREATE -2
  13. #define ZT_MACETHERNETTAPAGENT_EXIT_CODE_READ_ERROR -3
  14. #define ZT_MACETHERNETTAPAGENT_STDIN_CMD_PACKET 0
  15. #define ZT_MACETHERNETTAPAGENT_STDIN_CMD_IFCONFIG 1
  16. #define ZT_MACETHERNETTAPAGENT_STDIN_CMD_EXIT 2
  17. #define ZT_MACETHERNETTAPAGENT_DEFAULT_SYSTEM_PATH "/Library/Application Support/ZeroTier/One/MacEthernetTapAgent"
  18. #endif