From 8d1951e463193c1aa213c4680f645ec7b9247e15 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Thu, 14 Jul 2016 16:52:54 +0200 Subject: ipcpd: normal: Establish N-1 management flows This adds the intial implementation of establishing management N-1 flows between normal IPCPs. On calling fmgr_mgmt_flow, a management flow will be setup to a certain destination IPCP. After flow allocation, the fd is handed to the RIB manager. The flow manager also listens for incoming flow requests. In case they are management flows, they are handed to the RIB manager, otherwise to the FRCT. --- src/ipcpd/normal/dt_const.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/ipcpd/normal/dt_const.h') diff --git a/src/ipcpd/normal/dt_const.h b/src/ipcpd/normal/dt_const.h index bc0c1466..65cde5f7 100644 --- a/src/ipcpd/normal/dt_const.h +++ b/src/ipcpd/normal/dt_const.h @@ -24,19 +24,14 @@ #ifndef IPCP_DT_CONST_H #define IPCP_DT_CONST_H -#include "ouroboros/common.h" +#include -struct ipcp_dtp_const { - /* sizes in octets */ +struct dt_const { uint8_t addr_size; uint8_t cep_id_size; uint8_t pdu_length_size; uint8_t seqno_size; uint8_t qos_id_size; - /* uint8_t ctrl_sqnum_sz; is this in the spec?? */ -}; - -struct ipcp_dup_const { uint8_t ttl_size; uint8_t chk_size; }; -- cgit v1.2.3