Lines Matching refs:olh
1611 ipfw_obj_lheader *olh;
1617 sz = sizeof(*olh) + 16 * sizeof(ipfw_xtable_info);
1620 if ((olh = calloc(1, sz)) == NULL)
1623 olh->size = sz;
1624 if (do_get3(IP_FW_TABLES_XLIST, &olh->opheader, &sz) != 0) {
1625 sz = olh->size;
1626 free(olh);
1633 qsort(olh + 1, olh->count, olh->objsize, tablename_cmp);
1635 info = (ipfw_xtable_info *)(olh + 1);
1636 for (i = 0; i < olh->count; i++) {
1638 info = (ipfw_xtable_info *)((caddr_t)info + olh->objsize);
1641 free(olh);
1867 ipfw_obj_lheader req, *olh;
1878 if ((olh = calloc(1, sz)) == NULL)
1881 olh->size = sz;
1882 if (do_get3(opcode, &olh->opheader, &sz) != 0) {
1883 free(olh);
1887 *polh = olh;
1908 ipfw_obj_lheader *olh;
1913 error = table_do_get_algolist(&olh);
1917 info = (ipfw_ta_info *)(olh + 1);
1918 for (i = 0; i < olh->count; i++) {
1924 info = (ipfw_ta_info *)((caddr_t)info + olh->objsize);
1927 free(olh);
1970 ipfw_obj_lheader *olh;
1976 error = table_do_get_vlist(&olh);
1984 v = (struct _table_value *)(olh + 1);
1985 qsort(v, olh->count, olh->objsize, compare_values);
1986 for (i = 0; i < olh->count; i++) {
1990 v = (struct _table_value *)((caddr_t)v + olh->objsize);
1993 free(olh);