|
gem5 [DEVELOP-FOR-25.0]
|
These methods relate to EthAddr, IpAddress, TCP, UDP interfaces. More...
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.
| 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.
|
inline |
|
inline |
Definition at line 116 of file inet.hh.
References data, and gem5::ArmISA::i.
Referenced by 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 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 __tu_cksum(), __tu_cksum6(), and panic.
| uint16_t gem5::networking::cksum | ( | const UdpPtr & | udp | ) |
Definition at line 249 of file inet.cc.
References __tu_cksum(), __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 | ) |
| 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 |
Definition at line 203 of file inet.hh.
Referenced by operator=().
|
inline |
|
inline |
Definition at line 398 of file inet.hh.
References eth_hdr_vlan, and 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 _ip.
Referenced by gem5::networking::operator==(), gem5::networking::operator==(), and gem5::networking::operator==().
|
inline |
Definition at line 513 of file inet.hh.
References eth_hdr_vlan, and p.
Referenced by Ip6Ptr(), operator=(), operator=(), and operator=().
|
inline |
Definition at line 514 of file inet.hh.
References eth_hdr_vlan, p, and gem5::ArmISA::set.
|
inline |
Definition at line 515 of file inet.hh.
References eth_hdr_vlan, gem5::networking::EthPtr::p, p, and gem5::ArmISA::set.
|
inline |
Definition at line 516 of file inet.hh.
References eth_hdr_vlan, Ip6Ptr(), and p.
|
inline |
Definition at line 246 of file inet.hh.
References _ip.
Referenced by gem5::networking::IpNetmask::IpNetmask(), gem5::networking::IpNetmask::IpNetmask(), gem5::networking::IpWithPort::IpWithPort(), and gem5::networking::IpWithPort::IpWithPort().
|
inline |
|
inline |
Definition at line 383 of file inet.hh.
References eth_hdr_vlan, and p.
Referenced by IpPtr(), operator=(), operator=(), and operator=().
|
inline |
Definition at line 384 of file inet.hh.
References eth_hdr_vlan, p, and gem5::ArmISA::set.
|
inline |
Definition at line 385 of file inet.hh.
References eth_hdr_vlan, gem5::networking::EthPtr::p, p, and gem5::ArmISA::set.
|
inline |
Definition at line 386 of file inet.hh.
References eth_hdr_vlan, IpPtr(), and p.
|
inline |
Definition at line 115 of file inet.hh.
References broadcast(), and unicast().
Referenced by gem5::EtherSwitch::Interface::recvPacket(), and gem5::NSGigE::rxFilter().
|
inline |
Definition at line 286 of file inet.hh.
References _netmask.
Referenced by gem5::networking::operator<<(), and gem5::networking::operator==().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 135 of file inet.hh.
References data, and gem5::X86ISA::reg.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| 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 | ) |
|
inline |
|
inline |
Definition at line 534 of file inet.hh.
References Ip6Ptr(), and gem5::ArmISA::set.
Definition at line 536 of file inet.hh.
References Ip6Ptr(), gem5::networking::EthPtr::p, and gem5::ArmISA::set.
Definition at line 690 of file inet.hh.
References gem5::ArmISA::i, gem5::ArmISA::set, and TcpPtr().
Definition at line 692 of file inet.hh.
References gem5::ArmISA::set, gem5::ArmISA::t, and TcpPtr().
Definition at line 803 of file inet.hh.
References gem5::ArmISA::i, gem5::ArmISA::set, and UdpPtr().
Definition at line 804 of file inet.hh.
References gem5::ArmISA::set, gem5::ArmISA::t, and UdpPtr().
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 314 of file inet.hh.
References _port.
Referenced by gem5::networking::operator<<(), and gem5::networking::operator==().
|
inline |
|
inline |
Definition at line 551 of file inet.hh.
References get(), 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.
Referenced by gem5::networking::TcpPtr::set(), and gem5::networking::UdpPtr::set().
|
inline |
Definition at line 705 of file inet.hh.
References get(), off(), and gem5::networking::TcpHdr::size().
|
inline |
Definition at line 817 of file inet.hh.
References get(), off(), and gem5::networking::UdpHdr::size().
Referenced by gem5::networking::hsplit().
|
inline |
Definition at line 672 of file inet.hh.
Referenced by operator=(), operator=(), and TcpPtr().
|
inline |
Definition at line 674 of file inet.hh.
References _off, p, and gem5::ArmISA::set.
|
inline |
Definition at line 673 of file inet.hh.
References _off, p, and gem5::ArmISA::set.
|
inline |
|
inline |
Definition at line 785 of file inet.hh.
Referenced by operator=(), operator=(), and UdpPtr().
|
inline |
Definition at line 114 of file inet.hh.
References data.
Referenced by multicast(), and gem5::NSGigE::rxFilter().