criu/include/net.h
Pavel Emelyanov 6bf22f8c75 crtools: Get rid of on-stack cr_options
We have global instance of them, that's enough.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-05-28 21:11:13 +04:00

24 lines
419 B
C

#ifndef __CR_NET_H__
#define __CR_NET_H__
#include "list.h"
void show_netdevices(int fd);
struct cr_fdset;
int dump_net_ns(int pid, struct cr_fdset *);
int prepare_net_ns(int pid);
int netns_pre_create(void);
struct veth_pair {
struct list_head node;
char *inside;
char *outside;
};
extern int network_lock(void);
extern void network_unlock(void);
extern struct ns_desc net_ns_desc;
#endif /* __CR_NET_H__ */