tor  0.4.1.0-alpha-dev
server_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-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef SERVER_PORT_CFG_ST_H
8 #define SERVER_PORT_CFG_ST_H
9 
11  /* Server port types (or, dir) only: */
12  unsigned int no_advertise : 1;
13  unsigned int no_listen : 1;
14  unsigned int all_addrs : 1;
15  unsigned int bind_ipv4_only : 1;
16  unsigned int bind_ipv6_only : 1;
17 };
18 
19 #endif
20