Home
last modified time | relevance | path

Searched refs:mf_mac_allocated (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/netgraph/
H A Dng_macfilter.c274 u_int mf_mac_allocated;/* Allocated # of MAC slots */ member
288 int n = mfp->mf_mac_allocated; in macfilter_mactable_resize()
291 else if (mfp->mf_mac_used + 2*MACTABLE_BLOCKSIZE < mfp->mf_mac_allocated) /* reduce size */ in macfilter_mactable_resize()
292 n = mfp->mf_mac_allocated - MACTABLE_BLOCKSIZE; in macfilter_mactable_resize()
293 else if (mfp->mf_mac_used == mfp->mf_mac_allocated) /* increase size */ in macfilter_mactable_resize()
294 n = mfp->mf_mac_allocated + MACTABLE_BLOCKSIZE; in macfilter_mactable_resize()
296 if (n != mfp->mf_mac_allocated) { in macfilter_mactable_resize()
298 mfp->mf_mac_used, mfp->mf_mac_allocated, n); in macfilter_mactable_resize()
307 mfp->mf_mac_allocated = n; in macfilter_mactable_resize()
416 mfp->mf_mac_used, mfp->mf_mac_allocated); in macfilter_mactable_change()