Lines Matching defs:option
26 "[!] --tcp-option number match if TCP option set\n");
29 static const struct option tcp_opts[] = {
36 {.name = "tcp-option", .has_arg = true, .val = '5'},
118 parse_tcp_option(const char *option, uint8_t *result)
122 if (!xtables_strtoui(option, NULL, &ret, 1, UINT8_MAX))
123 xtables_error(PARAMETER_PROBLEM, "Bad TCP option \"%s\"", option);
195 "Only one `--tcp-option' allowed");
196 parse_tcp_option(optarg, &tcpinfo->option);
249 print_option(uint8_t option, int invert, int numeric)
251 if (option || invert)
252 printf(" option=%s%u", invert ? "!" : "", option);
305 print_option(tcp->option,
348 if (tcpinfo->option
352 printf(" --tcp-option %u", tcpinfo->option);