Functions | |
std::pair< const ether_header *, std::string > | checkFrameHeader (const uint8_t *packet, size_t length, const Address &localAddr, const Address &destAddr) |
std::pair< const ether_header *, std::string > nfd::ethernet::checkFrameHeader | ( | const uint8_t * | packet, |
size_t | length, | ||
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().