NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ethernet-protocol.cpp File Reference
#include "ethernet-protocol.hpp"
#include <arpa/inet.h>
Include dependency graph for ethernet-protocol.cpp:

Go to the source code of this file.

Namespaces

 nfd
 Copyright (c) 2011-2015 Regents of the University of California.
 
 nfd::ethernet
 

Functions

std::pair< const ether_header *, std::string > nfd::ethernet::checkFrameHeader (const uint8_t *packet, size_t length, const Address &localAddr, const Address &destAddr)