gPTP Documentation
|
#include <windows.h>
#include <stdint.h>
#include <ptptypes.hpp>
#include <minwinbase.h>
#include <debugout.hpp>
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 } |
#define NPIPE_MAX_CLIENT_MSG_SZ (sizeof( WindowsNPipeMsgClient )) |
Maximum message size for the client
#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) |
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
enum AddrWhich |
Enumeration AddrWhich. It can assume the following values:
enum CtrlWhich |
Enumeration CtrlWhich. It can assume the following values:
enum NPIPE_MSG_TYPE |
Enumeration named pipe message type. Possible values are: