gem5
|
#include <inet.hh>
Public Member Functions | |
IpPtr () | |
IpPtr (const EthPacketPtr &ptr) | |
IpPtr (const EthPtr &ptr) | |
IpPtr (const IpPtr &ptr) | |
IpHdr * | get () |
IpHdr * | operator-> () |
IpHdr & | operator* () |
const IpHdr * | get () const |
const IpHdr * | operator-> () const |
const IpHdr & | operator* () const |
const IpPtr & | operator= (const EthPacketPtr &ptr) |
const IpPtr & | operator= (const EthPtr &ptr) |
const IpPtr & | operator= (const IpPtr &ptr) |
const EthPacketPtr | packet () const |
EthPacketPtr | packet () |
bool | operator! () const |
operator bool () const | |
int | off () const |
int | pstart () const |
Protected Member Functions | |
void | set (const EthPacketPtr &ptr) |
Protected Attributes | |
EthPacketPtr | p |
bool | eth_hdr_vlan |
Friends | |
class | TcpPtr |
class | UdpPtr |
|
inline |
|
inline |
Definition at line 306 of file inet.hh.
References Net::EthPtr::p, and set().
|
inline |
Definition at line 309 of file inet.hh.
References eth_hdr_vlan, and p.
|
inline |
Definition at line 314 of file inet.hh.
References eth_hdr_vlan, and p.
|
inline |
|
inline |
Definition at line 321 of file inet.hh.
References Net::EthPtr::p, and set().
|
inline |
|
inline |
|
inline |
Definition at line 329 of file inet.hh.
References off(), and X86ISA::size().
Referenced by Net::hsplit(), Net::TcpPtr::set(), and Net::UdpPtr::set().
|
inlineprotected |
Definition at line 289 of file inet.hh.
References eth_hdr_vlan, if(), Net::EthHdr::isVlan(), p, and Net::EthHdr::type().
Referenced by IpPtr(), and operator=().
|
protected |
|
protected |
Definition at line 286 of file inet.hh.
Referenced by get(), operator bool(), operator!(), operator=(), packet(), set(), Net::TcpPtr::set(), and Net::UdpPtr::set().