Lines Matching defs:net
60 struct net { struct
64 refcount_t passive; /* To decide when the network argument
77 struct list_head list; /* list of network namespaces */ argument
78 struct list_head exit_list; /* To linked to call pernet exit argument
79 * methods on dead net ( argument
91 struct idr netns_ids; argument
97 struct proc_dir_entry *proc_net; argument
98 struct proc_dir_entry *proc_net_stat; argument
104 struct sock *rtnl; /* rtnetlink socket */ argument
111 struct raw_notifier_head netdev_chain; argument
118 struct net_device *loopback_dev; /* The loopback */ argument
123 struct netns_core core; argument
124 struct netns_mib mib; argument
125 struct netns_packet packet; argument
127 struct netns_unix unx; argument
129 struct netns_nexthop nexthop; argument
130 struct netns_ipv4 ipv4; argument
132 struct netns_ipv6 ipv6; argument
135 struct netns_ieee802154_lowpan ieee802154_lowpan; argument
138 struct netns_sctp sctp; argument
141 struct netns_nf nf; argument
143 struct netns_ct ct; argument
146 struct netns_nftables nft; argument
149 struct netns_ft ft; argument
155 struct net_generic __rcu *gen; argument
158 struct netns_bpf bpf; argument
162 struct netns_xfrm xfrm; argument
165 u64 net_cookie; /* written once */ argument
168 struct netns_ipvs *ipvs; argument
171 struct netns_mpls mpls; argument
174 struct netns_can can; argument
177 struct netns_xdp xdp; argument
180 struct netns_mctp mctp; argument
187 struct netns_smc smc; argument
194 extern struct net init_net; argument
217 static inline void net_ns_get_ownership(const struct net *net, in net_ns_get_ownership()
254 static inline struct net *get_net(struct net *net) in get_net()
260 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
273 static inline void put_net(struct net *net) in put_net()
285 static inline int check_net(const struct net *net) in check_net()
294 static inline struct net *get_net(struct net *net) in get_net()
299 static inline void put_net(struct net *net) in put_net()
303 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
314 static inline int check_net(const struct net *net) in check_net()
323 static inline void netns_tracker_alloc(struct net *net, in netns_tracker_alloc()
331 static inline void netns_tracker_free(struct net *net, in netns_tracker_free()
339 static inline struct net *get_net_track(struct net *net, in get_net_track()
347 static inline void put_net_track(struct net *net, netns_tracker *tracker) in put_net_track()
355 struct net *net; member
359 static inline void write_pnet(possible_net_t *pnet, struct net *net) in write_pnet()
465 static inline struct ctl_table_header *register_net_sysctl(struct net *net, in register_net_sysctl()
475 static inline int rt_genid_ipv4(const struct net *net) in rt_genid_ipv4()
481 static inline int rt_genid_ipv6(const struct net *net) in rt_genid_ipv6()
487 static inline void rt_genid_bump_ipv4(struct net *net) in rt_genid_bump_ipv4()
493 static inline void rt_genid_bump_ipv6(struct net *net) in rt_genid_bump_ipv6()
501 net_ieee802154_lowpan(struct net *net) in net_ieee802154_lowpan()
508 static inline void rt_genid_bump_all(struct net *net) in rt_genid_bump_all()
514 static inline int fnhe_genid(const struct net *net) in fnhe_genid()
519 static inline void fnhe_genid_bump(struct net *net) in fnhe_genid_bump()