Searched refs:WifiForwardHeader (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish/network/wifi_forwarder/ |
D | remote_connection.cpp | 41 struct WifiForwardHeader { struct 42 WifiForwardHeader(FrameType type, const MacAddress& transmitter, in WifiForwardHeader() function 50 , dataOffset(sizeof(WifiForwardHeader)) in WifiForwardHeader() 150 while (mBuffer.size() >= sizeof(WifiForwardHeader)) { in receive() 151 auto fwd = reinterpret_cast<WifiForwardHeader*>(mBuffer.data()); in receive() 196 if (offset < sizeof(WifiForwardHeader) || offset > fullLength) { in receive() 256 WifiForwardHeader header(FrameType::Data, in sendFrame() 258 frame->size() + sizeof(WifiForwardHeader), in sendFrame() 317 WifiForwardHeader header(FrameType::Ack, in ackFrame() 319 sizeof(WifiForwardHeader), in ackFrame()
|
/device/generic/goldfish/network/netmgr/ |
D | wifi_forwarder.cpp | 45 struct WifiForwardHeader { struct 46 WifiForwardHeader(uint32_t dataLength, uint32_t radioLength) in WifiForwardHeader() argument 48 , fullLength(__cpu_to_le32(dataLength + sizeof(WifiForwardHeader))) in WifiForwardHeader() 252 WifiForwardHeader forwardHeader(header->caplen, radioLen); in forwardFromPcap() 305 sizeof(WifiForwardHeader) + sizeof(RadioTapHeader)) { in injectFromPipe() 306 auto fwd = reinterpret_cast<WifiForwardHeader*>(mMonitorBuffer.data()); in injectFromPipe() 338 const size_t payloadLength = fullLength - sizeof(WifiForwardHeader); in injectFromPipe()
|