mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
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
|