Lines Matching defs:mode
37 "[!] --mode mode match mode (transport/tunnel)\n"
86 .name = "mode",
164 exit_error(PARAMETER_PROBLEM, "policy match: invalid mode `%s'", s);
176 int mode;
271 if (e->match.mode)
273 "policy match: double --mode option");
275 mode = parse_mode(argv[optind-1]);
276 e->match.mode = 1;
277 e->invert.mode = invert;
278 e->mode = mode;
331 e->match.daddr || e->match.proto || e->match.mode))
336 && ((e->mode == IP6T_POLICY_MODE_TUNNEL && e->invert.mode) ||
337 (e->mode == IP6T_POLICY_MODE_TRANSPORT && !e->invert.mode)))
340 "is only valid in tunnel mode");
344 static void print_mode(char *prefix, u_int8_t mode, int numeric)
348 switch (mode) {
395 if (e->match.mode) {
396 PRINT_INVERT(e->invert.mode);
397 print_mode(prefix, e->mode, numeric);