diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-14 18:32:49 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-14 18:32:49 +0200 |
commit | af1dff6fc06f55d6565589282ac4ebacc53b4d29 (patch) | |
tree | daa33b67da40cd2b7677126fa15fb996cbba25f2 /include/ouroboros/ipcp.h | |
parent | aff55f153ddb247357f59b3740477e90eba527bd (diff) | |
download | ouroboros-af1dff6fc06f55d6565589282ac4ebacc53b4d29.tar.gz ouroboros-af1dff6fc06f55d6565589282ac4ebacc53b4d29.zip |
lib, ipcpd, irmd: Add QoS cube definition
This adds the QoS cube definition, which is an enum to select which
QoS is needed in the IPCP. An application has to use the qos_spec in
qos.h to define what it needs. The IRMd will map this unto a qos cube
definition.
Some headers are now also no longer installed on the system, since
they are only to be used within the irmd and ipcps.
Diffstat (limited to 'include/ouroboros/ipcp.h')
-rw-r--r-- | include/ouroboros/ipcp.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h index 63e19e9d..08bee33e 100644 --- a/include/ouroboros/ipcp.h +++ b/include/ouroboros/ipcp.h @@ -20,16 +20,16 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ifndef OUROBOROS_IPCP_H -#define OUROBOROS_IPCP_H - -#include <ouroboros/common.h> #include <ouroboros/dif_config.h> #include <ouroboros/instance_name.h> #include <ouroboros/sockets.h> +#include <ouroboros/common.h> #include <sys/types.h> +#ifndef OUROBOROS_IPCP_H +#define OUROBOROS_IPCP_H + struct ipcp; /* Returns the process id */ @@ -59,13 +59,13 @@ int ipcp_name_reg(pid_t pid, int ipcp_name_unreg(pid_t pid, char * name); -int ipcp_flow_alloc(pid_t pid, - int port_id, - pid_t n_pid, - char * dst_name, - char * src_ap_name, - char * src_ae_name, - struct qos_spec * qos); +int ipcp_flow_alloc(pid_t pid, + int port_id, + pid_t n_pid, + char * dst_name, + char * src_ap_name, + char * src_ae_name, + enum qos_cube qos); int ipcp_flow_alloc_resp(pid_t pid, int port_id, pid_t n_pid, |