rogue
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Variables
Core.h File Reference
#include "rogue/Directives.h"
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <stdint.h>
#include <sys/socket.h>
#include <memory>
#include "rogue/Logging.h"

Go to the source code of this file.

Classes

class  rogue::protocols::udp::Core
 Shared UDP transport base for stream client/server endpoints. More...
 

Namespaces

namespace  rogue
 
namespace  rogue::protocols
 
namespace  rogue::protocols::udp
 

Typedefs

typedef std::shared_ptr< rogue::protocols::udp::Corerogue::protocols::udp::CorePtr
 

Variables

const uint32_t rogue::protocols::udp::JumboMTU = 9000
 Jumbo-frame MTU in bytes (9000).
 
const uint32_t rogue::protocols::udp::StdMTU = 1500
 Standard Ethernet MTU in bytes (1500).
 
const uint32_t rogue::protocols::udp::HdrSize = 20 + 8
 Combined IPv4 + UDP header size in bytes.
 
const uint32_t rogue::protocols::udp::MaxJumboPayload = JumboMTU - HdrSize
 Maximum UDP payload for jumbo MTU (9000 - 28 = 8972 bytes).
 
const uint32_t rogue::protocols::udp::MaxStdPayload = StdMTU - HdrSize
 Maximum UDP payload for standard MTU (1500 - 28 = 1472 bytes).