1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef __LINUX_TC_SKBMOD_H 8 #define __LINUX_TC_SKBMOD_H 9 #include <linux/pkt_cls.h> 10 #define SKBMOD_F_DMAC 0x1 11 #define SKBMOD_F_SMAC 0x2 12 #define SKBMOD_F_ETYPE 0x4 13 #define SKBMOD_F_SWAPMAC 0x8 14 #define SKBMOD_F_ECN 0x10 15 struct tc_skbmod { 16 tc_gen; 17 __u64 flags; 18 }; 19 enum { 20 TCA_SKBMOD_UNSPEC, 21 TCA_SKBMOD_TM, 22 TCA_SKBMOD_PARMS, 23 TCA_SKBMOD_DMAC, 24 TCA_SKBMOD_SMAC, 25 TCA_SKBMOD_ETYPE, 26 TCA_SKBMOD_PAD, 27 __TCA_SKBMOD_MAX 28 }; 29 #define TCA_SKBMOD_MAX (__TCA_SKBMOD_MAX - 1) 30 #endif 31