summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.h
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-01-08 11:14:43 +0100
committerSander Vrijders <[email protected]>2017-01-09 11:23:48 +0100
commit0a071a42d4e80f54e92f34911cafda3d666d35d5 (patch)
tree456cb6250d0396705bef29b0d80c889bee205fe7 /src/ipcpd/ipcp.h
parente56d24010287127fc6b9c9da8d1f7cf160c50253 (diff)
downloadouroboros-0a071a42d4e80f54e92f34911cafda3d666d35d5.tar.gz
ouroboros-0a071a42d4e80f54e92f34911cafda3d666d35d5.zip
ipcpd: Let IPCPs bind a name
This allows IPCPs to bind a name, so that they can announce their name to neighbors which can then allocate a flow to them. Registering of the name happens by an administrator. It also moves the irmd_api to common ground, since it is used by all IPCPs.
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r--src/ipcpd/ipcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h
index ae5a56da..a75186ba 100644
--- a/src/ipcpd/ipcp.h
+++ b/src/ipcpd/ipcp.h
@@ -38,6 +38,9 @@ enum ipcp_state {
};
struct ipcp {
+ int irmd_api;
+ char * name;
+
struct ipcp_data * data;
struct ipcp_ops * ops;
int irmd_fd;