From 151adbc851c9b2a218f2be9409199c1baa62bd8d Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Thu, 31 Mar 2016 18:32:28 +0200 Subject: lib: Implementation of flow related ops This adds the messages that are sent to the IPCPs related to flows. Some messages are also sent to the IRMd (e.g. when a new flow arrives). --- include/ouroboros/ipcp.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'include/ouroboros/ipcp.h') diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h index b39a6b0d..fdaf5c4a 100644 --- a/include/ouroboros/ipcp.h +++ b/include/ouroboros/ipcp.h @@ -23,10 +23,10 @@ #ifndef OUROBOROS_IPCP_H #define OUROBOROS_IPCP_H -#include +#include +#include -#include "common.h" -#include "instance_name.h" +#include struct ipcp; @@ -44,19 +44,17 @@ int ipcp_unreg(pid_t pid, int ipcp_bootstrap(pid_t pid, struct dif_config * conf); -int ipcp_enroll(pid_t pid, - char * dif_name, - char * member_name, - char ** n_1_difs, - ssize_t n_1_difs_size); +int ipcp_enroll(pid_t pid, + char * member_name, + char * n_1_dif); /* Flow related ops, these go from IRMd to IPCP */ int ipcp_ap_reg(pid_t pid, uint32_t reg_api_id, char * ap_name); -int ipcp_ap_unreg(pid_t pid, - char * ap_name); +int ipcp_ap_unreg(pid_t pid, + uint32_t reg_api_id); int ipcp_flow_alloc(pid_t pid, uint32_t port_id, -- cgit v1.2.3