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 /src/ipcpd/ipcp-ops.h | |
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 'src/ipcpd/ipcp-ops.h')
-rw-r--r-- | src/ipcpd/ipcp-ops.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ipcpd/ipcp-ops.h b/src/ipcpd/ipcp-ops.h index 5c917229..2ccb2e59 100644 --- a/src/ipcpd/ipcp-ops.h +++ b/src/ipcpd/ipcp-ops.h @@ -36,9 +36,8 @@ struct ipcp_ops { size_t len); int (* ipcp_unreg)(char ** dif_names, size_t len); - int (* ipcp_ap_reg)(char * ap_name, - uint32_t reg_ap_id); - int (* ipcp_ap_unreg)(uint32_t reg_ap_id); + int (* ipcp_name_reg)(char * name); + int (* ipcp_name_unreg)(char * name); int (* ipcp_flow_alloc)(uint32_t port_id, char * dst_ap_name, char * src_ap_name, |