gem5 v24.0.0.0
|
These methods relate to EthAddr, IpAddress, TCP, UDP interfaces.
uint16_t gem5::networking::__tu_cksum | ( | const IpPtr & | ip | ) |
Definition at line 215 of file inet.cc.
References gem5::RiscvISA::sum.
Referenced by gem5::networking::cksum(), and gem5::networking::cksum().
uint16_t gem5::networking::__tu_cksum6 | ( | const Ip6Ptr & | ip6 | ) |
Definition at line 225 of file inet.cc.
References gem5::MipsISA::ip6, and gem5::RiscvISA::sum.
Referenced by gem5::networking::cksum(), and gem5::networking::cksum().
|
inline |
Definition at line 113 of file inet.hh.
References data.
Referenced by gem5::networking::EthAddr::EthAddr(), gem5::networking::EthAddr::operator=(), and gem5::networking::EthAddr::parse().
|
inline |
Definition at line 116 of file inet.hh.
References data, and gem5::ArmISA::i.
Referenced by gem5::networking::EthAddr::multicast(), gem5::EtherSwitch::Interface::recvPacket(), and gem5::NSGigE::rxFilter().
|
inline |
|
inline |
Definition at line 105 of file inet.hh.
References data.
Referenced by gem5::networking::operator==(), and gem5::networking::EthAddr::parse().
uint16_t gem5::networking::cksum | ( | const IpPtr & | ptr | ) |
Definition at line 208 of file inet.cc.
References gem5::networking::IpHdr::bytes(), gem5::networking::IpHdr::hlen(), and gem5::RiscvISA::sum.
Referenced by gem5::IGbE::RxDescCache::pktComplete(), gem5::IGbE::TxDescCache::pktComplete(), gem5::NSGigE::rxKick(), gem5::sinic::Device::rxKick(), gem5::NSGigE::txKick(), and gem5::sinic::Device::txKick().
uint16_t gem5::networking::cksum | ( | const TcpPtr & | tcp | ) |
Definition at line 235 of file inet.cc.
References gem5::networking::__tu_cksum(), gem5::networking::__tu_cksum6(), and panic.
uint16_t gem5::networking::cksum | ( | const UdpPtr & | udp | ) |
Definition at line 249 of file inet.cc.
References gem5::networking::__tu_cksum(), gem5::networking::__tu_cksum6(), gem5::networking::UdpPtr::packet(), and panic.
gem5::networking::EthAddr::EthAddr | ( | const eth_addr & | ea | ) |
Definition at line 71 of file inet.cc.
References data, gem5::ArmISA::ea, and gem5::ArmISA::i.
gem5::networking::EthAddr::EthAddr | ( | const std::string & | addr | ) |
Definition at line 77 of file inet.cc.
References gem5::networking::EthAddr::addr(), and gem5::networking::EthAddr::parse().
gem5::networking::EthAddr::EthAddr | ( | const uint8_t | ea[ETH_ADDR_LEN] | ) |
Definition at line 65 of file inet.cc.
References data, gem5::ArmISA::ea, and gem5::ArmISA::i.
|
inline |
|
inline |
Definition at line 398 of file inet.hh.
References gem5::networking::IpPtr::eth_hdr_vlan, and gem5::networking::IpPtr::p.
int gem5::networking::hsplit | ( | const EthPacketPtr & | ptr | ) |
Definition at line 386 of file inet.cc.
References gem5::MipsISA::ip6, and gem5::networking::UdpPtr::pstart().
Referenced by gem5::IGbE::RxDescCache::writePacket().
|
inline |
Definition at line 255 of file inet.hh.
References gem5::networking::IpAddress::_ip.
Referenced by gem5::networking::operator==(), gem5::networking::operator==(), and gem5::networking::operator==().
|
inline |
Definition at line 514 of file inet.hh.
References gem5::ArmISA::set.
|
inline |
Definition at line 515 of file inet.hh.
References gem5::networking::EthPtr::p, and gem5::ArmISA::set.
|
inline |
|
inline |
|
inline |
Definition at line 384 of file inet.hh.
References gem5::ArmISA::set.
|
inline |
Definition at line 385 of file inet.hh.
References gem5::networking::EthPtr::p, and gem5::ArmISA::set.
|
inline |
Definition at line 115 of file inet.hh.
References gem5::networking::EthAddr::broadcast(), and gem5::networking::EthAddr::unicast().
Referenced by gem5::EtherSwitch::Interface::recvPacket(), and gem5::NSGigE::rxFilter().
|
inline |
Definition at line 286 of file inet.hh.
References gem5::networking::IpNetmask::_netmask.
Referenced by gem5::networking::operator<<(), and gem5::networking::operator==().
|
inline |
Definition at line 228 of file inet.hh.
Referenced by gem5::networking::EthPtr::pstart().
|
inline |
Definition at line 550 of file inet.hh.
References gem5::networking::Ip6Ptr::eth_hdr_vlan.
Referenced by gem5::networking::Ip6Ptr::pstart().
|
inline |
Definition at line 417 of file inet.hh.
References gem5::networking::IpPtr::eth_hdr_vlan.
Referenced by gem5::networking::IpPtr::pstart().
|
inline |
Definition at line 704 of file inet.hh.
References gem5::networking::TcpPtr::_off.
Referenced by gem5::networking::TcpPtr::pstart().
|
inline |
Definition at line 816 of file inet.hh.
References gem5::networking::UdpPtr::_off.
Referenced by gem5::networking::UdpPtr::pstart().
|
inline |
Definition at line 227 of file inet.hh.
References gem5::networking::EthPtr::p.
|
inline |
Definition at line 549 of file inet.hh.
References gem5::networking::Ip6Ptr::p.
|
inline |
Definition at line 416 of file inet.hh.
References gem5::networking::IpPtr::p.
|
inline |
Definition at line 703 of file inet.hh.
References gem5::networking::TcpPtr::p.
|
inline |
Definition at line 815 of file inet.hh.
References gem5::networking::UdpPtr::p.
|
inline |
Definition at line 135 of file inet.hh.
References data, and gem5::X86ISA::reg.
|
inline |
Definition at line 226 of file inet.hh.
References gem5::networking::EthPtr::p.
|
inline |
Definition at line 548 of file inet.hh.
References gem5::networking::Ip6Ptr::p.
|
inline |
Definition at line 415 of file inet.hh.
References gem5::networking::IpPtr::p.
|
inline |
Definition at line 702 of file inet.hh.
References gem5::networking::TcpPtr::p.
|
inline |
Definition at line 814 of file inet.hh.
References gem5::networking::UdpPtr::p.
|
inline |
Definition at line 402 of file inet.hh.
References gem5::networking::IpPtr::get().
|
inline |
Definition at line 401 of file inet.hh.
References gem5::networking::IpPtr::get().
std::ostream & gem5::networking::operator<< | ( | std::ostream & | stream, |
const EthAddr & | ea ) |
Definition at line 132 of file inet.cc.
References gem5::ArmISA::a, gem5::ccprintf(), and gem5::ArmISA::ea.
std::ostream & gem5::networking::operator<< | ( | std::ostream & | stream, |
const IpAddress & | ia ) |
Definition at line 154 of file inet.cc.
References gem5::ccprintf(), and gem5::MipsISA::ia.
std::ostream & gem5::networking::operator<< | ( | std::ostream & | stream, |
const IpNetmask & | in ) |
Definition at line 179 of file inet.cc.
References gem5::ccprintf(), and gem5::networking::IpNetmask::netmask().
std::ostream & gem5::networking::operator<< | ( | std::ostream & | stream, |
const IpWithPort & | iwp ) |
Definition at line 200 of file inet.cc.
References gem5::ccprintf(), and gem5::networking::IpWithPort::port().
const EthAddr & gem5::networking::EthAddr::operator= | ( | const eth_addr & | ea | ) |
Definition at line 83 of file inet.cc.
References data, and gem5::ArmISA::ea.
const EthAddr & gem5::networking::EthAddr::operator= | ( | const std::string & | addr | ) |
Definition at line 90 of file inet.cc.
References gem5::networking::EthAddr::addr(), and gem5::networking::EthAddr::parse().
|
inline |
Definition at line 218 of file inet.hh.
References gem5::networking::EthPtr::p.
|
inline |
Definition at line 534 of file inet.hh.
References gem5::ArmISA::set.
Definition at line 536 of file inet.hh.
References gem5::networking::EthPtr::p, and gem5::ArmISA::set.
Definition at line 538 of file inet.hh.
References gem5::networking::Ip6Ptr::p.
Definition at line 690 of file inet.hh.
References gem5::ArmISA::i, and gem5::ArmISA::set.
Definition at line 692 of file inet.hh.
References gem5::ArmISA::set, and gem5::ArmISA::t.
Definition at line 803 of file inet.hh.
References gem5::ArmISA::i, and gem5::ArmISA::set.
Definition at line 804 of file inet.hh.
References gem5::ArmISA::set, and gem5::ArmISA::t.
Definition at line 127 of file inet.cc.
References gem5::networking::EthAddr::bytes().
Definition at line 149 of file inet.cc.
References gem5::networking::IpAddress::ip().
Definition at line 173 of file inet.cc.
References gem5::networking::IpAddress::ip(), and gem5::networking::IpNetmask::netmask().
bool gem5::networking::operator== | ( | const IpWithPort & | left, |
const IpWithPort & | right ) |
Definition at line 195 of file inet.cc.
References gem5::networking::IpAddress::ip(), and gem5::networking::IpWithPort::port().
|
inline |
Definition at line 225 of file inet.hh.
References gem5::networking::EthPtr::p.
|
inline |
Definition at line 224 of file inet.hh.
References gem5::networking::EthPtr::p.
|
inline |
Definition at line 547 of file inet.hh.
References gem5::networking::Ip6Ptr::p.
|
inline |
Definition at line 546 of file inet.hh.
References gem5::networking::Ip6Ptr::p.
|
inline |
Definition at line 414 of file inet.hh.
References gem5::networking::IpPtr::p.
|
inline |
Definition at line 413 of file inet.hh.
References gem5::networking::IpPtr::p.
|
inline |
Definition at line 701 of file inet.hh.
References gem5::networking::TcpPtr::p.
|
inline |
Definition at line 700 of file inet.hh.
References gem5::networking::TcpPtr::p.
|
inline |
Definition at line 813 of file inet.hh.
References gem5::networking::UdpPtr::p.
|
inline |
Definition at line 812 of file inet.hh.
References gem5::networking::UdpPtr::p.
Referenced by gem5::networking::cksum().
|
inline |
Definition at line 314 of file inet.hh.
References gem5::networking::IpWithPort::_port.
Referenced by gem5::networking::operator<<(), and gem5::networking::operator==().
|
inline |
Definition at line 229 of file inet.hh.
References gem5::networking::EthPtr::off(), and gem5::networking::EthPtr::p.
|
inline |
Definition at line 551 of file inet.hh.
References gem5::networking::Ip6Ptr::get(), gem5::networking::Ip6Ptr::off(), and gem5::networking::Ip6Hdr::size().
Referenced by gem5::networking::TcpPtr::set(), and gem5::networking::UdpPtr::set().
|
inline |
Definition at line 418 of file inet.hh.
References gem5::networking::IpPtr::get(), and gem5::networking::IpPtr::off().
Referenced by gem5::networking::TcpPtr::set(), and gem5::networking::UdpPtr::set().
|
inline |
Definition at line 705 of file inet.hh.
References gem5::networking::TcpPtr::get(), gem5::networking::TcpPtr::off(), and gem5::networking::TcpHdr::size().
|
inline |
Definition at line 817 of file inet.hh.
References gem5::networking::UdpPtr::get(), gem5::networking::UdpPtr::off(), and gem5::networking::UdpHdr::size().
Referenced by gem5::networking::hsplit().
|
inline |
Definition at line 674 of file inet.hh.
References gem5::ArmISA::set.
|
inline |
Definition at line 673 of file inet.hh.
References gem5::ArmISA::set.
|
inline |
|
inline |
Definition at line 114 of file inet.hh.
References data.
Referenced by gem5::networking::EthAddr::multicast(), and gem5::NSGigE::rxFilter().