This source file includes following definitions.
- ISO_SUSP_HEADER
- ISO_RRIP_ATTR
- ISO_RRIP_DEVICE
- ISO_RRIP_SLINK_COMPONENT
- ISO_RRIP_SLINK
- ISO_RRIP_ALTNAME
- ISO_RRIP_CLINK
- ISO_RRIP_PLINK
- ISO_RRIP_RELDIR
- ISO_RRIP_TSTAMP
- ISO_RRIP_IDFLAG
- ISO_RRIP_EXTREF
- ISO_RRIP_OFFSET
- ISO_RRIP_CONT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 typedef struct {
41 char type [ISODCL ( 0, 1)];
42 u_char length [ISODCL ( 2, 2)];
43 u_char version [ISODCL ( 3, 3)];
44 } ISO_SUSP_HEADER;
45
46 typedef struct {
47 ISO_SUSP_HEADER h;
48 char mode [ISODCL ( 4, 11)];
49 char links [ISODCL ( 12, 19)];
50 char uid [ISODCL ( 20, 27)];
51 char gid [ISODCL ( 28, 35)];
52 } ISO_RRIP_ATTR;
53
54 typedef struct {
55 ISO_SUSP_HEADER h;
56 char dev_t_high [ISODCL ( 4, 11)];
57 char dev_t_low [ISODCL ( 12, 19)];
58 } ISO_RRIP_DEVICE;
59
60 #define ISO_SUSP_CFLAG_CONTINUE 0x01
61 #define ISO_SUSP_CFLAG_CURRENT 0x02
62 #define ISO_SUSP_CFLAG_PARENT 0x04
63 #define ISO_SUSP_CFLAG_ROOT 0x08
64 #define ISO_SUSP_CFLAG_VOLROOT 0x10
65 #define ISO_SUSP_CFLAG_HOST 0x20
66
67 typedef struct {
68 u_char cflag [ISODCL ( 1, 1)];
69 u_char clen [ISODCL ( 2, 2)];
70 u_char name [1];
71 } ISO_RRIP_SLINK_COMPONENT;
72 #define ISO_RRIP_SLSIZ 2
73
74 typedef struct {
75 ISO_SUSP_HEADER h;
76 u_char flags [ISODCL ( 4, 4)];
77 u_char component [ISODCL ( 5, 5)];
78 } ISO_RRIP_SLINK;
79
80 typedef struct {
81 ISO_SUSP_HEADER h;
82 char flags [ISODCL ( 4, 4)];
83 } ISO_RRIP_ALTNAME;
84
85 typedef struct {
86 ISO_SUSP_HEADER h;
87 char dir_loc [ISODCL ( 4, 11)];
88 } ISO_RRIP_CLINK;
89
90 typedef struct {
91 ISO_SUSP_HEADER h;
92 char dir_loc [ISODCL ( 4, 11)];
93 } ISO_RRIP_PLINK;
94
95 typedef struct {
96 ISO_SUSP_HEADER h;
97 } ISO_RRIP_RELDIR;
98
99 #define ISO_SUSP_TSTAMP_FORM17 0x80
100 #define ISO_SUSP_TSTAMP_FORM7 0x00
101 #define ISO_SUSP_TSTAMP_CREAT 0x01
102 #define ISO_SUSP_TSTAMP_MODIFY 0x02
103 #define ISO_SUSP_TSTAMP_ACCESS 0x04
104 #define ISO_SUSP_TSTAMP_ATTR 0x08
105 #define ISO_SUSP_TSTAMP_BACKUP 0x10
106 #define ISO_SUSP_TSTAMP_EXPIRE 0x20
107 #define ISO_SUSP_TSTAMP_EFFECT 0x40
108
109 typedef struct {
110 ISO_SUSP_HEADER h;
111 u_char flags [ISODCL ( 4, 4)];
112 u_char time [ISODCL ( 5, 5)];
113 } ISO_RRIP_TSTAMP;
114
115 typedef struct {
116 ISO_SUSP_HEADER h;
117 u_char flags [ISODCL ( 4, 4)];
118 } ISO_RRIP_IDFLAG;
119
120 typedef struct {
121 ISO_SUSP_HEADER h;
122 char len_id [ISODCL ( 4, 4)];
123 char len_des [ISODCL ( 5, 5)];
124 char len_src [ISODCL ( 6, 6)];
125 char version [ISODCL ( 7, 7)];
126 } ISO_RRIP_EXTREF;
127
128 typedef struct {
129 ISO_SUSP_HEADER h;
130 char check [ISODCL ( 4, 5)];
131 char skip [ISODCL ( 6, 6)];
132 } ISO_RRIP_OFFSET;
133
134 typedef struct {
135 ISO_SUSP_HEADER h;
136 char location [ISODCL ( 4, 11)];
137 char offset [ISODCL ( 12, 19)];
138 char length [ISODCL ( 20, 27)];
139 } ISO_RRIP_CONT;