diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-03-28 16:35:40 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-03-28 16:35:40 +0200 |
commit | c45be0dcbd123881cc33ce61571578dcb22c3b54 (patch) | |
tree | 58c7c12665dc4e11d010fa89bfe11de239053fd2 /src/lib/ipcpd_messages.proto | |
parent | b144406dbb9cbdf83354590746097a93d6e88bc4 (diff) | |
download | ouroboros-c45be0dcbd123881cc33ce61571578dcb22c3b54.tar.gz ouroboros-c45be0dcbd123881cc33ce61571578dcb22c3b54.zip |
lib: Add ipcp_messages proto file
This removes the custom ser/des methods for communicating with the
IPCP daemon and also uses GPB instead.
Diffstat (limited to 'src/lib/ipcpd_messages.proto')
-rw-r--r-- | src/lib/ipcpd_messages.proto | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/ipcpd_messages.proto b/src/lib/ipcpd_messages.proto new file mode 100644 index 00000000..0715fbe0 --- /dev/null +++ b/src/lib/ipcpd_messages.proto @@ -0,0 +1,14 @@ +enum ipcp_msg_code { + IPCP_BOOTSTRAP = 1; + IPCP_ENROLL = 2; + IPCP_REG = 3; + IPCP_UNREG = 4; +}; + +message ipcp_msg { + required ipcp_msg_code code = 1; + optional string ap_name = 2; + // Missing dif_config field here + repeated string dif_name = 4; + repeated string n_1_dif_name = 5; +}; |