Home
last modified time | relevance | path

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

/freebsd/sys/net/
H A Dif_vlan.c108 uint16_t hwidth; member
140 for (_i = 0; _i < (1 << (_trunk)->hwidth); _i++) \
168 !(_cond) && _i < (1 << (_trunk)->hwidth); \
404 KASSERT(trunk->hwidth == 0 && trunk->hash == NULL, in vlan_inithash()
407 trunk->hwidth = VLAN_DEF_HWIDTH; in vlan_inithash()
408 n = 1 << trunk->hwidth; in vlan_inithash()
421 KASSERT(trunk->hwidth > 0, ("%s: hwidth not positive", __func__)); in vlan_freehash()
422 for (i = 0; i < (1 << trunk->hwidth); i++) in vlan_freehash()
428 trunk->hwidth = trunk->hmask = 0; in vlan_freehash()
438 KASSERT(trunk->hwidth > 0, ("%s: hwidth not positive", __func__)); in vlan_inshash()
[all …]