aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/linux/tc_ematch/tc_em_text.h
blob: e26dec3d60e719f2cbfec127fee0ab2dcf7dc929 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 
#ifndef __LINUX_TC_EM_TEXT_H 
#define __LINUX_TC_EM_TEXT_H 
 
#include <linux/types.h> 
#include <linux/pkt_cls.h> 
 
#define TC_EM_TEXT_ALGOSIZ	16 
 
struct tcf_em_text { 
	char		algo[TC_EM_TEXT_ALGOSIZ]; 
	__u16		from_offset; 
	__u16		to_offset; 
	__u16		pattern_len; 
	__u8		from_layer:4; 
	__u8		to_layer:4; 
	__u8		pad; 
}; 
 
#endif