60e0d0306bb78b6f266d2976c2caba8fa854aafd
5 #define PKT_RESP_ERROR 2
7 #define PKT_LOAD_PLUGIN 5
8 #define PKT_UNLOAD_PLUGIN 6
10 #define PKT_GARDEN 1000
11 #define PKT_UNGARDEN 1001
13 int new_packet(short type
, char *packet
);
14 int send_packet(int sockfd
, int dest_ip
, int dest_port
, char *packet
, int len
);
15 void dump_packet(char *packet
, FILE *stream
);
16 int read_packet(int sockfd
, char *packet
);
18 #endif /* __CONTROL_H__ */