Lines Matching refs:new
42 struct ospf6_hook *new;
43 new = XMALLOC (MTYPE_OSPF6_OTHER, sizeof (struct ospf6_hook));
44 if (new == NULL)
46 memset (new, 0, sizeof (struct ospf6_hook));
47 return new;
75 struct ospf6_hook *new;
77 new = ospf6_hook_create ();
80 new->name = strdup (hook->name);
81 new->hook_add = hook->hook_add;
82 new->hook_change = hook->hook_change;
83 new->hook_remove = hook->hook_remove;
85 new->prev = master->tail;
87 master->tail->next = new;
89 master->tail = new;
91 master->head = new;