Lines Matching refs:net
111 int tipc_net_start(struct net *net, u32 addr) in tipc_net_start() argument
113 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_net_start()
117 tipc_named_reinit(net); in tipc_net_start()
118 tipc_sk_reinit(net); in tipc_net_start()
119 tipc_bcast_reinit(net); in tipc_net_start()
121 tipc_nametbl_publish(net, TIPC_CFG_SRV, tn->own_addr, tn->own_addr, in tipc_net_start()
131 void tipc_net_stop(struct net *net) in tipc_net_stop() argument
133 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_net_stop()
138 tipc_nametbl_withdraw(net, TIPC_CFG_SRV, tn->own_addr, 0, in tipc_net_stop()
141 tipc_bearer_stop(net); in tipc_net_stop()
142 tipc_node_stop(net); in tipc_net_stop()
148 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net() argument
150 struct tipc_net *tn = net_generic(net, tipc_net_id); in __tipc_nl_add_net()
181 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local
193 err = __tipc_nl_add_net(net, &msg); in tipc_nl_net_dump()
206 struct net *net = sock_net(skb->sk); in tipc_nl_net_set() local
207 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nl_net_set()
246 tipc_net_start(net, addr); in tipc_nl_net_set()