tor  master
Data Fields
short_policy_t Struct Reference

#include <or.h>

Collaboration diagram for short_policy_t:
Collaboration graph
[legend]

Data Fields

unsigned int is_accept: 1
 
unsigned int n_entries: 31
 
short_policy_entry_t entries [FLEXIBLE_ARRAY_MEMBER]
 

Detailed Description

A short_poliy_t is the parsed version of a policy summary.

Field Documentation

◆ entries

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).

◆ is_accept

unsigned int is_accept

True if the members of 'entries' are port ranges to accept; false if they are port ranges to reject

◆ n_entries

unsigned int n_entries

The actual number of values in 'entries'.


The documentation for this struct was generated from the following file: