mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 17:49:13 +00:00
Will need it int netns dumping callbacks later. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
10 lines
328 B
C
10 lines
328 B
C
#ifndef LIBNETLINK_H__
|
|
#define LIBNETLINK_H__
|
|
|
|
#define CR_NLMSG_SEQ 24680 /* arbitrary chosen */
|
|
|
|
extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len);
|
|
extern int do_rtnl_req(int nl, void *req, int size,
|
|
int (*receive_callback)(struct nlmsghdr *h, void *), void *);
|
|
|
|
#endif /* LIBNETLINK_H__ */
|