summaryrefslogtreecommitdiff
path: root/platform/sysroot/usr/include/linux/tc_ematch/tc_em_cmp.h
blob: e686bf2f75a8ca63668f88817da7f0ed3b77b06d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * This file is auto-generated. Modifications will be lost.
 *
 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
 * for more information.
 */
#ifndef __LINUX_TC_EM_CMP_H
#define __LINUX_TC_EM_CMP_H
#include <linux/types.h>
#include <linux/pkt_cls.h>
struct tcf_em_cmp {
  __u32 val;
  __u32 mask;
  __u16 off;
  __u8 align : 4;
  __u8 flags : 4;
  __u8 layer : 4;
  __u8 opnd : 4;
};
enum {
  TCF_EM_ALIGN_U8 = 1,
  TCF_EM_ALIGN_U16 = 2,
  TCF_EM_ALIGN_U32 = 4
};
#define TCF_EM_CMP_TRANS 1
#endif