Lines Matching refs:net
110 int tipc_net_start(struct net *net, u32 addr) in tipc_net_start() argument
112 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 res = tipc_bclink_init(net); in tipc_net_start()
123 tipc_nametbl_publish(net, TIPC_CFG_SRV, tn->own_addr, tn->own_addr, in tipc_net_start()
133 void tipc_net_stop(struct net *net) in tipc_net_stop() argument
135 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_net_stop()
140 tipc_nametbl_withdraw(net, TIPC_CFG_SRV, tn->own_addr, 0, in tipc_net_stop()
143 tipc_bearer_stop(net); in tipc_net_stop()
144 tipc_bclink_stop(net); in tipc_net_stop()
145 tipc_node_stop(net); in tipc_net_stop()
151 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net() argument
153 struct tipc_net *tn = net_generic(net, tipc_net_id); in __tipc_nl_add_net()
184 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local
196 err = __tipc_nl_add_net(net, &msg); in tipc_nl_net_dump()
209 struct net *net = sock_net(skb->sk); in tipc_nl_net_set() local
210 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nl_net_set()
249 tipc_net_start(net, addr); in tipc_nl_net_set()