Statistics
| Branch: | Revision:

grapes / src / TopologyManager / proto.h @ 36dc16e0

History | View | Annotate | Download (371 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
#define CLOUDCAST_QUERY 0x07
16
#define CLOUDCAST_REPLY 0x08
17
#define CLOUDCAST_CLOUD 0x09
18

    
19
#endif        /* PROTO */