gem5  v21.0.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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

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 277 of file inet.cc.


Generated on Tue Jun 22 2021 15:28:33 for gem5 by doxygen 1.8.17