gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions | Variables
inet.hh File Reference
#include <iosfwd>
#include <string>
#include <utility>
#include <vector>
#include "base/types.hh"
#include "dev/net/etherpkt.hh"
#include "dnet/os.h"
#include "dnet/eth.h"
#include "dnet/ip.h"
#include "dnet/ip6.h"
#include "dnet/addr.h"
#include "dnet/arp.h"
#include "dnet/icmp.h"
#include "dnet/tcp.h"
#include "dnet/udp.h"
#include "dnet/intf.h"
#include "dnet/route.h"
#include "dnet/fw.h"
#include "dnet/blob.h"
#include "dnet/rand.h"

Go to the source code of this file.

Classes

struct  Net::EthAddr
 
struct  Net::EthHdr
 
class  Net::EthPtr
 
struct  Net::IpAddress
 
struct  Net::IpNetmask
 
struct  Net::IpWithPort
 
struct  Net::IpHdr
 
class  Net::IpPtr
 
struct  Net::IpOpt
 
struct  Net::Ip6Hdr
 
class  Net::Ip6Ptr
 
struct  Net::ip6_opt_fragment
 
struct  Net::ip6_opt_routing_type2
 
struct  Net::ip6_opt_dstopts
 
struct  Net::ip6_opt_hdr
 
struct  Net::Ip6Opt
 
struct  Net::TcpHdr
 
class  Net::TcpPtr
 
struct  Net::TcpOpt
 
struct  Net::UdpHdr
 
class  Net::UdpPtr
 

Namespaces

 Net
 

Macros

#define HOME_ADDRESS_OPTION   0xC9
 

Functions

std::ostream & Net::operator<< (std::ostream &stream, const EthAddr &ea)
 
bool Net::operator== (const EthAddr &left, const EthAddr &right)
 
std::ostream & Net::operator<< (std::ostream &stream, const IpAddress &ia)
 
bool Net::operator== (const IpAddress &left, const IpAddress &right)
 
std::ostream & Net::operator<< (std::ostream &stream, const IpNetmask &in)
 
bool Net::operator== (const IpNetmask &left, const IpNetmask &right)
 
std::ostream & Net::operator<< (std::ostream &stream, const IpWithPort &iwp)
 
bool Net::operator== (const IpWithPort &left, const IpWithPort &right)
 
uint16_t Net::cksum (const IpPtr &ptr)
 
struct Net::ip6_opt_dstopts Net::__attribute__ ((packed))
 
uint16_t Net::cksum (const TcpPtr &tcp)
 
uint16_t Net::__tu_cksum6 (const Ip6Ptr &ip6)
 
uint16_t Net::__tu_cksum (const IpPtr &ip)
 
uint16_t Net::cksum (const UdpPtr &udp)
 
int Net::hsplit (const EthPacketPtr &ptr)
 

Variables

uint8_t type = NOMALI_CALLBACK_INT
 
uint8_t length
 
ip6_addr_t addr
 
uint8_t ext_nxt
 
uint8_t ext_len
 
union {
   struct ip6_opt_fragment   fragment
 
   struct ip6_opt_routing_type2   rtType2
 
