Lines Matching refs:info
127 struct xt_connmark_tginfo1 *info = (void *)target->data;
133 info->ctmask = UINT32_MAX;
134 info->nfmask = UINT32_MAX;
162 struct xt_connmark_tginfo1 *info = cb->data;
167 info->mode = XT_CONNMARK_SET;
168 info->ctmark = cb->val.mark;
169 info->ctmask = cb->val.mask;
172 info->mode = XT_CONNMARK_SET;
173 info->ctmark = cb->val.mark;
174 info->ctmask = cb->val.mark | cb->val.mask;
177 info->mode = XT_CONNMARK_SET;
178 info->ctmark = 0;
179 info->ctmask = ~cb->val.u32;
182 info->mode = XT_CONNMARK_SET;
183 info->ctmark = cb->val.u32;
184 info->ctmask = cb->val.u32;
187 info->mode = XT_CONNMARK_SET;
188 info->ctmark = cb->val.u32;
189 info->ctmask = 0;
192 info->mode = XT_CONNMARK_SAVE;
195 info->mode = XT_CONNMARK_RESTORE;
198 info->nfmask = info->ctmask = cb->val.u32;
252 const struct xt_connmark_tginfo1 *info = (const void *)target->data;
254 switch (info->mode) {
256 if (info->ctmark == 0)
258 (unsigned int)(uint32_t)~info->ctmask);
259 else if (info->ctmark == info->ctmask)
260 printf(" CONNMARK or 0x%x", info->ctmark);
261 else if (info->ctmask == 0)
262 printf(" CONNMARK xor 0x%x", info->ctmark);
263 else if (info->ctmask == 0xFFFFFFFFU)
264 printf(" CONNMARK set 0x%x", info->ctmark);
267 info->ctmark, info->ctmask);
270 if (info->nfmask == UINT32_MAX && info->ctmask == UINT32_MAX)
272 else if (info->nfmask == info->ctmask)
273 printf(" CONNMARK save mask 0x%x", info->nfmask);
276 info->nfmask, info->ctmask);
279 if (info->ctmask == UINT32_MAX && info->nfmask == UINT32_MAX)
281 else if (info->ctmask == info->nfmask)
282 printf(" CONNMARK restore mask 0x%x", info->ctmask);
285 info->ctmask, info->nfmask);
330 const struct xt_connmark_tginfo1 *info = (const void *)target->data;
332 switch (info->mode) {
334 printf(" --set-xmark 0x%x/0x%x", info->ctmark, info->ctmask);
338 info->nfmask, info->ctmask);
342 info->nfmask, info->ctmask);