Lines Matching defs:net

56 struct net {  struct
60 refcount_t passive; /* To decide when the network argument
63 refcount_t count; /* To decided 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
90 struct idr netns_ids; argument
95 struct proc_dir_entry *proc_net; argument
96 struct proc_dir_entry *proc_net_stat; argument
102 struct sock *rtnl; /* rtnetlink socket */ argument
109 struct raw_notifier_head netdev_chain; argument
116 struct net_device *loopback_dev; /* The loopback */ argument
121 struct netns_core core; argument
122 struct netns_mib mib; argument
123 struct netns_packet packet; argument
124 struct netns_unix unx; argument
125 struct netns_nexthop nexthop; argument
126 struct netns_ipv4 ipv4; argument
128 struct netns_ipv6 ipv6; argument
131 struct netns_ieee802154_lowpan ieee802154_lowpan; argument
134 struct netns_sctp sctp; argument
137 struct netns_dccp dccp; argument
140 struct netns_nf nf; argument
141 struct netns_xt xt; argument
143 struct netns_ct ct; argument
146 struct netns_nftables nft; argument
149 struct netns_nf_frag nf_frag; argument
164 struct net_generic __rcu *gen; argument
167 struct netns_bpf bpf; argument
171 struct netns_xfrm xfrm; argument
174 atomic64_t net_cookie; /* written once */ argument
177 struct netns_ipvs *ipvs; argument
180 struct netns_mpls mpls; argument
183 struct netns_can can; argument
186 struct netns_xdp xdp; argument
197 extern struct net init_net; argument
219 static inline void net_ns_get_ownership(const struct net *net, in net_ns_get_ownership()
253 static inline struct net *get_net(struct net *net) in get_net()
259 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
271 static inline void put_net(struct net *net) in put_net()
283 static inline int check_net(const struct net *net) in check_net()
292 static inline struct net *get_net(struct net *net) in get_net()
297 static inline void put_net(struct net *net) in put_net()
301 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
312 static inline int check_net(const struct net *net) in check_net()
323 struct net *net; member
327 static inline void write_pnet(possible_net_t *pnet, struct net *net) in write_pnet()
434 static inline struct ctl_table_header *register_net_sysctl(struct net *net, in register_net_sysctl()
444 static inline int rt_genid_ipv4(const struct net *net) in rt_genid_ipv4()
450 static inline int rt_genid_ipv6(const struct net *net) in rt_genid_ipv6()
456 static inline void rt_genid_bump_ipv4(struct net *net) in rt_genid_bump_ipv4()
462 static inline void rt_genid_bump_ipv6(struct net *net) in rt_genid_bump_ipv6()
470 net_ieee802154_lowpan(struct net *net) in net_ieee802154_lowpan()
477 static inline void rt_genid_bump_all(struct net *net) in rt_genid_bump_all()
483 static inline int fnhe_genid(const struct net *net) in fnhe_genid()
488 static inline void fnhe_genid_bump(struct net *net) in fnhe_genid_bump()