Home
last modified time | relevance | path

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

/freebsd/sys/netgraph/
H A Dng_macfilter.c272 u_int mf_mac_allocated;/* Allocated # of MAC slots */ member
286 int n = mfp->mf_mac_allocated; in macfilter_mactable_resize()
289 else if (mfp->mf_mac_used + 2*MACTABLE_BLOCKSIZE < mfp->mf_mac_allocated) /* reduce size */ in macfilter_mactable_resize()
290 n = mfp->mf_mac_allocated - MACTABLE_BLOCKSIZE; in macfilter_mactable_resize()
291 else if (mfp->mf_mac_used == mfp->mf_mac_allocated) /* increase size */ in macfilter_mactable_resize()
292 n = mfp->mf_mac_allocated + MACTABLE_BLOCKSIZE; in macfilter_mactable_resize()
294 if (n != mfp->mf_mac_allocated) { in macfilter_mactable_resize()
296 mfp->mf_mac_used, mfp->mf_mac_allocated, n); in macfilter_mactable_resize()
305 mfp->mf_mac_allocated = n; in macfilter_mactable_resize()
414 mfp->mf_mac_used, mfp->mf_mac_allocated); in macfilter_mactable_change()