Lines Matching refs:net

71 	struct net *net;  member
116 static void tipc_topsrv_kern_evt(struct net *net, struct tipc_event *evt);
233 struct tipc_net *tn = tipc_net(con->server->net); in tipc_conn_delete_sub()
286 tipc_topsrv_kern_evt(srv->net, evt); in tipc_conn_send_to_sock()
314 void tipc_topsrv_queue_evt(struct net *net, int conid, in tipc_topsrv_queue_evt() argument
317 struct tipc_topsrv *srv = tipc_topsrv(net); in tipc_topsrv_queue_evt()
365 struct tipc_net *tn = tipc_net(srv->net); in tipc_conn_rcv_sub()
378 sub = tipc_sub_subscribe(srv->net, s, con->conid); in tipc_conn_rcv_sub()
518 rc = sock_create_kern(srv->net, AF_TIPC, SOCK_SEQPACKET, 0, &lsock); in tipc_topsrv_create_listener()
573 bool tipc_topsrv_kern_subscr(struct net *net, u32 port, u32 type, u32 lower, in tipc_topsrv_kern_subscr() argument
587 con = tipc_conn_alloc(tipc_topsrv(net), NULL); in tipc_topsrv_kern_subscr()
592 rc = tipc_conn_rcv_sub(tipc_topsrv(net), con, &sub); in tipc_topsrv_kern_subscr()
600 void tipc_topsrv_kern_unsubscr(struct net *net, int conid) in tipc_topsrv_kern_unsubscr() argument
604 con = tipc_conn_lookup(tipc_topsrv(net), conid); in tipc_topsrv_kern_unsubscr()
614 static void tipc_topsrv_kern_evt(struct net *net, struct tipc_event *evt) in tipc_topsrv_kern_evt() argument
617 u32 self = tipc_own_addr(net); in tipc_topsrv_kern_evt()
629 tipc_loopback_trace(net, &evtq); in tipc_topsrv_kern_evt()
630 tipc_sk_rcv(net, &evtq); in tipc_topsrv_kern_evt()
657 static int tipc_topsrv_start(struct net *net) in tipc_topsrv_start() argument
659 struct tipc_net *tn = tipc_net(net); in tipc_topsrv_start()
668 srv->net = net; in tipc_topsrv_start()
696 static void tipc_topsrv_stop(struct net *net) in tipc_topsrv_stop() argument
698 struct tipc_topsrv *srv = tipc_topsrv(net); in tipc_topsrv_stop()
723 int __net_init tipc_topsrv_init_net(struct net *net) in tipc_topsrv_init_net() argument
725 return tipc_topsrv_start(net); in tipc_topsrv_init_net()
728 void __net_exit tipc_topsrv_exit_net(struct net *net) in tipc_topsrv_exit_net() argument
730 tipc_topsrv_stop(net); in tipc_topsrv_exit_net()