Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (284 Bytes)

1 60fa723d Luca Abeni
#ifndef PROTO
2
#define PROTO
3
4 01873987 Luca Abeni
struct topo_header {
5 480921a6 Luca Abeni
  uint8_t protocol;
6
  uint8_t type;
7
} __attribute__((packed));
8
9
#define NCAST_QUERY 0x01
10
#define NCAST_REPLY 0x02
11 df98cd3a Luca Abeni
#define TMAN_QUERY 0x03
12
#define TMAN_REPLY 0x04
13 194ec532 Luca Abeni
#define CYCLON_QUERY 0x05
14
#define CYCLON_REPLY 0x06
15 60fa723d Luca Abeni
16
#endif        /* PROTO */