Lines Matching refs:net
33 static inline struct netns_ipvs *net_ipvs(struct net* net) in net_ipvs() argument
35 return net->ipvs; in net_ipvs()
41 static inline struct net *skb_net(const struct sk_buff *skb) in skb_net()
69 static inline struct net *skb_sknet(const struct sk_buff *skb) in skb_sknet()
94 static inline struct net *seq_file_single_net(struct seq_file *seq) in seq_file_single_net()
97 return (struct net *)seq->private; in seq_file_single_net()
440 int (*init_netns)(struct net *net, struct ip_vs_proto_data *pd);
442 void (*exit_netns)(struct net *net, struct ip_vs_proto_data *pd);
476 int (*register_app)(struct net *net, struct ip_vs_app *inc);
478 void (*unregister_app)(struct net *net, struct ip_vs_app *inc);
500 struct ip_vs_proto_data *ip_vs_proto_data_get(struct net *net,
504 struct net *net; member
532 struct net *net; /* Name space */ member
581 static inline struct net *ip_vs_conn_net(const struct ip_vs_conn *cp) in ip_vs_conn_net()
584 return cp->net; in ip_vs_conn_net()
590 static inline void ip_vs_conn_net_set(struct ip_vs_conn *cp, struct net *net) in ip_vs_conn_net_set() argument
593 cp->net = net; in ip_vs_conn_net_set()
598 struct net *net) in ip_vs_conn_net_eq() argument
601 return cp->net == net; in ip_vs_conn_net_eq()
666 struct net *net; member
974 struct net *net; /* Needed by timer routines */ member
1161 static inline void ip_vs_conn_fill_param(struct net *net, int af, int protocol, in ip_vs_conn_fill_param() argument
1168 p->net = net; in ip_vs_conn_fill_param()
1218 void ip_vs_tcp_conn_listen(struct net *net, struct ip_vs_conn *cp);
1220 void ip_vs_random_dropentry(struct net *net);
1285 int ip_vs_estimator_net_init(struct net *net);
1286 int ip_vs_control_net_init(struct net *net);
1287 int ip_vs_protocol_net_init(struct net *net);
1288 int ip_vs_app_net_init(struct net *net);
1289 int ip_vs_conn_net_init(struct net *net);
1290 int ip_vs_sync_net_init(struct net *net);
1291 void ip_vs_conn_net_cleanup(struct net *net);
1292 void ip_vs_app_net_cleanup(struct net *net);
1293 void ip_vs_protocol_net_cleanup(struct net *net);
1294 void ip_vs_control_net_cleanup(struct net *net);
1295 void ip_vs_estimator_net_cleanup(struct net *net);
1296 void ip_vs_sync_net_cleanup(struct net *net);
1297 void ip_vs_service_net_cleanup(struct net *net);
1303 struct ip_vs_app *register_ip_vs_app(struct net *net, struct ip_vs_app *app);
1304 void unregister_ip_vs_app(struct net *net, struct ip_vs_app *app);
1307 int register_ip_vs_app_inc(struct net *net, struct ip_vs_app *app, __u16 proto,
1372 ip_vs_service_find(struct net *net, int af, __u32 fwmark, __u16 protocol,
1375 bool ip_vs_has_real_service(struct net *net, int af, __u16 protocol,
1385 ip_vs_find_dest(struct net *net, int svc_af, int dest_af,
1411 int start_sync_thread(struct net *net, int state, char *mcast_ifn, __u8 syncid);
1412 int stop_sync_thread(struct net *net, int state);
1413 void ip_vs_sync_conn(struct net *net, struct ip_vs_conn *cp, int pkts);
1416 void ip_vs_start_estimator(struct net *net, struct ip_vs_stats *stats);
1417 void ip_vs_stop_estimator(struct net *net, struct ip_vs_stats *stats);