pfctl_get_limit
int pfctl_get_limit(struct pfctl_handle *h, const int index, uint *limit);
if ((ret = pfctl_get_limit(pfh, pf_limits[i].index, &limit)) != 0)
if (pfctl_get_limit(h, i, &limit_curr[i]))
if (pfctl_get_limit(pfh, index, &limit)) {