Function report | 
Source Code:include\net\net_namespace.h | 
Create Date:2022-07-28 05:53:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:copy_net_ns
Proto:static inline struct net *copy_net_ns(unsigned long flags, struct user_namespace *user_ns, struct net *old_net)
Type:struct net
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | flags | |
| struct user_namespace * | user_ns | |
| struct net * | old_net | 
| 207 | If flags & New network namespace Then Return ERR_PTR( - EINVAL) | 
| 209 | Return old_net | 
| Name | Describe | 
|---|---|
| create_new_namespaces | Create new nsproxy and all of its the associated namespaces.* Return the newly created nsproxy. Do not attach this to the task,* leave it to the caller to do proper locking and attach it to task. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |