rogue
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
rogue::protocols::udp Namespace Reference

Classes

class  Client
 UDP stream endpoint that sends to and receives from a remote host. More...
 
class  Core
 Shared UDP transport base for stream client/server endpoints. More...
 
class  Server
 UDP stream endpoint that listens on a local UDP port. More...
 

Typedefs

typedef std::shared_ptr< rogue::protocols::udp::ClientClientPtr
 
typedef std::shared_ptr< rogue::protocols::udp::CoreCorePtr
 
typedef std::shared_ptr< rogue::protocols::udp::ServerServerPtr
 

Functions

void setup_module ()
 

Variables

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

Typedef Documentation

◆ ClientPtr

Definition at line 124 of file Client.h.

◆ CorePtr

Definition at line 142 of file Core.h.

◆ ServerPtr

Definition at line 130 of file Server.h.

Function Documentation

◆ setup_module()

void rogue::protocols::udp::setup_module ( )

Company : SLAC National Accelerator Laboratory

Description:

Python module setup

This file is part of the rogue software platform. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of the rogue software platform, including this file, may be copied, modified, propagated, or distributed except according to the terms

contained in the LICENSE.txt file.

Definition at line 31 of file module.cpp.

Variable Documentation

◆ HdrSize

const uint32_t rogue::protocols::udp::HdrSize = 20 + 8

Combined IPv4 + UDP header size in bytes.

Definition at line 42 of file Core.h.

◆ JumboMTU

const uint32_t rogue::protocols::udp::JumboMTU = 9000

Jumbo-frame MTU in bytes (9000).

Definition at line 36 of file Core.h.

◆ MaxJumboPayload

const uint32_t rogue::protocols::udp::MaxJumboPayload = JumboMTU - HdrSize

Maximum UDP payload for jumbo MTU (9000 - 28 = 8972 bytes).

Definition at line 45 of file Core.h.

◆ MaxStdPayload

const uint32_t rogue::protocols::udp::MaxStdPayload = StdMTU - HdrSize

Maximum UDP payload for standard MTU (1500 - 28 = 1472 bytes).

Definition at line 47 of file Core.h.

◆ StdMTU

const uint32_t rogue::protocols::udp::StdMTU = 1500

Standard Ethernet MTU in bytes (1500).

Definition at line 38 of file Core.h.