Lines Matching defs:net
59 struct net { struct
63 refcount_t passive; /* To decide when the network argument
66 refcount_t count; /* To decided when the network argument
79 struct list_head list; /* list of network namespaces */ argument
80 struct list_head exit_list; /* To linked to call pernet exit argument
81 * methods on dead net ( argument
93 struct idr netns_ids; argument
98 struct proc_dir_entry *proc_net; argument
99 struct proc_dir_entry *proc_net_stat; argument
105 struct sock *rtnl; /* rtnetlink socket */ argument
112 struct raw_notifier_head netdev_chain; argument
119 struct net_device *loopback_dev; /* The loopback */ argument
124 struct netns_core core; argument
125 struct netns_mib mib; argument
126 struct netns_packet packet; argument
127 struct netns_unix unx; argument
128 struct netns_nexthop nexthop; argument
129 struct netns_ipv4 ipv4; argument
131 struct netns_ipv6 ipv6; argument
134 struct netns_newip newip; /* NIP */ argument
137 struct netns_ieee802154_lowpan ieee802154_lowpan; argument
140 struct netns_sctp sctp; argument
143 struct netns_dccp dccp; argument
146 struct netns_nf nf; argument
147 struct netns_xt xt; argument
149 struct netns_ct ct; argument
152 struct netns_nftables nft; argument
155 struct netns_nf_frag nf_frag; argument
170 struct net_generic __rcu *gen; argument
173 struct netns_bpf bpf; argument
177 struct netns_xfrm xfrm; argument
180 atomic64_t net_cookie; /* written once */ argument
183 struct netns_ipvs *ipvs; argument
186 struct netns_mpls mpls; argument
189 struct netns_can can; argument
192 struct netns_xdp xdp; argument
203 extern struct net init_net; argument
225 static inline void net_ns_get_ownership(const struct net *net, in net_ns_get_ownership()
259 static inline struct net *get_net(struct net *net) in get_net()
265 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
277 static inline void put_net(struct net *net) in put_net()
289 static inline int check_net(const struct net *net) in check_net()
298 static inline struct net *get_net(struct net *net) in get_net()
303 static inline void put_net(struct net *net) in put_net()
307 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
318 static inline int check_net(const struct net *net) in check_net()
329 struct net *net; member
333 static inline void write_pnet(possible_net_t *pnet, struct net *net) in write_pnet()
440 static inline struct ctl_table_header *register_net_sysctl(struct net *net, in register_net_sysctl()
450 static inline int rt_genid_ipv4(const struct net *net) in rt_genid_ipv4()
456 static inline int rt_genid_ipv6(const struct net *net) in rt_genid_ipv6()
462 static inline void rt_genid_bump_ipv4(struct net *net) in rt_genid_bump_ipv4()
468 static inline void rt_genid_bump_ipv6(struct net *net) in rt_genid_bump_ipv6()
476 net_ieee802154_lowpan(struct net *net) in net_ieee802154_lowpan()
483 static inline void rt_genid_bump_all(struct net *net) in rt_genid_bump_all()
489 static inline int fnhe_genid(const struct net *net) in fnhe_genid()
494 static inline void fnhe_genid_bump(struct net *net) in fnhe_genid_bump()