Lines Matching refs:olh
218 ipfw_obj_lheader *olh;
223 olh = (ipfw_obj_lheader *)buf;
224 cfg = (ipfw_nat64stl_cfg *)(olh + 1);
289 olh->count = 1;
290 olh->objsize = sizeof(*cfg);
291 olh->size = sizeof(buf);
293 if (do_set3(IP_FW_NAT64STL_CREATE, &olh->opheader, sizeof(buf)) != 0)
520 ipfw_obj_lheader *olh;
527 sz = sizeof(*olh) + 16 * sizeof(*cfg);
529 if ((olh = calloc(1, sz)) == NULL)
532 olh->size = sz;
533 if (do_get3(IP_FW_NAT64STL_LIST, &olh->opheader, &sz) != 0) {
534 sz = olh->size;
535 free(olh);
542 qsort(olh + 1, olh->count, olh->objsize,
545 cfg = (ipfw_nat64stl_cfg *)(olh + 1);
546 for (i = 0; i < olh->count; i++) {
549 olh->objsize);
551 free(olh);