Statistics
| Branch: | Revision:

grapes / src / TopologyManager / proto.h @ 60fa723d

History | View | Annotate | Download (284 Bytes)

1
#ifndef PROTO
2
#define PROTO
3

    
4
struct topo_header {
5
  uint8_t protocol;
6
  uint8_t type;
7
} __attribute__((packed));
8

    
9
#define NCAST_QUERY 0x01
10
#define NCAST_REPLY 0x02
11
#define TMAN_QUERY 0x03
12
#define TMAN_REPLY 0x04
13
#define CYCLON_QUERY 0x05
14
#define CYCLON_REPLY 0x06
15

    
16
#endif        /* PROTO */