summaryrefslogtreecommitdiffstats
path: root/PICA_proto.h
diff options
context:
space:
mode:
authorAnton <anton@picapica>2016-06-24 22:51:52 +0400
committerAnton <anton@picapica>2016-06-24 22:51:52 +0400
commita0a2d2915706113c09149afbfc4d7c4659514f7f (patch)
tree92c6e280fe8f4718adcf26dc1b89e2afc33b6af2 /PICA_proto.h
parent398a4e5cc4431430537dc3039f920cdf6bb4b305 (diff)
downloadpica-pica-a0a2d2915706113c09149afbfc4d7c4659514f7f.tar.gz
pica-pica-a0a2d2915706113c09149afbfc4d7c4659514f7f.zip
added proto definitions
Diffstat (limited to 'PICA_proto.h')
-rw-r--r--PICA_proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/PICA_proto.h b/PICA_proto.h
index be162c3..c6d53db 100644
--- a/PICA_proto.h
+++ b/PICA_proto.h
@@ -31,9 +31,11 @@
#define PICA_PROTO_C2CCONNREQ 0xCC
+#define PICA_PROTO_C2CDIRECT_ADDRLIST 0x0B
#define PICA_PROTO_C2CDIRECT_IPV4 0xA0
#define PICA_PROTO_C2CDIRECT_IPV6 0xA1
#define PICA_PROTO_C2CDIRECT_DNS 0xA2
+#define PICA_PROTO_C2CDIRECT_FAILED 0x0C
#define PICA_PROTO_MSGUTF8 0x30
#define PICA_PROTO_MSGOK 0x40
@@ -88,6 +90,7 @@
#define PICA_PROTO_C2CCONNREQ_SIZE 4
#define PICA_PROTO_C2CDIRECT_IPV4_SIZE 8
#define PICA_PROTO_C2CDIRECT_IPV6_SIZE 20
+#define PICA_PROTO_C2CDIRECT_FAILED_SIZE 4
#define PICA_PROTO_MSGOK_SIZE 4