criu/include/net.h
Pavel Emelyanov 03d0758df3 Revert "net: Introduce netdev index to name resolver"
This reverts commit ef3771d566.
With new SO_BINDTODEVICE getting API it's not required.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-11-28 20:27:16 +03:00

22 lines
403 B
C

#ifndef __CR_NET_H__
#define __CR_NET_H__
#include "list.h"
struct cr_options;
void show_netdevices(int fd, struct cr_options *);
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);
#endif