   struct ip6_opt_dstopts   dstOpts
 
ext_data
 
Net::Ip6Opt Net::__attribute__
 

Macro Definition Documentation

#define HOME_ADDRESS_OPTION   0xC9

Definition at line 463 of file inet.hh.

Variable Documentation

ip6_addr_t addr

Definition at line 335 of file inet.hh.

Referenced by PhysicalMemory::access(), System::addFuncEvent(), addressToInt(), DRAMCtrl::addToReadQueue(), DRAMCtrl::addToWriteQueue(), Cache::allocateBlock(), archPrctlFunc(), MipsProcess::argsInit(), bitRemove(), AbstractController::blockOnQueue(), HsailISA::Call::calcAddr(), Packet::checkFunctional(), BaseRemoteGDB::cmd_clr_hw_bkpt(), BaseRemoteGDB::cmd_mem_r(), BaseRemoteGDB::cmd_mem_w(), BaseRemoteGDB::cmd_set_hw_bkpt(), Linux::ThreadInfo::curTaskInfo(), Linux::ThreadInfo::curThreadInfo(), DRAMCtrl::decodeAddr(), IdeController::dispatchAccess(), Trace::IntelTraceRecord::dump(), ProfileNode::dump(), HsailISA::LdaInst< DestDataType, AddrOperandType >::execute(), HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >::execute(), HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >::execute(), HsailISA::AtomicInst< MemDataType, AddrOperandType, NumSrcOperands, HasDst >::execute(), RiscvSystem::fixFuncEventAddr(), MipsSystem::fixFuncEventAddr(), X86System::fixFuncEventAddr(), AlphaSystem::fixFuncEventAddr(), SparcSystem::fixFuncEventAddr(), ArmSystem::fixFuncEventAddr(), AlphaISA::TLB::flushAddr(), Gicv2m::frameFromAddr(), PhysicalMemory::functionalAccess(), RubySystem::functionalWrite(), HsailISA::LdaInst< DestDataType, AddrOperandType >::generateDisassembly(), HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >::generateDisassembly(), HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >::generateDisassembly(), HsailISA::AtomicInst< MemDataType, AddrOperandType, NumSrcOperands, HasDst >::generateDisassembly(), Linux::ThreadInfo::get_data(), Gicv2m::getAddrRanges(), CallArgMem::getLaneAddr(), RandomGen::getNextPacket(), Cache::handleFill(), PacketQueue::hasAddr(), AlphaSystem::initState(), ArmLinuxProcess32::initState(), FreebsdArmSystem::initState(), LinuxArmSystem::initState(), LinuxAlphaSystem::initState(), AlphaISA::TLB::insert(), BaseSetAssoc::insertBlock(), BaseRemoteGDB::insertHardBreak(), intToAddress(), VIPERCoalescer::invL1(), VIPERCoalescer::invwbL1(), SymbolTable::load(), ObjectFile::loadSection(), PseudoInst::loadsymbol(), ArmISA::MacroMemOp::MacroMemOp(), ArmISA::MacroVFPMemOp::MacroVFPMemOp(), BasePrefetcher::observeAccess(), ArmISA::ProcessInfo::ProcessInfo(), AlphaISA::ProcessInfo::ProcessInfo(), ArmISA::purifyTaggedAddr(), NoMaliGpu::read(), VGic::read(), GenericTimerMem::read(), Pl390::read(), MC146818::readData(), AtomicSimpleCPU::readMem(), CheckerCPU::readMem(), MessageBuffer::reanalyzeMessages(), MemCheckerMonitor::recvFunctional(), MemCheckerMonitor::recvFunctionalSnoop(), MemCheckerMonitor::recvTimingReq(), CoherentXBar::recvTimingReq(), MemCheckerMonitor::recvTimingResp(), RealViewCtrl::registerDevice(), RangeAddrMapper::remapAddr(), SubBlock::setAddress(), AccessTraceForAddress::setAddress(), VirtQueue::VirtRing< struct vring_used_elem >::setAddress(), AlphaSystem::setAlphaAccess(), LinuxAlphaSystem::setDelayLoop(), setThreadAreaFunc(), LinuxAlphaSystem::setupFuncEvents(), BaseDynInst< Impl >::splitRequest(), AbstractController::stallBuffer(), MessageBuffer::stallMessage(), StoreTrace::StoreTrace(), SubBlock::SubBlock(), AlphaISA::StackTrace::trace(), Trace::ExeTracerRecord::traceInst(), SETranslatingPortProxy::tryReadString(), SETranslatingPortProxy::tryWriteString(), SymbolTable::unserialize(), X86ISA::vtophys(), SparcISA::vtophys(), AlphaISA::vtophys(), AbstractController::wakeUpAllBuffers(), AbstractController::wakeUpBuffers(), VIPERCoalescer::wbL1(), NoMaliGpu::write(), VGic::write(), GenericTimerMem::write(), Pl390::write(), Wavefront::writeCallArgMem(), MC146818::writeData(), AtomicSimpleCPU::writeMem(), and CheckerCPU::writeMem().

struct ip6_opt_dstopts dstOpts

Definition at line 338 of file inet.hh.

union { ... } ext_data
uint8_t ext_len

Definition at line 334 of file inet.hh.

uint8_t ext_nxt

Definition at line 333 of file inet.hh.

struct ip6_opt_fragment fragment
uint8_t length
struct ip6_opt_routing_type2 rtType2

Definition at line 337 of file inet.hh.

cbk_rst type = NOMALI_CALLBACK_INT

Definition at line 333 of file inet.hh.


Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6