gPTP Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
windows/daemon_cl/ipcdef.hpp File Reference
#include <windows.h>
#include <stdint.h>
#include <ptptypes.hpp>
#include <minwinbase.h>
#include <debugout.hpp>
Include dependency graph for windows/daemon_cl/ipcdef.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gPtpTimeData
 
class  WindowsNPipeMessage
 
class  Offset
 
class  WinNPipeOffsetUpdateMessage
 
class  PeerAddr
 
class  WinNPipeCtrlMessage
 
class  WinNPipeQueryMessage
 
union  WindowsNPipeMsgClient
 
union  WindowsNPipeMsgServer
 

Macros

#define OUTSTANDING_MESSAGES   10
 
#define PIPE_PREFIX   "\\\\.\\pipe\\"
 
#define P802_1AS_PIPENAME   "gptp-ctrl"
 
#define NPIPE_MAX_CLIENT_MSG_SZ   (sizeof( WindowsNPipeMsgClient ))
 
#define NPIPE_MAX_SERVER_MSG_SZ   (sizeof( WindowsNPipeMsgServer ))
 
#define NPIPE_MAX_MSG_SZ   (NPIPE_MAX_CLIENT_MSG_SZ > NPIPE_MAX_SERVER_MSG_SZ ? NPIPE_MAX_CLIENT_MSG_SZ : NPIPE_MAX_SERVER_MSG_SZ)
 

Enumerations

enum  NPIPE_MSG_TYPE { BASE_MSG = 0, CTRL_MSG, QUERY_MSG, OFFSET_MSG }
 
enum  CtrlWhich { ADD_PEER, REMOVE_PEER }
 
enum  AddrWhich { MAC_ADDR, IP_ADDR, INVALID_ADDR }
 

Macro Definition Documentation

#define NPIPE_MAX_CLIENT_MSG_SZ   (sizeof( WindowsNPipeMsgClient ))

Maximum message size for the client

Maximum message size

#define NPIPE_MAX_SERVER_MSG_SZ   (sizeof( WindowsNPipeMsgServer ))

Maximum message size for the server

#define OUTSTANDING_MESSAGES   10

Number of outstanding messages on named pipe declaration

#define P802_1AS_PIPENAME   "gptp-ctrl"

PIPE group name

#define PIPE_PREFIX   "\\\\.\\pipe\\"

PIPE name prefix

Enumeration Type Documentation

enum AddrWhich

Enumeration AddrWhich. It can assume the following values:

  • MAC_ADDR;
  • IP_ADDR;
  • INVALID_ADDR;
enum CtrlWhich

Enumeration CtrlWhich. It can assume the following values:

  • ADD_PEER;
  • REMOVE_PEER;

Enumeration named pipe message type. Possible values are:

  • BASE_MSG;
  • CTRL_MSG;
  • QUERY_MSG;
  • OFFSET_MSG;