Merge tag 'AT_EXECVE_CHECK-v6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-stable.git] / include / uapi / linux / tc_ematch / tc_em_text.h
blobb0a92257964e6ab55b79a4c2af67880086b48201
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef __LINUX_TC_EM_TEXT_H
3 #define __LINUX_TC_EM_TEXT_H
5 #include <linux/types.h>
6 #include <linux/pkt_cls.h>
8 #define TC_EM_TEXT_ALGOSIZ 16
10 struct tcf_em_text {
11 char algo[TC_EM_TEXT_ALGOSIZ];
12 __u16 from_offset;
13 __u16 to_offset;
14 __u16 pattern_len;
15 __u8 from_layer:4;
16 __u8 to_layer:4;
17 __u8 pad;
20 #endif