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); \
394 KASSERT(trunk->hwidth == 0 && trunk->hash == NULL, in vlan_inithash()
397 trunk->hwidth = VLAN_DEF_HWIDTH; in vlan_inithash()
398 n = 1 << trunk->hwidth; in vlan_inithash()
411 KASSERT(trunk->hwidth > 0, ("%s: hwidth not positive", __func__)); in vlan_freehash()
412 for (i = 0; i < (1 << trunk->hwidth); i++) in vlan_freehash()
418 trunk->hwidth = trunk->hmask = 0; in vlan_freehash()
428 KASSERT(trunk->hwidth > 0, ("%s: hwidth not positive", __func__)); in vlan_inshash()
[all …]