Lines Matching refs:olh
1681 ipfw_obj_lheader *olh;
1687 sz = sizeof(*olh) + 16 * sizeof(ipfw_xtable_info);
1690 if ((olh = calloc(1, sz)) == NULL)
1693 olh->size = sz;
1694 if (do_get3(IP_FW_TABLES_XLIST, &olh->opheader, &sz) != 0) {
1695 sz = olh->size;
1696 free(olh);
1703 qsort(olh + 1, olh->count, olh->objsize,
1706 info = (ipfw_xtable_info *)(olh + 1);
1707 for (i = 0; i < olh->count; i++) {
1711 olh->objsize);
1713 free(olh);
1938 ipfw_obj_lheader req, *olh;
1949 if ((olh = calloc(1, sz)) == NULL)
1952 olh->size = sz;
1953 if (do_get3(opcode, &olh->opheader, &sz) != 0) {
1954 free(olh);
1958 *polh = olh;
1979 ipfw_obj_lheader *olh;
1984 error = table_do_get_algolist(&olh);
1988 info = (ipfw_ta_info *)(olh + 1);
1989 for (i = 0; i < olh->count; i++) {
1995 info = (ipfw_ta_info *)((caddr_t)info + olh->objsize);
1998 free(olh);
2041 ipfw_obj_lheader *olh;
2047 error = table_do_get_vlist(&olh);
2055 v = (struct _table_value *)(olh + 1);
2056 qsort(v, olh->count, olh->objsize, compare_values);
2057 for (i = 0; i < olh->count; i++) {
2061 v = (struct _table_value *)((caddr_t)v + olh->objsize);
2064 free(olh);