Lines Matching defs:off
72 int off;
78 off = -1;
80 off = radiotap_offset(th, n_tx_v, IEEE80211_RADIOTAP_CHANNEL);
82 off = radiotap_offset(th, n_tx_v, IEEE80211_RADIOTAP_XCHANNEL);
83 if (off == -1) {
88 ic->ic_txchan = ((uint8_t *) th) + off;
94 off = -1;
96 off = radiotap_offset(rh, n_rx_v, IEEE80211_RADIOTAP_CHANNEL);
98 off = radiotap_offset(rh, n_rx_v, IEEE80211_RADIOTAP_XCHANNEL);
99 if (off == -1) {
104 ic->ic_rxchan = ((uint8_t *) rh) + off;
349 int off, i;
351 off = sizeof(struct ieee80211_radiotap_header);
352 off += n_vendor_attributes * (sizeof(uint32_t));
362 off = roundup2(off, items[i].align);
364 if (off + items[i].width > le16toh(rh->it_len)) {
367 "off %d width %zu len %d\n", __func__, i,
368 off, items[i].width, le16toh(rh->it_len));
371 return off;
373 off += items[i].width;