![]() |
VR-Link API Documentation for DIS
|
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) |
This file contains miscellaneous definitions and inline functions which can be used to extend the functionality of DtInetSocket classes.
| #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.