From 9903b8a2f9a7dc8ebac6928dcf2d2b5593ea0615 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 12 May 2017 13:05:47 +0200 Subject: ipcpd: Allow specifying fixed syntax This commits adds the functions and messages to specify a fixed protocol syntax during CACEP. It also revises the messages for specifying the DT protocol syntax from the irm tool. --- include/ouroboros/cacep.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'include/ouroboros/cacep.h') diff --git a/include/ouroboros/cacep.h b/include/ouroboros/cacep.h index 967151de..fb52fd0f 100644 --- a/include/ouroboros/cacep.h +++ b/include/ouroboros/cacep.h @@ -25,21 +25,19 @@ #define OUROBOROS_CACEP_H #include +#include #include - -enum proto_concrete_syntax { - PROTO_GPB = 0, - PROTO_ASN_1, - PROTO_FIXED -}; +#include struct conn_info { char ae_name[64]; char protocol[64]; uint32_t pref_version; enum proto_concrete_syntax pref_syntax; - uint64_t addr; + struct proto_field fixed_conc_syntax[PROTO_MAX_FIELDS]; + size_t num_fields; + uint64_t addr; /* AE-I name */ }; __BEGIN_DECLS -- cgit v1.2.3