Lines Matching refs:olh
5540 ipfw_obj_lheader req, *olh; in ipfw_list_objects() local
5553 if ((olh = calloc(1, sz)) == NULL) in ipfw_list_objects()
5556 olh->size = sz; in ipfw_list_objects()
5557 if (do_get3(IP_FW_DUMP_SRVOBJECTS, &olh->opheader, &sz) != 0) { in ipfw_list_objects()
5558 free(olh); in ipfw_list_objects()
5562 if (olh->count > 0) in ipfw_list_objects()
5566 ntlv = (ipfw_obj_ntlv *)(olh + 1); in ipfw_list_objects()
5567 for (i = 0; i < olh->count; i++) { in ipfw_list_objects()
5571 (ipfw_obj_ntlv *)(olh + 1), olh->count, in ipfw_list_objects()
5581 free(olh); in ipfw_list_objects()
5614 ipfw_obj_lheader req, *olh; in ipfw_get_tracked_ifaces() local
5626 if ((olh = calloc(1, sz)) == NULL) in ipfw_get_tracked_ifaces()
5629 olh->size = sz; in ipfw_get_tracked_ifaces()
5630 if (do_get3(IP_FW_XIFLIST, &olh->opheader, &sz) != 0) { in ipfw_get_tracked_ifaces()
5631 free(olh); in ipfw_get_tracked_ifaces()
5635 *polh = olh; in ipfw_get_tracked_ifaces()
5658 ipfw_obj_lheader *olh = NULL; in ipfw_list_tifaces() local
5663 if ((error = ipfw_get_tracked_ifaces(&olh)) != 0) in ipfw_list_tifaces()
5666 qsort(olh + 1, olh->count, olh->objsize, ifinfo_cmp); in ipfw_list_tifaces()
5668 info = (ipfw_iface_info *)(olh + 1); in ipfw_list_tifaces()
5669 for (i = 0; i < olh->count; i++) { in ipfw_list_tifaces()
5677 info = (ipfw_iface_info *)((caddr_t)info + olh->objsize); in ipfw_list_tifaces()
5680 free(olh); in ipfw_list_tifaces()