Searched refs:fwd (Results 1 – 2 of 2) sorted by relevance
151 auto fwd = reinterpret_cast<WifiForwardHeader*>(mBuffer.data()); in receive() local152 if (__le32_to_cpu(fwd->magic) != kWifiForwardMagic) { in receive()180 if (fwd->version != kWifiForwardVersion) { in receive()182 if (!mReportedVersionMismatches.test(fwd->version)) { in receive()186 fwd->version); in receive()187 mReportedVersionMismatches.set(fwd->version); in receive()194 const uint32_t fullLength = __le32_to_cpu(fwd->fullLength); in receive()195 const uint16_t offset = __le16_to_cpu(fwd->dataOffset); in receive()212 FrameType type = frameTypeFromByte(fwd->type); in receive()219 FrameInfo info(fwd->transmitter, in receive()[all …]
306 auto fwd = reinterpret_cast<WifiForwardHeader*>(mMonitorBuffer.data()); in injectFromPipe() local307 if (__le32_to_cpu(fwd->magic) != kWifiForwardMagic) { in injectFromPipe()337 const size_t fullLength = __le32_to_cpu(fwd->fullLength); in injectFromPipe()339 const size_t radioLength = __le32_to_cpu(fwd->radioLength); in injectFromPipe()341 unsigned char* radioTapLocation = mMonitorBuffer.data() + sizeof(*fwd); in injectFromPipe()