Home | History | Annotate | Download | only in npfctl

Lines Matching refs:vp2

132 npfvar_add_elements(npfvar_t *vp, npfvar_t *vp2)
134 if (vp2 == NULL)
137 return vp2;
140 if (vp2->v_elements) {
141 vp->v_elements = vp2->v_elements;
143 } else if (vp2->v_elements) {
144 vp->v_last->e_next = vp2->v_elements;
146 if (vp2->v_elements) {
147 vp->v_last = vp2->v_last;
148 vp->v_count += vp2->v_count;
149 vp2->v_elements = NULL;
150 vp2->v_count = 0;
151 vp2->v_last = NULL;
153 npfvar_destroy(vp2);