Home | History | Annotate | Download | only in extensions

Lines Matching defs:mode

37 "[!] --mode mode 		match mode (transport/tunnel)\n"
86 .name = "mode",
165 exit_error(PARAMETER_PROBLEM, "policy match: invalid mode `%s'", s);
177 int mode;
272 if (e->match.mode)
274 "policy match: double --mode option");
276 mode = parse_mode(argv[optind-1]);
277 e->match.mode = 1;
278 e->invert.mode = invert;
279 e->mode = mode;
332 e->match.daddr || e->match.proto || e->match.mode))
337 && ((e->mode == IP6T_POLICY_MODE_TUNNEL && e->invert.mode) ||
338 (e->mode == IP6T_POLICY_MODE_TRANSPORT && !e->invert.mode)))
341 "is only valid in tunnel mode");
345 static void print_mode(char *prefix, u_int8_t mode, int numeric)
349 switch (mode) {
396 if (e->match.mode) {
397 PRINT_INVERT(e->invert.mode);
398 print_mode(prefix, e->mode, numeric);