mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Since we're going to switch from int-fd-s to class-image soon the fdset name will not fit into the new terminology. This patch is sed -e 's/fdset/imgset/g' -i * sed -e 's/imgset_fd/img_from_set/g' -i * git mv include/fdset.h include/imgset.h Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
39 lines
797 B
C
39 lines
797 B
C
#ifndef __CR_SK_PACKET_H__
|
|
#define __CR_SK_PACKET_H__
|
|
|
|
#ifndef PACKET_TIMESTAMP
|
|
#define PACKET_TIMESTAMP 17
|
|
#endif
|
|
|
|
struct cr_imgset;
|
|
struct fd_parms;
|
|
struct vma_area;
|
|
|
|
extern struct collect_image_info packet_sk_cinfo;
|
|
|
|
extern int dump_socket_map(struct vma_area *vma);
|
|
extern int get_socket_fd(int pid, VmaEntry *vma);
|
|
|
|
extern int packet_receive_one(struct nlmsghdr *h, void *arg);
|
|
|
|
#ifndef PACKET_VNET_HDR
|
|
#define PACKET_VNET_HDR 15
|
|
#endif
|
|
|
|
#ifndef PACKET_FANOUT
|
|
#define PACKET_FANOUT 18
|
|
#endif
|
|
|
|
#ifndef TPACKET3_HDRLEN
|
|
struct tpacket_req3 {
|
|
unsigned int tp_block_size;
|
|
unsigned int tp_block_nr;
|
|
unsigned int tp_frame_size;
|
|
unsigned int tp_frame_nr;
|
|
unsigned int tp_retire_blk_tov;
|
|
unsigned int tp_sizeof_priv;
|
|
unsigned int tp_feature_req_word;
|
|
};
|
|
#endif
|
|
|
|
#endif /* __CR_SK_PACKET_H__ */
|