gem5  v20.1.0.0
Namespaces | Macros | Functions
inet.cc File Reference
#include "base/inet.hh"
#include <cstddef>
#include <cstdio>
#include <sstream>
#include <string>
#include "base/cprintf.hh"
#include "base/logging.hh"
#include "base/types.hh"

Go to the source code of this file.

Namespaces

 Net
 

Macros

#define IP6_EXTENSION(nxt)
 

Functions

ostream & Net::operator<< (ostream &stream, const EthAddr &ea)
 
ostream & Net::operator<< (ostream &stream, const IpAddress &ia)
 
ostream & Net::operator<< (ostream &stream, const IpNetmask &in)
 
ostream & Net::operator<< (ostream &stream, const IpWithPort &iwp)
 
uint16_t Net::cksum (const IpPtr &ptr)
 
uint16_t Net::cksum (const TcpPtr &tcp)
 
int Net::hsplit (const EthPacketPtr &ptr)
 

Macro Definition Documentation

◆ IP6_EXTENSION

#define IP6_EXTENSION (   nxt)
Value:
(nxt == IP_PROTO_HOPOPTS) ? true : \
(nxt == IP_PROTO_ROUTING) ? true : \
(nxt == IP_PROTO_FRAGMENT) ? true : \
(nxt == IP_PROTO_AH) ? true : \
(nxt == IP_PROTO_ESP) ? true: \
(nxt == IP_PROTO_DSTOPTS) ? true : false

Definition at line 278 of file inet.cc.


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17