diff options
Diffstat (limited to 'net/tipc/server.h')
-rw-r--r-- | net/tipc/server.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/tipc/server.h b/net/tipc/server.h index 34f8055afa3b..2113c9192633 100644 --- a/net/tipc/server.h +++ b/net/tipc/server.h | |||
@@ -83,13 +83,16 @@ struct tipc_server { | |||
83 | int tipc_conn_sendmsg(struct tipc_server *s, int conid, | 83 | int tipc_conn_sendmsg(struct tipc_server *s, int conid, |
84 | struct sockaddr_tipc *addr, void *data, size_t len); | 84 | struct sockaddr_tipc *addr, void *data, size_t len); |
85 | 85 | ||
86 | bool tipc_topsrv_kern_subscr(struct net *net, u32 port, u32 type, | ||
87 | u32 lower, u32 upper, int *conid); | ||
88 | void tipc_topsrv_kern_unsubscr(struct net *net, int conid); | ||
89 | |||
86 | /** | 90 | /** |
87 | * tipc_conn_terminate - terminate connection with server | 91 | * tipc_conn_terminate - terminate connection with server |
88 | * | 92 | * |
89 | * Note: Must call it in process context since it might sleep | 93 | * Note: Must call it in process context since it might sleep |
90 | */ | 94 | */ |
91 | void tipc_conn_terminate(struct tipc_server *s, int conid); | 95 | void tipc_conn_terminate(struct tipc_server *s, int conid); |
92 | |||
93 | int tipc_server_start(struct tipc_server *s); | 96 | int tipc_server_start(struct tipc_server *s); |
94 | 97 | ||
95 | void tipc_server_stop(struct tipc_server *s); | 98 | void tipc_server_stop(struct tipc_server *s); |