gem5
|
Classes | |
struct | EthAddr |
struct | EthHdr |
class | EthPtr |
struct | IpAddress |
struct | IpNetmask |
struct | IpWithPort |
struct | IpHdr |
class | IpPtr |
struct | IpOpt |
struct | Ip6Hdr |
class | Ip6Ptr |
struct | ip6_opt_fragment |
struct | ip6_opt_routing_type2 |
struct | ip6_opt_dstopts |
struct | ip6_opt_hdr |
struct | Ip6Opt |
struct | TcpHdr |
class | TcpPtr |
struct | TcpOpt |
struct | UdpHdr |
class | UdpPtr |
Functions | |
bool | operator== (const EthAddr &left, const EthAddr &right) |
ostream & | operator<< (ostream &stream, const EthAddr &ea) |
bool | operator== (const IpAddress &left, const IpAddress &right) |
ostream & | operator<< (ostream &stream, const IpAddress &ia) |
bool | operator== (const IpNetmask &left, const IpNetmask &right) |
ostream & | operator<< (ostream &stream, const IpNetmask &in) |
bool | operator== (const IpWithPort &left, const IpWithPort &right) |
ostream & | operator<< (ostream &stream, const IpWithPort &iwp) |
uint16_t | cksum (const IpPtr &ptr) |
uint16_t | __tu_cksum (const IpPtr &ip) |
uint16_t | __tu_cksum6 (const Ip6Ptr &ip6) |
uint16_t | cksum (const TcpPtr &tcp) |
uint16_t | cksum (const UdpPtr &udp) |
int | hsplit (const EthPacketPtr &ptr) |
std::ostream & | operator<< (std::ostream &stream, const EthAddr &ea) |
std::ostream & | operator<< (std::ostream &stream, const IpAddress &ia) |
std::ostream & | operator<< (std::ostream &stream, const IpNetmask &in) |
std::ostream & | operator<< (std::ostream &stream, const IpWithPort &iwp) |
struct Net::ip6_opt_dstopts | __attribute__ ((packed)) |
Variables | |
Net::Ip6Opt | __attribute__ |
struct Net::ip6_opt_dstopts Net::__attribute__ | ( | (packed) | ) |
uint16_t Net::__tu_cksum | ( | const IpPtr & | ip | ) |
Definition at line 214 of file inet.cc.
References Net::IpHdr::hlen(), Net::IpHdr::len(), Net::IpHdr::payload(), and Stats::sum().
Referenced by cksum().
uint16_t Net::__tu_cksum6 | ( | const Ip6Ptr & | ip6 | ) |
Definition at line 224 of file inet.cc.
References Net::Ip6Hdr::extensionLength(), Net::Ip6Hdr::payload(), Net::Ip6Hdr::plen(), Net::Ip6Hdr::proto(), Net::Ip6Hdr::src(), and Stats::sum().
Referenced by cksum().
uint16_t Net::cksum | ( | const IpPtr & | ptr | ) |
Definition at line 207 of file inet.cc.
References Net::IpHdr::bytes(), Net::IpHdr::hlen(), and Stats::sum().
Referenced by IGbE::RxDescCache::pktComplete(), IGbE::TxDescCache::pktComplete(), Sinic::Device::rxKick(), NSGigE::rxKick(), Sinic::Device::txKick(), and NSGigE::txKick().
uint16_t Net::cksum | ( | const TcpPtr & | tcp | ) |
Definition at line 234 of file inet.cc.
References __tu_cksum(), __tu_cksum6(), and Net::TcpPtr::packet().
uint16_t Net::cksum | ( | const UdpPtr & | udp | ) |
Definition at line 248 of file inet.cc.
References __tu_cksum(), __tu_cksum6(), and Net::UdpPtr::packet().
int Net::hsplit | ( | const EthPacketPtr & | ptr | ) |
Definition at line 379 of file inet.cc.
References iGbReg::TxdOp::ip(), MipsISA::ip6, Net::IpPtr::pstart(), Net::Ip6Ptr::pstart(), Net::TcpPtr::pstart(), Net::UdpPtr::pstart(), and iGbReg::TxdOp::tcp().
Referenced by IGbE::RxDescCache::writePacket().
std::ostream& Net::operator<< | ( | std::ostream & | stream, |
const EthAddr & | ea | ||
) |
ostream& Net::operator<< | ( | ostream & | stream, |
const EthAddr & | ea | ||
) |
Definition at line 132 of file inet.cc.
References ArmISA::a, Net::EthAddr::addr(), and ccprintf().
ostream& Net::operator<< | ( | ostream & | stream, |
const IpAddress & | ia | ||
) |
Definition at line 154 of file inet.cc.
References ccprintf(), Net::IpAddress::ip(), and iGbReg::TxdOp::ip().
ostream& Net::operator<< | ( | ostream & | stream, |
const IpNetmask & | in | ||
) |
Definition at line 179 of file inet.cc.
References ccprintf().
ostream& Net::operator<< | ( | ostream & | stream, |
const IpWithPort & | iwp | ||
) |
Definition at line 200 of file inet.cc.
References ccprintf().
std::ostream& Net::operator<< | ( | std::ostream & | stream, |
const IpAddress & | ia | ||
) |
std::ostream& Net::operator<< | ( | std::ostream & | stream, |
const IpNetmask & | in | ||
) |
std::ostream& Net::operator<< | ( | std::ostream & | stream, |
const IpWithPort & | iwp | ||
) |
bool Net::operator== | ( | const EthAddr & | left, |
const EthAddr & | right | ||
) |
Definition at line 126 of file inet.cc.
References Net::EthAddr::bytes().
bool Net::operator== | ( | const IpAddress & | left, |
const IpAddress & | right | ||
) |
Definition at line 148 of file inet.cc.
References Net::IpAddress::ip().
bool Net::operator== | ( | const IpNetmask & | left, |
const IpNetmask & | right | ||
) |
Definition at line 172 of file inet.cc.
References Net::IpAddress::ip(), and Net::IpNetmask::netmask().
bool Net::operator== | ( | const IpWithPort & | left, |
const IpWithPort & | right | ||
) |
Definition at line 194 of file inet.cc.
References Net::IpAddress::ip(), and Net::IpWithPort::port().
struct Net::ip6_opt_hdr Net::__attribute__ |