Changeset 528 for branches/garlicat/src/ocat.h
- Timestamp:
- 11/14/09 22:58:47 (3 years ago)
- File:
-
- 1 edited
-
branches/garlicat/src/ocat.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/garlicat/src/ocat.h
r526 r528 102 102 103 103 #define IP6HLEN sizeof(struct ip6_hdr) 104 /*//! TOR prefix: FD87:D87E:EB43::/48105 #define TOR_PREFIX {{{0xfd,0x87,0xd8,0x7e,0xeb,0x43,0,0,0,0,0,0,0,0,0,0}}}106 #define TOR_PREFIX_LEN 48107 #if BYTE_ORDER == LITTLE_ENDIAN108 #define TOR_PREFIX4 {0x0000000a}109 #define TOR_PREFIX4_MASK 0x000000ff110 #else111 #define TOR_PREFIX4 {0x0a000000}112 #define TOR_PREFIX4_MASK 0xff000000113 #endif*/114 104 //! Length of an .onion-URL (without ".onion" and '\0') 115 105 #define ONION_URL_LEN 16 116 /*//! Total length of .onion-URL117 #define ONION_NAME_SIZE (ONION_URL_LEN + 7)118 //! Total length of .onion-URL (equal to ONION_NAME_SIZE)119 #define ONION_NAME_LEN ONION_NAME_SIZE*/120 106 121 107 #define MAXPEERS 1024 122 /*//! Local listening port for incoming connections from TOR.123 #define OCAT_LISTEN_PORT 8060124 //! Local control port for querying status information.125 #define OCAT_CTRL_PORT 8066126 //! Virtual destination port for hidden services127 #define OCAT_DEST_PORT 8060128 //! SOCKS port of TOR proxy129 #define TOR_SOCKS_PORT 9050*/130 108 #ifdef __OpenBSD__ 131 109 #define OCAT_UNAME "_tor" … … 285 263 int use_syslog; 286 264 int daemon; 265 #ifdef CONNECT_ROOT_PEERS 287 266 //! hardcoded permanent peers 288 267 #define ROOT_PEERS 1 289 268 struct in6_addr root_peer[ROOT_PEERS]; 269 #endif 290 270 time_t uptime; 291 271 char *frandn;
Note: See TracChangeset
for help on using the changeset viewer.
