3 @@ -36,6 +36,7 @@ TCMODULES += m_mirred.o
6 TCMODULES += m_skbedit.o
7 +TCMODULES += m_connmark.o
15 + * m_connmark.c Connection tracking marking import
17 + * Copyright (c) 2011 Felix Fietkau <nbd@openwrt.org>
19 + * This program is free software; you can redistribute it and/or modify it
20 + * under the terms and conditions of the GNU General Public License,
21 + * version 2, as published by the Free Software Foundation.
23 + * This program is distributed in the hope it will be useful, but WITHOUT
24 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25 + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
28 + * You should have received a copy of the GNU General Public License along with
29 + * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
30 + * Place - Suite 330, Boston, MA 02111-1307 USA.
43 + fprintf(stderr, "Usage: ... connmark\n");
54 +parse_connmark(struct action_util *a, int *argc_p, char ***argv_p, int tca_id,
58 + char **argv = *argv_p;
60 + if (matches(*argv, "connmark") != 0)
70 +static int print_connmark(struct action_util *au, FILE *f, struct rtattr *arg)
75 + fprintf(f, " connmark");
80 +struct action_util connmark_action_util = {
82 + .parse_aopt = parse_connmark,
83 + .print_aopt = print_connmark,