Lines Matching defs:not
96 struct notify_zone* not = (struct notify_zone*)
98 memset(not, 0, sizeof(struct notify_zone));
99 not->apex = options->node.key;
100 not->apex_str = options->name;
101 not->node.key = not->apex;
102 not->options = options;
105 not->current_soa = (struct xfrd_soa*)region_alloc(region,
107 memset(not->current_soa, 0, sizeof(struct xfrd_soa));
109 not->notify_send_handler.ev_fd = -1;
110 not->notify_send6_handler.ev_fd = -1;
111 not->is_waiting = 0;
113 not->notify_send_enable = 0;
114 not->notify_send6_enable = 0;
115 tsig_create_record_custom(¬->notify_tsig, NULL, 0, 0, 4);
116 not->notify_current = 0;
117 rbtree_insert(tree, (rbnode_type*)not);
124 struct notify_zone* not = (struct notify_zone*)rbtree_delete(
126 if(!not)
130 if(not->is_waiting) {
131 if(not->waiting_prev)
132 not->waiting_prev->waiting_next = not->waiting_next;
133 else xfrd->notify_waiting_first = not->waiting_next;
134 if(not->waiting_next)
135 not->waiting_next->waiting_prev = not->waiting_prev;
136 else xfrd->notify_waiting_last = not->waiting_prev;
137 not->is_waiting = 0;
141 if(not->notify_send_enable || not->notify_send6_enable) {
142 notify_disable(not);
146 tsig_delete_record(¬->notify_tsig, NULL);
149 region_recycle(xfrd->region, not->current_soa, sizeof(xfrd_soa_type));
151 region_recycle(xfrd->region, not, sizeof(*not));
170 /* could check tsig, but why. The reply does not cause processing. */
305 log_msg(LOG_ERR, "xfrd: zone %s: could not send notify #%d to %s",