Bug 29085: Refactor non-padding accounting out of token removal.
[tor.git] / src / core / or / server_port_cfg_st.h
blobbd026af7eec6738c64f624908f37c9df61a0f23d
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 */
7 #ifndef SERVER_PORT_CFG_ST_H
8 #define SERVER_PORT_CFG_ST_H
10 struct server_port_cfg_t {
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;
19 #endif