Lines Matching refs:olh
5513 ipfw_obj_lheader req, *olh;
5526 if ((olh = calloc(1, sz)) == NULL)
5529 olh->size = sz;
5530 if (do_get3(IP_FW_DUMP_SRVOBJECTS, &olh->opheader, &sz) != 0) {
5531 free(olh);
5535 if (olh->count > 0)
5539 ntlv = (ipfw_obj_ntlv *)(olh + 1);
5540 for (i = 0; i < olh->count; i++) {
5544 (ipfw_obj_ntlv *)(olh + 1), olh->count,
5554 free(olh);
5587 ipfw_obj_lheader req, *olh;
5599 if ((olh = calloc(1, sz)) == NULL)
5602 olh->size = sz;
5603 if (do_get3(IP_FW_XIFLIST, &olh->opheader, &sz) != 0) {
5604 free(olh);
5608 *polh = olh;
5631 ipfw_obj_lheader *olh = NULL;
5636 if ((error = ipfw_get_tracked_ifaces(&olh)) != 0)
5639 qsort(olh + 1, olh->count, olh->objsize, ifinfo_cmp);
5641 info = (ipfw_iface_info *)(olh + 1);
5642 for (i = 0; i < olh->count; i++) {
5650 info = (ipfw_iface_info *)((caddr_t)info + olh->objsize);
5653 free(olh);