Lines Matching full:view

26 #include "services/view.h"
409 /** Iterate through raw view data and apply the view-specific respip
412 * an error. This additional iteration through view configuration data
422 struct view* v; in respip_views_apply_cfg()
427 /** if no respip config for this view then there's in respip_views_apply_cfg()
436 log_err("view '%s' unexpectedly missing", cv->name); in respip_views_apply_cfg()
452 "for view '%s'", cv->name); in respip_views_apply_cfg()
878 struct view* view = NULL; in respip_rewrite_reply() local
902 view = cinfo->view; in respip_rewrite_reply()
907 /** Try to use response-ip config from the view first; use in respip_rewrite_reply()
908 * global response-ip config if we don't have the view or we don't in respip_rewrite_reply()
909 * have the matching per-view config (and the view allows the use in respip_rewrite_reply()
911 * Note that we lock the view even if we only use view members that in respip_rewrite_reply()
913 * future possible changes as the view documentation seems to expect in respip_rewrite_reply()
914 * any of its member can change in the view's lifetime. in respip_rewrite_reply()
915 * Note also that we assume 'view' is valid in this function, which in respip_rewrite_reply()
917 if(view) { in respip_rewrite_reply()
918 lock_rw_rdlock(&view->lock); in respip_rewrite_reply()
919 if(view->respip_set) { in respip_rewrite_reply()
921 view->respip_set, &rrset_id, &rr_id))) { in respip_rewrite_reply()
922 /** for per-view respip directives the action in respip_rewrite_reply()
927 if(!raddr && !view->isfirst) in respip_rewrite_reply()
929 if(!raddr && view->isfirst) { in respip_rewrite_reply()
930 lock_rw_unlock(&view->lock); in respip_rewrite_reply()
931 view = NULL; in respip_rewrite_reply()
1015 if(view) { in respip_rewrite_reply()
1016 lock_rw_unlock(&view->lock); in respip_rewrite_reply()