Lines Matching defs:net

61 struct net {  struct
65 refcount_t passive; /* To decide when the network argument
76 struct list_head list; /* list of network namespaces */ argument
77 struct list_head exit_list; /* To linked to call pernet exit argument
78 * methods on dead net ( argument
91 struct idr netns_ids; argument
96 * refcounted against netns argument
99 struct proc_dir_entry *proc_net; argument
100 struct proc_dir_entry *proc_net_stat; argument
106 struct sock *rtnl; /* rtnetlink socket */ argument
114 struct raw_notifier_head netdev_chain; argument
121 struct net_device *loopback_dev; /* The loopback */ argument
126 struct netns_core core; argument
127 struct netns_mib mib; argument
128 struct netns_packet packet; argument
130 struct netns_unix unx; argument
132 struct netns_nexthop nexthop; argument
133 struct netns_ipv4 ipv4; argument
135 struct netns_ipv6 ipv6; argument
138 struct netns_ieee802154_lowpan ieee802154_lowpan; argument
141 struct netns_sctp sctp; argument
144 struct netns_nf nf; argument
146 struct netns_ct ct; argument
149 struct netns_nftables nft; argument
152 struct netns_ft ft; argument
158 struct net_generic __rcu *gen; argument
161 struct netns_bpf bpf; argument
165 struct netns_xfrm xfrm; argument
168 u64 net_cookie; /* written once */ argument
171 struct netns_ipvs *ipvs; argument
174 struct netns_mpls mpls; argument
177 struct netns_can can; argument
180 struct netns_xdp xdp; argument
183 struct netns_mctp mctp; argument
190 struct netns_smc smc; argument
201 extern struct net init_net; argument
226 static inline void net_ns_get_ownership(const struct net *net, in net_ns_get_ownership()
263 static inline struct net *get_net(struct net *net) in get_net()
269 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
282 static inline void put_net(struct net *net) in put_net()
294 static inline int check_net(const struct net *net) in check_net()
304 static inline struct net *get_net(struct net *net) in get_net()
309 static inline void put_net(struct net *net) in put_net()
313 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
324 static inline int check_net(const struct net *net) in check_net()
331 static inline void net_passive_dec(struct net *net) in net_passive_dec()
337 static inline void net_passive_inc(struct net *net) in net_passive_inc()
343 static inline bool net_initialized(const struct net *net) in net_initialized()
348 static inline void __netns_tracker_alloc(struct net *net, in __netns_tracker_alloc()
360 static inline void netns_tracker_alloc(struct net *net, netns_tracker *tracker, in netns_tracker_alloc()
366 static inline void __netns_tracker_free(struct net *net, in __netns_tracker_free()
376 static inline struct net *get_net_track(struct net *net, in get_net_track()
384 static inline void put_net_track(struct net *net, netns_tracker *tracker) in put_net_track()
392 struct net __rcu *net; member
396 static inline void write_pnet(possible_net_t *pnet, struct net *net) in write_pnet()
507 #define register_net_sysctl(net, path, table) \ argument
516 static inline struct ctl_table_header *register_net_sysctl_sz(struct net *net, in register_net_sysctl_sz()
526 static inline int rt_genid_ipv4(const struct net *net) in rt_genid_ipv4()
532 static inline int rt_genid_ipv6(const struct net *net) in rt_genid_ipv6()
538 static inline void rt_genid_bump_ipv4(struct net *net) in rt_genid_bump_ipv4()
544 static inline void rt_genid_bump_ipv6(struct net *net) in rt_genid_bump_ipv6()
552 net_ieee802154_lowpan(struct net *net) in net_ieee802154_lowpan()
559 static inline void rt_genid_bump_all(struct net *net) in rt_genid_bump_all()
565 static inline int fnhe_genid(const struct net *net) in fnhe_genid()
570 static inline void fnhe_genid_bump(struct net *net) in fnhe_genid_bump()