Lines Matching defs:tos
19 uint8_t tos;
35 {.name = "set-tos", .id = O_SET_TOS, .type = XTTYPE_TOSMASK,
41 {.name = "set-tos", .id = O_SET_TOS, .type = XTTYPE_TOSMASK,
43 {.name = "and-tos", .id = O_AND_TOS, .type = XTTYPE_UINT8,
45 {.name = "or-tos", .id = O_OR_TOS, .type = XTTYPE_UINT8,
47 {.name = "xor-tos", .id = O_XOR_TOS, .type = XTTYPE_UINT8,
58 " --set-tos value Set Type of Service/Priority field to value\n"
59 " --set-tos symbol Set TOS field (IPv4 only) by symbol\n"
75 " --set-tos value[/mask] Set Type of Service/Priority field to value\n"
77 " --set-tos symbol Set TOS field (IPv4 only) by symbol\n"
88 " --and-tos bits Binary AND the TOS value with bits\n"
89 " --or-tos bits Binary OR the TOS value with bits\n"
90 " --xor-tos bits Binary XOR the TOS value with bits\n"
100 xtables_error(PARAMETER_PROBLEM, "tos match: Your kernel "
103 info->tos = cb->val.tos_value;
144 if (numeric || !tos_try_print_symbolic("", info->tos, 0xFF))
145 printf("0x%02x", info->tos);
176 printf(" --set-tos 0x%02x", info->tos);
183 printf(" --set-tos 0x%02x/0x%02x", info->tos_value, info->tos_mask);