Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c2130 ptrdiff_t tpos = offsetof(struct ether_vlan_header, ether_tci); in bridge_get_vlan() local
2142 if (mlen > tpos && mlen > 0) in bridge_get_vlan()
2144 tpos -= mlen; in bridge_get_vlan()
2149 tci = mp->b_rptr[tpos] << 8; in bridge_get_vlan()
2150 if (++tpos >= mlen) { in bridge_get_vlan()
2156 tpos = 0; in bridge_get_vlan()
2158 tci |= mp->b_rptr[tpos]; in bridge_get_vlan()