Add PG structures, begin peer connection handling code

This commit is contained in:
Vitaliy Filippov
2019-12-27 12:05:44 +03:00
parent 8a386270bd
commit 3134b7729a
7 changed files with 323 additions and 77 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
int main(int narg, char *args[])
{
if (sizeof(osd_any_op_t) >= OSD_OP_PACKET_SIZE ||
sizeof(osd_any_reply_t) >= OSD_REPLY_PACKET_SIZE)
if (sizeof(osd_any_op_t) >= OSD_PACKET_SIZE ||
sizeof(osd_any_reply_t) >= OSD_PACKET_SIZE)
{
perror("BUG: too small packet size");
return 1;