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_MIR_H 8 #define __LINUX_TC_MIR_H 9 #include <linux/types.h> 10 #include <linux/pkt_cls.h> 11 #define TCA_EGRESS_REDIR 1 12 #define TCA_EGRESS_MIRROR 2 13 #define TCA_INGRESS_REDIR 3 14 #define TCA_INGRESS_MIRROR 4 15 struct tc_mirred { 16 tc_gen; 17 int eaction; 18 __u32 ifindex; 19 }; 20 enum { 21 TCA_MIRRED_UNSPEC, 22 TCA_MIRRED_TM, 23 TCA_MIRRED_PARMS, 24 TCA_MIRRED_PAD, 25 TCA_MIRRED_BLOCKID, 26 __TCA_MIRRED_MAX 27 }; 28 #define TCA_MIRRED_MAX (__TCA_MIRRED_MAX - 1) 29 #endif 30