Lines Matching refs:olh
404 ipfw_obj_lheader *olh;
409 olh = (ipfw_obj_lheader *)buf;
410 cfg = (ipfw_nat64lsn_cfg *)(olh + 1);
527 olh->count = 1;
528 olh->objsize = sizeof(*cfg);
529 olh->size = sizeof(buf);
531 if (do_set3(IP_FW_NAT64LSN_CREATE, &olh->opheader, sizeof(buf)) != 0)
852 ipfw_obj_lheader *olh;
859 sz = sizeof(*olh) + 16 * sizeof(ipfw_nat64lsn_cfg);
862 if ((olh = calloc(1, sz)) == NULL)
865 olh->size = sz;
866 if (do_get3(IP_FW_NAT64LSN_LIST, &olh->opheader, &sz) != 0) {
867 sz = olh->size;
868 free(olh);
875 qsort(olh + 1, olh->count, olh->objsize,
878 cfg = (ipfw_nat64lsn_cfg *)(olh + 1);
879 for (i = 0; i < olh->count; i++) {
882 olh->objsize);
884 free(olh);