Tor
0.4.7.0-alpha-dev
|
#include <policies.h>
Data Fields | |
unsigned int | is_accept: 1 |
unsigned int | n_entries: 31 |
short_policy_entry_t | entries [FLEXIBLE_ARRAY_MEMBER] |
A short_poliy_t is the parsed version of a policy summary.
Definition at line 57 of file policies.h.
short_policy_entry_t entries[FLEXIBLE_ARRAY_MEMBER] |
An array of 0 or more short_policy_entry_t values, each describing a range of ports that this policy accepts or rejects (depending on the value of is_accept).
Definition at line 67 of file policies.h.
Referenced by short_policy_is_reject_star(), and write_short_policy().
unsigned int is_accept |
True if the members of 'entries' are port ranges to accept; false if they are port ranges to reject
Definition at line 60 of file policies.h.
Referenced by short_policy_is_reject_star(), and write_short_policy().
unsigned int n_entries |
The actual number of values in 'entries'.
Definition at line 62 of file policies.h.
Referenced by short_policy_is_reject_star(), and write_short_policy().