Commit 52cb8d43 authored by Pavel Emelyanov's avatar Pavel Emelyanov

sk: Move unix socket code to separate file

Funny, but after this git thinks, that I've renamed the sockets.c
file into sk-unix.c one and fixed it a little bit %)
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 709bbc7f
......@@ -40,6 +40,7 @@ OBJS += log.o
OBJS += libnetlink.o
OBJS += sockets.o
OBJS += sk-inet.o
OBJS += sk-unix.o
OBJS += sk-queue.o
OBJS += files.o
OBJS += pipes.o
......
......@@ -36,9 +36,13 @@ struct socket_desc {
int already_dumped;
};
struct socket_desc *lookup_socket(int ino);
int sk_collect_one(int ino, int family, struct socket_desc *d);
int dump_one_inet(struct socket_desc *_sk, struct fd_parms *p,
const struct cr_fdset *cr_fdset);
int dump_one_unix(const struct socket_desc *_sk, struct fd_parms *p,
int lfd, const struct cr_fdset *cr_fdset);
struct nlmsghdr;
int inet_collect_one(struct nlmsghdr *h, int family, int type, int proto);
int unix_receive_one(struct nlmsghdr *h);
#endif /* CR_SOCKETS_H__ */
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment