Searched refs:conid (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/net/tipc/
H A Dserver.c53 * @conid: connection identifier
67 int conid; member in struct:tipc_conn
123 static struct tipc_conn *tipc_conn_lookup(struct tipc_server *s, int conid) tipc_conn_lookup() argument
128 con = idr_find(&s->conn_idr, conid); tipc_conn_lookup()
192 if (con->conid) tipc_close_conn()
193 s->tipc_conn_shutdown(con->conid, con->usr_data); tipc_close_conn()
196 idr_remove(&s->conn_idr, con->conid); tipc_close_conn()
236 con->conid = ret; tipc_alloc_conn()
271 s->tipc_conn_recvmsg(sock_net(con->sock->sk), con->conid, &addr, tipc_receive_from_sock()
311 newcon->usr_data = s->tipc_conn_new(newcon->conid); tipc_accept_from_sock()
391 idr_remove(&s->conn_idr, con->conid); tipc_open_listening_sock()
441 int tipc_conn_sendmsg(struct tipc_server *s, int conid, tipc_conn_sendmsg() argument
447 con = tipc_conn_lookup(s, conid); tipc_conn_sendmsg()
473 void tipc_conn_terminate(struct tipc_server *s, int conid) tipc_conn_terminate() argument
477 con = tipc_conn_lookup(s, conid); tipc_conn_terminate()
H A Dserver.h72 void *(*tipc_conn_new)(int conid);
73 void (*tipc_conn_shutdown)(int conid, void *usr_data);
74 void (*tipc_conn_recvmsg)(struct net *net, int conid,
83 int tipc_conn_sendmsg(struct tipc_server *s, int conid,
91 void tipc_conn_terminate(struct tipc_server *s, int conid);
H A Dsubscr.c43 * @conid: connection identifier to server connecting to subscriber
48 int conid; member in struct:tipc_subscriber
80 tipc_conn_sendmsg(tn->topsrv, subscriber->conid, NULL, subscr_send_event()
290 static void subscr_conn_shutdown_event(int conid, void *usr_data) subscr_conn_shutdown_event() argument
296 static void subscr_conn_msg_event(struct net *net, int conid, subscr_conn_msg_event() argument
306 tipc_conn_terminate(tn->topsrv, subscriber->conid); subscr_conn_msg_event()
313 static void *subscr_named_msg_event(int conid) subscr_named_msg_event() argument
324 subscriber->conid = conid; subscr_named_msg_event()

Completed in 119 milliseconds