mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 01:06:58 +00:00
* /proc/<pid>/map_files * sock diag * ns_last_pid sysctl * SO_PEEK_OFF sockoptions Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
13 lines
318 B
C
13 lines
318 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)
|
|
|
|
#ifndef SO_PEEK_OFF
|
|
#define SO_PEEK_OFF 42
|
|
#endif
|
|
|
|
extern int send_fd(int sock, struct sockaddr_un *saddr, int len, int fd);
|
|
extern int recv_fd(int sock);
|
|
#endif
|