gem5
v20.0.0.0
|
#include <inet.hh>
Public Member Functions | |
uint8_t | version () const |
uint8_t | hlen () const |
uint8_t | tos () const |
uint16_t | len () const |
uint16_t | id () const |
uint16_t | frag_flags () const |
uint16_t | frag_off () const |
uint8_t | ttl () const |
uint8_t | proto () const |
uint16_t | sum () const |
uint32_t | src () const |
uint32_t | dst () const |
void | sum (uint16_t sum) |
void | id (uint16_t _id) |
void | len (uint16_t _len) |
bool | options (std::vector< const IpOpt *> &vec) const |
int | size () const |
const uint8_t * | bytes () const |
const uint8_t * | payload () const |
uint8_t * | bytes () |
uint8_t * | payload () |
|
inline |
Definition at line 270 of file inet.hh.
Referenced by Net::cksum().
|
inline |
Definition at line 251 of file inet.hh.
Referenced by Net::__tu_cksum(), and Net::cksum().
|
inline |
Definition at line 254 of file inet.hh.
Referenced by IGbE::RxDescCache::pktComplete(), IGbE::TxDescCache::pktComplete(), NSGigE::recvPacket(), Sinic::Device::rxKick(), NSGigE::rxKick(), and Sinic::Device::transmit().
|
inline |
Definition at line 253 of file inet.hh.
Referenced by Net::__tu_cksum(), and IGbE::TxDescCache::pktComplete().
bool Net::IpHdr::options | ( | std::vector< const IpOpt *> & | vec | ) | const |
Definition at line 258 of file inet.cc.
References data, Net::IpOpt::len(), and ArmISA::len.
|
inline |
Definition at line 271 of file inet.hh.
References Net::EthAddr::bytes(), and Net::EthAddr::size().
Referenced by Net::__tu_cksum().
|
inline |
Definition at line 273 of file inet.hh.
References Net::EthAddr::bytes(), and Net::EthAddr::size().
|
inline |
Definition at line 259 of file inet.hh.
Referenced by IGbE::TxDescCache::pktComplete(), Sinic::Device::txKick(), and NSGigE::txKick().
|
inline |