Lines Matching defs:net

57 struct net {  struct
61 refcount_t passive; /* To decide when the network argument
74 struct list_head list; /* list of network namespaces */ argument
75 struct list_head exit_list; /* To linked to call pernet exit argument
76 * methods on dead net ( argument
88 struct idr netns_ids; argument
94 struct proc_dir_entry *proc_net; argument
95 struct proc_dir_entry *proc_net_stat; argument
101 struct sock *rtnl; /* rtnetlink socket */ argument
108 struct raw_notifier_head netdev_chain; argument
115 struct net_device *loopback_dev; /* The loopback */ argument
120 struct netns_core core; argument
121 struct netns_mib mib; argument
122 struct netns_packet packet; argument
123 struct netns_unix unx; argument
124 struct netns_nexthop nexthop; argument
125 struct netns_ipv4 ipv4; argument
127 struct netns_ipv6 ipv6; argument
130 struct netns_ieee802154_lowpan ieee802154_lowpan; argument
133 struct netns_sctp sctp; argument
136 struct netns_nf nf; argument
138 struct netns_ct ct; argument
141 struct netns_nftables nft; argument
147 struct net_generic __rcu *gen; argument
150 struct netns_bpf bpf; argument
154 struct netns_xfrm xfrm; argument
157 u64 net_cookie; /* written once */ argument
160 struct netns_ipvs *ipvs; argument
163 struct netns_mpls mpls; argument
166 struct netns_can can; argument
169 struct netns_xdp xdp; argument
172 struct netns_mctp mctp; argument
179 struct netns_smc smc; argument
186 extern struct net init_net; argument
209 static inline void net_ns_get_ownership(const struct net *net, in net_ns_get_ownership()
246 static inline struct net *get_net(struct net *net) in get_net()
252 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
265 static inline void put_net(struct net *net) in put_net()
277 static inline int check_net(const struct net *net) in check_net()
286 static inline struct net *get_net(struct net *net) in get_net()
291 static inline void put_net(struct net *net) in put_net()
295 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net()
306 static inline int check_net(const struct net *net) in check_net()
315 static inline void netns_tracker_alloc(struct net *net, in netns_tracker_alloc()
323 static inline void netns_tracker_free(struct net *net, in netns_tracker_free()
331 static inline struct net *get_net_track(struct net *net, in get_net_track()
339 static inline void put_net_track(struct net *net, netns_tracker *tracker) in put_net_track()
347 struct net *net; member
351 static inline void write_pnet(possible_net_t *pnet, struct net *net) in write_pnet()
457 static inline struct ctl_table_header *register_net_sysctl(struct net *net, in register_net_sysctl()
467 static inline int rt_genid_ipv4(const struct net *net) in rt_genid_ipv4()
473 static inline int rt_genid_ipv6(const struct net *net) in rt_genid_ipv6()
479 static inline void rt_genid_bump_ipv4(struct net *net) in rt_genid_bump_ipv4()
485 static inline void rt_genid_bump_ipv6(struct net *net) in rt_genid_bump_ipv6()
493 net_ieee802154_lowpan(struct net *net) in net_ieee802154_lowpan()
500 static inline void rt_genid_bump_all(struct net *net) in rt_genid_bump_all()
506 static inline int fnhe_genid(const struct net *net) in fnhe_genid()
511 static inline void fnhe_genid_bump(struct net *net) in fnhe_genid_bump()