Lines Matching defs:mark
29 unsigned long mark;
63 " --set-mark value[/mask] Set conntrack mark value\n"
64 " --save-mark [--mask mask] Save the packet nfmark in the connection\n"
65 " --restore-mark [--mask mask] Restore saved nfmark value\n");
70 {.name = "set-mark", .id = O_SET_MARK, .type = XTTYPE_MARKMASK32,
72 {.name = "save-mark", .id = O_SAVE_MARK, .type = XTTYPE_NONE,
74 {.name = "restore-mark", .id = O_RESTORE_MARK, .type = XTTYPE_NONE,
85 {.name = "set-mark", .id = O_SET_MARK, .type = XTTYPE_MARKMASK32,
87 {.name = "and-mark", .id = O_AND_MARK, .type = XTTYPE_UINT32,
89 {.name = "or-mark", .id = O_OR_MARK, .type = XTTYPE_UINT32,
91 {.name = "xor-mark", .id = O_XOR_MARK, .type = XTTYPE_UINT32,
93 {.name = "save-mark", .id = O_SAVE_MARK, .type = XTTYPE_NONE,
95 {.name = "restore-mark", .id = O_RESTORE_MARK, .type = XTTYPE_NONE,
112 " --save-mark [--ctmask mask] [--nfmask mask]\n"
114 " --restore-mark [--ctmask mask] [--nfmask mask]\n"
116 " --set-mark value[/mask] Set conntrack mark value\n"
117 " --save-mark [--mask mask] Save the packet nfmark in the connection\n"
118 " --restore-mark [--mask mask] Restore saved nfmark value\n"
119 " --and-mark value Binary AND the ctmark with bits\n"
120 " --or-mark value Binary OR the ctmark with bits\n"
121 " --xor-mark value Binary XOR the ctmark with bits\n"
130 * Need these defaults for --save-mark/--restore-mark if no
145 markinfo->mark = cb->val.mark;
168 info->ctmark = cb->val.mark;
173 info->ctmark = cb->val.mark;
174 info->ctmask = cb->val.mark | cb->val.mask;
211 print_mark(unsigned long mark)
213 printf("0x%lx", mark);
231 print_mark(markinfo->mark);
301 printf(" --set-mark ");
302 print_mark(markinfo->mark);
306 printf(" --save-mark ");
310 printf(" --restore-mark ");
337 printf(" --save-mark --nfmask 0x%x --ctmask 0x%x",
341 printf(" --restore-mark --nfmask 0x%x --ctmask 0x%x",