MacEthernetTapAgent.h 941 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c)2019 ZeroTier, Inc.
  3. *
  4. * Use of this software is governed by the Business Source License included
  5. * in the LICENSE.TXT file in the project's root directory.
  6. *
  7. * Change Date: 2025-01-01
  8. *
  9. * On the date above, in accordance with the Business Source License, use
  10. * of this software will be governed by version 2.0 of the Apache License.
  11. */
  12. /****/
  13. #ifndef ZT_MACETHERNETTAPAGENT_H
  14. #define ZT_MACETHERNETTAPAGENT_H
  15. #define ZT_MACETHERNETTAPAGENT_EXIT_CODE_SUCCESS 0
  16. #define ZT_MACETHERNETTAPAGENT_EXIT_CODE_INVALID_REQUEST -1
  17. #define ZT_MACETHERNETTAPAGENT_EXIT_CODE_UNABLE_TO_CREATE -2
  18. #define ZT_MACETHERNETTAPAGENT_EXIT_CODE_READ_ERROR -3
  19. #define ZT_MACETHERNETTAPAGENT_STDIN_CMD_PACKET 0
  20. #define ZT_MACETHERNETTAPAGENT_STDIN_CMD_IFCONFIG 1
  21. #define ZT_MACETHERNETTAPAGENT_STDIN_CMD_EXIT 2
  22. #define ZT_MACETHERNETTAPAGENT_DEFAULT_SYSTEM_PATH "/Library/Application Support/ZeroTier/One/MacEthernetTapAgent"
  23. #endif