mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 04:48:16 +00:00
It will be used in the parasite Signed-off-by: Andrey Vagin <avagin@openvz.org> Acked-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
10 lines
256 B
C
10 lines
256 B
C
#ifndef UTIL_NET_H_
|
|
#define UTIL_NET_H_
|
|
|
|
#define UNIX_PATH_MAX (sizeof(struct sockaddr_un) - \
|
|
(size_t)((struct sockaddr_un *) 0)->sun_path)
|
|
|
|
extern int send_fd(int sock, struct sockaddr_un *saddr, int len, int fd);
|
|
extern int recv_fd(int sock);
|
|
#endif
|