2 * Copyright (c) 2016, Jamal Hadi Salim
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
10 #ifndef __LINUX_TC_SKBMOD_H
11 #define __LINUX_TC_SKBMOD_H
13 #include <linux/pkt_cls.h>
15 #define TCA_ACT_SKBMOD 15
17 #define SKBMOD_F_DMAC 0x1
18 #define SKBMOD_F_SMAC 0x2
19 #define SKBMOD_F_ETYPE 0x4
20 #define SKBMOD_F_SWAPMAC 0x8
37 #define TCA_SKBMOD_MAX (__TCA_SKBMOD_MAX - 1)