From e5cc7fbcf165ef9c205b6c136f239f645a8d7830 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 18 Dec 2017 20:50:04 +0100 Subject: ipcpd: Use the term "layer" and deprecate "shim" This changes the terminology to use layer instead of DIF and deprecate the word "shim" for the IPCPs that attach to Ethernet LLC and UDP .The terminology has not yet been changed in the variable names etc. This reflects the design choices in Ouroboros to make IPCPs pure resource allocators instead of also providing an "IPC service". The Ouroboros IPCPs that attach to Ethernet and UDP implement the allocator and are thus not really shims. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/irmd/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/irmd/main.c') diff --git a/src/irmd/main.c b/src/irmd/main.c index 7b4ad9d8..eb10cc4f 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -502,7 +502,7 @@ static int bootstrap_ipcp(pid_t pid, entry->dif_name = strdup(info.dif_name); if (entry->dif_name == NULL) { pthread_rwlock_unlock(&irmd.reg_lock); - log_warn("Failed to set name of DIF."); + log_warn("Failed to set name of layer."); return -ENOMEM; } @@ -510,7 +510,7 @@ static int bootstrap_ipcp(pid_t pid, pthread_rwlock_unlock(&irmd.reg_lock); - log_info("Bootstrapped IPCP %d in DIF %s.", + log_info("Bootstrapped IPCP %d in layer %s.", pid, conf->dif_info->dif_name); return 0; @@ -564,7 +564,7 @@ static int enroll_ipcp(pid_t pid, pthread_rwlock_unlock(&irmd.reg_lock); - log_info("Enrolled IPCP %d in DIF %s.", + log_info("Enrolled IPCP %d in layer %s.", pid, info.dif_name); return 0; -- cgit v1.2.3