Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Felix Fietkau | 22a5dc0 | 2015-01-18 16:35:14 -0500 | [diff] [blame] | 2 | #ifndef __NET_TC_CONNMARK_H |
| 3 | #define __NET_TC_CONNMARK_H |
| 4 | |
| 5 | #include <net/act_api.h> |
| 6 | |
| 7 | struct tcf_connmark_info { |
WANG Cong | ec0595c | 2016-07-25 16:09:42 -0700 | [diff] [blame] | 8 | struct tc_action common; |
Eric W. Biederman | a4ffe31 | 2015-09-18 14:33:03 -0500 | [diff] [blame] | 9 | struct net *net; |
Felix Fietkau | 22a5dc0 | 2015-01-18 16:35:14 -0500 | [diff] [blame] | 10 | u16 zone; |
| 11 | }; |
| 12 | |
WANG Cong | a85a970 | 2016-07-25 16:09:41 -0700 | [diff] [blame] | 13 | #define to_connmark(a) ((struct tcf_connmark_info *)a) |
Felix Fietkau | 22a5dc0 | 2015-01-18 16:35:14 -0500 | [diff] [blame] | 14 | |
| 15 | #endif /* __NET_TC_CONNMARK_H */ |