DDraceNetwork Docs
network.cpp File Reference
#include <base/system.h>
#include "config.h"
#include "huffman.h"
#include "network.h"
Include dependency graph for network.cpp:

Functions

SECURITY_TOKEN ToSecurityToken (const unsigned char *pData)
 
void WriteSecurityToken (unsigned char *pData, SECURITY_TOKEN Token)
 

Variables

const unsigned char SECURITY_TOKEN_MAGIC [4] = {'T', 'K', 'E', 'N'}
 
static const unsigned char NET_HEADER_EXTENDED [] = {'x', 'e'}
 

Function Documentation

◆ ToSecurityToken()

SECURITY_TOKEN ToSecurityToken ( const unsigned char *  pData)

◆ WriteSecurityToken()

void WriteSecurityToken ( unsigned char *  pData,
SECURITY_TOKEN  Token 
)

Variable Documentation

◆ NET_HEADER_EXTENDED

const unsigned char NET_HEADER_EXTENDED[] = {'x', 'e'}
static

◆ SECURITY_TOKEN_MAGIC

const unsigned char SECURITY_TOKEN_MAGIC[4] = {'T', 'K', 'E', 'N'}