Home
last modified time | relevance | path

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

/f-stack/freebsd/net/
H A Dif_vlan.c136 #define VLAN_FOREACH(_ifv, _trunk) \ argument
139 if (((_ifv) = (_trunk)->vlans[_i]) != NULL)
141 #define VLAN_FOREACH(_ifv, _trunk) \ argument
144 for (_i = 0; _i < (1 << (_trunk)->hwidth); _i++) \
145 CK_SLIST_FOREACH_SAFE((_ifv), &(_trunk)->hash[_i], ifv_list, _next)
155 #define VLAN_FOREACH_UNTIL_SAFE(_ifv, _trunk, _cond) \ argument
158 if (((_ifv) = (_trunk)->vlans[_i]))
168 #define VLAN_FOREACH_UNTIL_SAFE(_ifv, _trunk, _cond) \ argument
172 !(_cond) && _i < (1 << (_trunk)->hwidth); \
173 _i = (_touch && ((_trunk) != NULL) ? 0 : _i + 1), _touch = false) \
[all …]