|
unbound 0.1
|
View. More...
#include <view.h>
Data Fields | |
| rbnode_type | node |
| rbtree node, key is name | |
| char * | name |
| view name. | |
| struct local_zones * | local_zones |
| view specific local authority zones | |
| struct respip_set * | respip_set |
| response-ip configuration data for this view | |
| int | isfirst |
| Fallback to global local_zones when there is no match in the view specific tree. | |
| lock_rw_type | lock |
| lock on the data in the structure For the node and name you need to also hold the views_tree lock to change them. | |
View.
Named structure holding local authority zones.
| rbnode_type view::node |
rbtree node, key is name
Referenced by view_create(), views_enter_view_name(), and views_find_view().
| char* view::name |
view name.
Has to be right after rbnode_t due to pointer arithmetic in view_create's lock protect
Referenced by client_info_compare(), local_zones_answer(), mesh_copy_client_info(), mesh_test(), view_cmp(), view_create(), view_delete(), view_get_mem(), views_enter_view_name(), and views_find_view().
| struct local_zones* view::local_zones |
view specific local authority zones
Referenced by do_view_data_add(), do_view_data_remove(), do_view_datas_add(), do_view_datas_remove(), do_view_list_local_data(), do_view_list_local_zones(), do_view_zone_add(), do_view_zone_remove(), local_zones_answer(), view_delete(), view_get_mem(), and views_apply_cfg().
| struct respip_set* view::respip_set |
response-ip configuration data for this view
Referenced by respip_rewrite_reply(), respip_view_conf_actions_test(), respip_view_conf_data_test(), respip_views_apply_cfg(), view_delete(), and view_get_mem().
| int view::isfirst |
Fallback to global local_zones when there is no match in the view specific tree.
1 for yes, 0 for no
Referenced by do_view_data_add(), do_view_datas_add(), do_view_zone_add(), local_zones_answer(), respip_rewrite_reply(), and views_apply_cfg().
| lock_rw_type view::lock |
lock on the data in the structure For the node and name you need to also hold the views_tree lock to change them.
Referenced by acl_view_tag_checks(), do_view_data_add(), do_view_data_remove(), do_view_datas_add(), do_view_datas_remove(), do_view_list_local_data(), do_view_list_local_zones(), do_view_zone_add(), do_view_zone_remove(), local_zones_answer(), respip_rewrite_reply(), respip_view_conf_actions_test(), respip_view_conf_data_test(), respip_views_apply_cfg(), view_create(), view_delete(), view_get_mem(), views_apply_cfg(), views_enter_view_name(), and views_find_view().