Tor  0.4.6.0-alpha-dev
Data Structures | Macros | Enumerations
addr_policy_st.h File Reference

Address policy structures. More...

#include "lib/cc/torint.h"
#include "lib/net/address.h"

Go to the source code of this file.

Data Structures

struct  addr_policy_t
 

Macros

#define addr_policy_action_bitfield_t   ENUM_BF(addr_policy_action_t)
 

Enumerations

enum  addr_policy_action_t { ADDR_POLICY_ACCEPT =1, ADDR_POLICY_REJECT =2 }
 

Detailed Description

Address policy structures.

Definition in file addr_policy_st.h.

Enumeration Type Documentation

◆ addr_policy_action_t

What action type does an address policy indicate: accept or reject?

Definition at line 19 of file addr_policy_st.h.