From 97c1341690d998ef8d24abec5b83d6b03e312e0d Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sat, 28 May 2016 19:00:30 +0200 Subject: ipcpd: IPCP over local memory This introduces an IPC process that relays data between two local AP's over the shm_du_map. Only configuration it has is a DIF name. It required small modification elsewhere: lib: added support for the IPCP_LOCAL type irm: added support for the IPCP_LOCAL type dif_config: added the IPCP_LOCAL type tools: added support for the IPCP_LOCAL type --- include/ouroboros/config.h.in | 1 + include/ouroboros/dif_config.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/ouroboros/config.h.in b/include/ouroboros/config.h.in index 2a496343..81b39406 100644 --- a/include/ouroboros/config.h.in +++ b/include/ouroboros/config.h.in @@ -29,6 +29,7 @@ #define _POSIX_C_SOURCE 199506L #define IPCP_SHIM_UDP_EXEC "@IPCP_SHIM_UDP_TARGET@" #define IPCP_NORMAL_EXEC "@IPCP_NORMAL_TARGET@" +#define IPCP_LOCAL_EXEC "@IPCP_LOCAL_TARGET@" #define AP_MAX_FLOWS 256 #define DU_BUFF_HEADSPACE 128 #define DU_BUFF_TAILSPACE 0 diff --git a/include/ouroboros/dif_config.h b/include/ouroboros/dif_config.h index d76d4f68..78554ec9 100644 --- a/include/ouroboros/dif_config.h +++ b/include/ouroboros/dif_config.h @@ -28,6 +28,7 @@ enum ipcp_type { IPCP_NORMAL = 0, + IPCP_LOCAL, IPCP_SHIM_UDP }; -- cgit v1.2.3