Lines Matching refs:olh
184 ipfw_obj_lheader *olh;
191 olh = (ipfw_obj_lheader *)buf;
192 cfg = (ipfw_nat64clat_cfg *)(olh + 1);
253 olh->count = 1;
254 olh->objsize = sizeof(*cfg);
255 olh->size = sizeof(buf);
257 if (do_set3(IP_FW_NAT64CLAT_CREATE, &olh->opheader, sizeof(buf)) != 0)
504 ipfw_obj_lheader *olh;
511 sz = sizeof(*olh) + 16 * sizeof(*cfg);
513 if ((olh = calloc(1, sz)) == NULL)
516 olh->size = sz;
517 if (do_get3(IP_FW_NAT64CLAT_LIST, &olh->opheader, &sz) != 0) {
518 sz = olh->size;
519 free(olh);
526 qsort(olh + 1, olh->count, olh->objsize,
529 cfg = (ipfw_nat64clat_cfg *)(olh + 1);
530 for (i = 0; i < olh->count; i++) {
533 olh->objsize);
535 free(olh);