Functions | |
std::tuple< const ether_header *, std::string > | checkFrameHeader (span< const uint8_t > packet, const Address &localAddr, const Address &destAddr) |
std::tuple< const ether_header *, std::string > nfd::ethernet::checkFrameHeader | ( | span< const uint8_t > | packet, |
const Address & | localAddr, | ||
const Address & | destAddr | ||
) |
Definition at line 34 of file ethernet-protocol.cpp.
References ndn::ethernet::ETHERTYPE_NDN, ndn::ethernet::HDR_LEN, ndn::ethernet::MIN_DATA_LEN, ndn::to_string(), and ndn::ethernet::Address::toString().
Referenced by nfd::face::EthernetTransport::doClose(), and nfd::face::EthernetChannel::listen().