Lines Matching defs:net
37 struct net { struct
38 atomic_t passive; /* To decided when the network argument
41 atomic_t count; /* To decided when the network argument
51 struct list_head list; /* list of network namespaces */ argument
53 struct list_head exit_list; /* Use only net_mutex */ argument
55 struct proc_dir_entry *proc_net; argument
56 struct proc_dir_entry *proc_net_stat; argument
62 struct sock *rtnl; /* rtnetlink socket */ argument
74 struct net_device *loopback_dev; /* The loopback */ argument
75 struct netns_core core; argument
76 struct netns_mib mib; argument
77 struct netns_packet packet; argument
78 struct netns_unix unx; argument
79 struct netns_ipv4 ipv4; argument
81 struct netns_ipv6 ipv6; argument
84 struct netns_dccp dccp; argument
87 struct netns_xt xt; argument
89 struct netns_ct ct; argument
97 struct net_generic __rcu *gen; argument
101 struct netns_xfrm xfrm; argument
103 struct netns_ipvs *ipvs; argument
110 extern struct net init_net; argument
132 static inline struct net *get_net(struct net *net) in get_net()
138 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
150 static inline void put_net(struct net *net) in put_net()
166 static inline struct net *get_net(struct net *net) in get_net()
171 static inline void put_net(struct net *net) in put_net()
175 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
191 static inline struct net *hold_net(struct net *net) in hold_net()
198 static inline void release_net(struct net *net) in release_net()
204 static inline struct net *hold_net(struct net *net) in hold_net()
209 static inline void release_net(struct net *net) in release_net()
216 static inline void write_pnet(struct net **pnet, struct net *net) in write_pnet()
228 #define write_pnet(pnet, net) do { (void)(net);} while (0) argument