Lines Matching refs:olh
1684 ipfw_obj_lheader *olh;
1691 sz = sizeof(*olh) + 16 * sizeof(ipfw_xtable_info);
1694 if ((olh = calloc(1, sz)) == NULL)
1697 olh->size = sz;
1698 if (do_get3(IP_FW_TABLES_XLIST, &olh->opheader, &sz) != 0) {
1699 sz = olh->size;
1700 free(olh);
1707 qsort(olh + 1, olh->count, olh->objsize,
1710 info = (ipfw_xtable_info *)(olh + 1);
1711 for (i = 0; i < olh->count; i++) {
1715 olh->objsize);
1717 free(olh);
1943 ipfw_obj_lheader req, *olh;
1954 if ((olh = calloc(1, sz)) == NULL)
1957 olh->size = sz;
1958 if (do_get3(opcode, &olh->opheader, &sz) != 0) {
1959 free(olh);
1963 *polh = olh;
1984 ipfw_obj_lheader *olh;
1990 error = table_do_get_algolist(&olh);
1994 info = (ipfw_ta_info *)(olh + 1);
1995 for (i = 0; i < olh->count; i++) {
2001 info = (ipfw_ta_info *)((caddr_t)info + olh->objsize);
2004 free(olh);
2048 ipfw_obj_lheader *olh;
2053 error = table_do_get_vlist(&olh);
2061 v = (struct _table_value *)(olh + 1);
2062 qsort(v, olh->count, olh->objsize, compare_values);
2063 for (i = 0; i < olh->count; i++) {
2067 v = (struct _table_value *)((caddr_t)v + olh->objsize);
2070 free(olh);