diff options
| author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-04-22 17:39:30 +0200 | 
|---|---|---|
| committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-04-22 17:39:30 +0200 | 
| commit | f4f67651db3891652f4dd08dec990aa0560bb35c (patch) | |
| tree | 38d9d3f171389a85fc9b6ab7dcb640029ac0d743 /include | |
| parent | cd428b2b63230fce191ff3a90d5f6928aa50df46 (diff) | |
| download | ouroboros-f4f67651db3891652f4dd08dec990aa0560bb35c.tar.gz ouroboros-f4f67651db3891652f4dd08dec990aa0560bb35c.zip | |
irmd: reg/unreg whatevercast names
Unregistering ap's now works. An AP now registers/unregisters its AP-I
by sending its AP name and its pid to the IRMd. The IPCPs register
whatevercast names. An AP name is currently mapped on a whatevercast
name represented by the same string literal.  The IRMd allows
registration of only one AP-I per AP. A Name Space Management system
is needed in the processing system so we can resolve this completely.
Changing the stack to register whatevercast names required some changes
all over the ipcpd implemented and in the library.
Diffstat (limited to 'include')
| -rw-r--r-- | include/ouroboros/ipcp.h | 21 | 
1 files changed, 10 insertions, 11 deletions
| diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h index 3198a882..1c8d3f86 100644 --- a/include/ouroboros/ipcp.h +++ b/include/ouroboros/ipcp.h @@ -54,15 +54,14 @@ int   ipcp_bootstrap(pid_t pid,  /* 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, -                    uint32_t reg_api_id); +int   ipcp_name_reg(pid_t    pid, +                    char *   name); +int   ipcp_name_unreg(pid_t    pid, +                      char * name);  int   ipcp_flow_alloc(pid_t             pid,                        uint32_t          port_id, -                      char *            dst_ap_name, +                      char *            dst_name,                        char *            src_ap_name,                        char *            src_ae_name,                        struct qos_spec * qos); @@ -73,13 +72,13 @@ int   ipcp_flow_alloc_resp(pid_t    pid,  /* These operations go from the IPCP to the IRMd */  /* Returns the port_id */ -int   ipcp_flow_req_arr(pid_t    pid, -                        uint32_t reg_api_id, -                        char *   ap_name, -                        char *   ae_name); +int   ipcp_flow_req_arr(pid_t  pid, +                        char * dst_name, +                        char * src_ap_name, +                        char * src_ae_name);  int   ipcp_flow_alloc_reply(pid_t    pid,                              uint32_t port_id, -                            int      result); +                            int      response);  /*   * This operation can go both ways | 
