gem5
v20.1.0.0
|
These methods relate to EthAddr, IpAddress, TCP, UDP interfaces. More...
These methods relate to EthAddr, IpAddress, TCP, UDP interfaces.
uint16_t Net::__tu_cksum | ( | const IpPtr & | ip | ) |
Definition at line 211 of file inet.cc.
References iGbReg::TxdOp::ip(), and RiscvISA::sum.
Referenced by Net::cksum().
uint16_t Net::__tu_cksum6 | ( | const Ip6Ptr & | ip6 | ) |
Definition at line 221 of file inet.cc.
References MipsISA::ip6, and RiscvISA::sum.
Referenced by Net::cksum().
|
inline |
|
inline |
Definition at line 111 of file inet.hh.
References data, and ArmISA::i.
Referenced by Net::EthAddr::multicast(), EtherSwitch::Interface::recvPacket(), and NSGigE::rxFilter().
|
inline |
uint16_t Net::cksum | ( | const IpPtr & | ptr | ) |
Definition at line 204 of file inet.cc.
References Net::IpHdr::bytes(), Net::IpHdr::hlen(), and RiscvISA::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 231 of file inet.cc.
References Net::__tu_cksum(), Net::__tu_cksum6(), panic, and iGbReg::TxdOp::tcp().
uint16_t Net::cksum | ( | const UdpPtr & | udp | ) |
Definition at line 245 of file inet.cc.
References Net::__tu_cksum(), Net::__tu_cksum6(), Net::UdpPtr::packet(), and panic.
Net::EthAddr::EthAddr | ( | const eth_addr & | ea | ) |
Definition at line 67 of file inet.cc.
References data, ArmISA::ea, and ArmISA::i.
Net::EthAddr::EthAddr | ( | const std::string & | addr | ) |
Net::EthAddr::EthAddr | ( | const uint8_t | ea[ETH_ADDR_LEN] | ) |
Definition at line 61 of file inet.cc.
References data, ArmISA::ea, and ArmISA::i.
|
inline |
|
inline |
Definition at line 393 of file inet.hh.
References Net::IpPtr::eth_hdr_vlan, and Net::IpPtr::p.
int Net::hsplit | ( | const EthPacketPtr & | ptr | ) |
Definition at line 376 of file inet.cc.
References iGbReg::TxdOp::ip(), MipsISA::ip6, Net::UdpPtr::pstart(), and iGbReg::TxdOp::tcp().
Referenced by IGbE::RxDescCache::writePacket().
|
inline |
Definition at line 250 of file inet.hh.
References Net::IpAddress::_ip.
Referenced by Net::operator==().
|
inline |
Definition at line 509 of file inet.hh.
References Net::Ip6Ptr::set().
|
inline |
Definition at line 510 of file inet.hh.
References Net::EthPtr::p, and Net::Ip6Ptr::set().
|
inline |
Definition at line 379 of file inet.hh.
References Net::IpPtr::set().
|
inline |
Definition at line 380 of file inet.hh.
References Net::EthPtr::p, and Net::IpPtr::set().
|
inline |
Definition at line 110 of file inet.hh.
References Net::EthAddr::broadcast(), and Net::EthAddr::unicast().
Referenced by EtherSwitch::Interface::recvPacket(), and NSGigE::rxFilter().
|
inline |
Definition at line 281 of file inet.hh.
References Net::IpNetmask::_netmask.
Referenced by Net::operator==().
|
inline |
Definition at line 223 of file inet.hh.
Referenced by Net::EthPtr::pstart().
|
inline |
Definition at line 412 of file inet.hh.
References Net::IpPtr::eth_hdr_vlan.
Referenced by Net::IpPtr::pstart().
|
inline |
Definition at line 545 of file inet.hh.
References Net::Ip6Ptr::eth_hdr_vlan.
Referenced by Net::Ip6Ptr::pstart().
|
inline |
Definition at line 696 of file inet.hh.
References Net::TcpPtr::_off.
Referenced by Net::TcpPtr::pstart().
|
inline |
Definition at line 808 of file inet.hh.
References Net::UdpPtr::_off.
Referenced by Net::UdpPtr::pstart().
|
inline |
Definition at line 222 of file inet.hh.
References Net::EthPtr::p.
|
inline |
Definition at line 411 of file inet.hh.
References Net::IpPtr::p.
|
inline |
Definition at line 544 of file inet.hh.
References Net::Ip6Ptr::p.
|
inline |
Definition at line 695 of file inet.hh.
References Net::TcpPtr::p.
|
inline |
Definition at line 807 of file inet.hh.
References Net::UdpPtr::p.
|
inline |
Definition at line 130 of file inet.hh.
References data, and X86ISA::reg.
|
inline |
Definition at line 221 of file inet.hh.
References Net::EthPtr::p.
|
inline |
Definition at line 410 of file inet.hh.
References Net::IpPtr::p.
|
inline |
Definition at line 543 of file inet.hh.
References Net::Ip6Ptr::p.
|
inline |
Definition at line 694 of file inet.hh.
References Net::TcpPtr::p.
|
inline |
Definition at line 806 of file inet.hh.
References Net::UdpPtr::p.
|
inline |
Definition at line 397 of file inet.hh.
References Net::IpPtr::get().
|
inline |
Definition at line 396 of file inet.hh.
References Net::IpPtr::get().
std::ostream& Net::operator<< | ( | std::ostream & | stream, |
const EthAddr & | ea | ||
) |
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 | ||
) |
const EthAddr & Net::EthAddr::operator= | ( | const eth_addr & | ea | ) |
Definition at line 79 of file inet.cc.
References data, and ArmISA::ea.
|
inline |
Definition at line 213 of file inet.hh.
References Net::EthPtr::p.
|
inline |
Definition at line 529 of file inet.hh.
References Net::Ip6Ptr::set().
Definition at line 531 of file inet.hh.
References Net::EthPtr::p, and Net::Ip6Ptr::set().
Definition at line 533 of file inet.hh.
References Net::Ip6Ptr::p.
Definition at line 682 of file inet.hh.
References ArmISA::i, and Net::TcpPtr::set().
Definition at line 795 of file inet.hh.
References ArmISA::i, and Net::UdpPtr::set().
const EthAddr & Net::EthAddr::operator= | ( | const std::string & | addr | ) |
Definition at line 684 of file inet.hh.
References Net::TcpPtr::set(), and ArmISA::t.
Definition at line 796 of file inet.hh.
References Net::UdpPtr::set(), and ArmISA::t.
Definition at line 123 of file inet.cc.
References Net::EthAddr::bytes().
Definition at line 145 of file inet.cc.
References Net::IpAddress::ip().
Definition at line 169 of file inet.cc.
References Net::IpAddress::ip(), and Net::IpNetmask::netmask().
bool Net::operator== | ( | const IpWithPort & | left, |
const IpWithPort & | right | ||
) |
Definition at line 191 of file inet.cc.
References Net::IpAddress::ip(), and Net::IpWithPort::port().
|
inline |
Definition at line 220 of file inet.hh.
References Net::EthPtr::p.
|
inline |
Definition at line 409 of file inet.hh.
References Net::IpPtr::p.
|
inline |
Definition at line 542 of file inet.hh.
References Net::Ip6Ptr::p.
|
inline |
Definition at line 693 of file inet.hh.
References Net::TcpPtr::p.
|
inline |
Definition at line 805 of file inet.hh.
References Net::UdpPtr::p.
|
inline |
Definition at line 219 of file inet.hh.
References Net::EthPtr::p.
|
inline |
Definition at line 408 of file inet.hh.
References Net::IpPtr::p.
|
inline |
Definition at line 541 of file inet.hh.
References Net::Ip6Ptr::p.
|
inline |
Definition at line 692 of file inet.hh.
References Net::TcpPtr::p.
|
inline |
|
inline |
Definition at line 309 of file inet.hh.
References Net::IpWithPort::_port.
Referenced by Net::operator==().
|
inline |
Definition at line 224 of file inet.hh.
References Net::EthPtr::off(), and Net::EthPtr::p.
|
inline |
Definition at line 413 of file inet.hh.
References Net::IpPtr::get(), and Net::IpPtr::off().
Referenced by Net::TcpPtr::set(), and Net::UdpPtr::set().
|
inline |
Definition at line 546 of file inet.hh.
References Net::Ip6Ptr::get(), Net::Ip6Ptr::off(), and Net::Ip6Hdr::size().
Referenced by Net::TcpPtr::set(), and Net::UdpPtr::set().
|
inline |
Definition at line 697 of file inet.hh.
References Net::TcpPtr::get(), Net::TcpPtr::off(), and Net::TcpHdr::size().
|
inline |
Definition at line 809 of file inet.hh.
References Net::UdpPtr::get(), Net::UdpPtr::off(), and Net::UdpHdr::size().
Referenced by Net::hsplit().
|
inline |
Definition at line 666 of file inet.hh.
References Net::TcpPtr::set().
|
inline |
Definition at line 665 of file inet.hh.
References Net::TcpPtr::set().
|
inline |
Definition at line 109 of file inet.hh.
References data.
Referenced by Net::EthAddr::multicast(), and NSGigE::rxFilter().