Lines Matching full:state
19 "state match options:\n"
20 " [!] --state [INVALID|ESTABLISHED|NEW|RELATED|UNTRACKED][,...]\n"
21 " State(s) to match\n");
25 {.name = "state", .id = O_STATE, .type = XTTYPE_STRING,
31 state_parse_state(const char *state, size_t len, struct xt_state_info *sinfo)
33 if (strncasecmp(state, "INVALID", len) == 0)
35 else if (strncasecmp(state, "NEW", len) == 0)
37 else if (strncasecmp(state, "ESTABLISHED", len) == 0)
39 else if (strncasecmp(state, "RELATED", len) == 0)
41 else if (strncasecmp(state, "UNTRACKED", len) == 0)
55 xtables_error(PARAMETER_PROBLEM, "Bad state \"%s\"", arg);
59 xtables_error(PARAMETER_PROBLEM, "\"--state\" requires a list of "
63 xtables_error(PARAMETER_PROBLEM, "Bad state \"%s\"", arg);
109 printf(" state ");
117 printf(" --state ");
123 .name = "state",