tor  0.4.0.0-alpha-dev
entry_port_cfg_st.h
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2018, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef ENTRY_PORT_CFG_ST_H
8 #define ENTRY_PORT_CFG_ST_H
9 
10 #include "lib/cc/torint.h"
11 #include "core/or/or.h"
12 
14  /* Client port types (socks, dns, trans, natd) only: */
15  uint8_t isolation_flags;
19  /* Socks only: */
22  unsigned int socks_prefer_no_auth : 1;
24  unsigned int socks_iso_keep_alive : 1;
25 
26  /* Client port types only: */
27  unsigned int ipv4_traffic : 1;
28  unsigned int ipv6_traffic : 1;
29  unsigned int prefer_ipv6 : 1;
30  unsigned int dns_request : 1;
31  unsigned int onion_traffic : 1;
32 
37  unsigned int cache_ipv4_answers : 1;
38  unsigned int cache_ipv6_answers : 1;
44  unsigned int use_cached_ipv4_answers : 1;
45  unsigned int use_cached_ipv6_answers : 1;
49  unsigned int prefer_ipv6_virtaddr : 1;
50 
51 };
52 
53 #endif
54 
unsigned int socks_prefer_no_auth
unsigned int cache_ipv4_answers
Integer definitions used throughout Tor.
unsigned int use_cached_ipv4_answers
Master header file for Tor-specific functionality.
unsigned int prefer_ipv6_virtaddr
unsigned int socks_iso_keep_alive