Lines Matching defs:head
769 * head is a pointer to the head of the queue.
770 * Modifies q and potentially also head.
772 #define UNLINK_DYN_RULE(prev, head, q) { \
784 head = q = q->next; \
2250 add_rule(struct ip_fw **head, struct ip_fw *input_rule)
2255 if (*head == NULL && input_rule->rulenum != IPFW_DEFAULT_RULE)
2274 if (*head == NULL) { /* default rule */
2275 *head = rule;
2291 for (f = *head; f; f = f->next) {
2304 for (prev = NULL, f = *head; f; prev = f, f = f->next) {
2309 } else { /* head insert */
2310 rule->next = *head;
2311 *head = rule;
2335 delete_rule(struct ip_fw **head, struct ip_fw *prev, struct ip_fw *rule)
2343 *head = n;
3087 * We could do it here only because we start from the head all
3093 * XXX this code can be improved by resetting the head of