#include "tc_common.h"
#include <linux/tc_act/tc_mirred.h>
-int mirred_d = 1;
-
static void
explain(void)
{
}
}
- if (mirred_d)
- fprintf(stdout, "Action %d device %s ifindex %d\n",p.action, d,p.ifindex);
-
tail = NLMSG_TAIL(n);
addattr_l(n, MAX_MSG, tca_id, NULL, 0);
addattr_l(n, MAX_MSG, TCA_MIRRED_PARMS, &p, sizeof (p));