Created
June 7, 2017 09:11
-
-
Save bechampion/7ec925e8f474bc787a37eb381ea6408b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct net { | |
atomic_t passive; /* To decided when the network | |
* namespace should be freed. | |
*/ | |
atomic_t count; /* To decided when the network | |
* namespace should be shut down. | |
*/ | |
spinlock_t rules_mod_lock; | |
atomic64_t cookie_gen; | |
struct list_head list; /* list of network namespaces */ | |
struct list_head cleanup_list; /* namespaces on death row */ | |
struct list_head exit_list; /* Use only net_mutex */ | |
struct user_namespace *user_ns; /* Owning user namespace */ | |
struct ucounts *ucounts; | |
spinlock_t nsid_lock; | |
struct idr netns_ids; | |
struct ns_common ns; | |
struct proc_dir_entry *proc_net; | |
struct proc_dir_entry *proc_net_stat; | |
#ifdef CONFIG_SYSCTL | |
struct ctl_table_set sysctls; | |
#endif | |
struct sock *rtnl; /* rtnetlink socket */ | |
struct sock *genl_sock; | |
struct list_head dev_base_head; | |
struct hlist_head *dev_name_head; | |
struct hlist_head *dev_index_head; | |
unsigned int dev_base_seq; /* protected by rtnl_mutex */ | |
int ifindex; | |
unsigned int dev_unreg_count; | |
/* core fib_rules */ | |
struct list_head rules_ops; | |
struct net_device *loopback_dev; /* The loopback */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment