VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Typedefs | Functions
vlInetSocketUtils.h File Reference

This file contains miscellaneous definitions and inline functions which can be used to extend the functionality of DtInetSocket classes. More...

Go to the source code of this file.

Classes

struct  DtInetUtils::DtInetPktHeaderDescriptor
 The packet header descriptor struct supplants the sizeLength and sizeOffset values. More...

Namespaces

namespace  DtInetUtils
 Utility functions for manipulating IP addresses.

Macros

#define DtInetSockPacketHeader_MASK_NONE   0x00
 Commonly used size field masks.
#define DtInetSockPacketHeader_MASK_DtU8   0xff
#define DtInetSockPacketHeader_MASK_DtU16   0xffff
#define DtInetSockPacketHeader_MASK_DtU32   0xffffffff
#define DtInetSockDefaultPktHdrDesc   { 0, 4, DtInetSockPacketHeader_MASK_DtU32 }
 The default header descriptor: offset = 0, length = 0, bitmask = 0.

Typedefs

typedef std::pair< DtU32,
DtInetBufferChain
DtInetUtils::DtInetChainEntry
typedef std::map
< DtInetEndpoint,
DtInetChainEntry > 
DtInetUtils::DtInetSockOutboundBundleMap
typedef std::pair
< DtInetEndpoint, DtInetBuffer * > 
DtInetUtils::DtInetSockInboundBundleEntry
typedef std::deque
< DtInetSockInboundBundleEntry > 
DtInetUtils::DtInetSockInboundBundleQueue
typedef struct
DtInetUtils::DtInetPktHeaderDescriptor 
DtInetUtils::DtInetPktHeaderDescriptor
 The packet header descriptor struct supplants the sizeLength and sizeOffset values.

Functions

int DtInetUtils::DtInetSockUtilAddToBundle (DtInetSocket *sock, int size, DtInetBufferChain &buffChain, DtInetEndpoint &ep, void *usr)
 Common utility callbacks.
int DtInetUtils::DtInetSockUtilFlushBundle (DtInetSocket *sock, int size, DtInetBufferChain &buffChain, DtInetEndpoint &ep, void *usr)
int DtInetUtils::DtInetSockUtilUnbundle (DtInetSocket *sock, int size, DtInetBufferChain &buffChain, DtInetEndpoint &ep, void *usr)
int DtInetUtils::DtInetSockUtilQueueBacklog (DtInetSocket *sock, int size, DtInetBufferChain &buffChain, DtInetEndpoint &ep, void *usr)
int DtInetUtils::DtInetSockUtilFlushBacklog (DtInetSocket *sock, int size, DtInetBufferChain &buffChain, DtInetEndpoint &ep, void *usr)

Detailed Description

This file contains miscellaneous definitions and inline functions which can be used to extend the functionality of DtInetSocket classes.

Macro Definition Documentation

#define DtInetSockDefaultPktHdrDesc   { 0, 4, DtInetSockPacketHeader_MASK_DtU32 }

The default header descriptor: offset = 0, length = 0, bitmask = 0.

#define DtInetSockPacketHeader_MASK_DtU16   0xffff
#define DtInetSockPacketHeader_MASK_DtU32   0xffffffff
#define DtInetSockPacketHeader_MASK_DtU8   0xff
#define DtInetSockPacketHeader_MASK_NONE   0x00

Commonly used size field masks.


Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)