summaryrefslogtreecommitdiffstats
path: root/include/set_elem.h
blob: bdefe4bb14871654c2ed10af042d73cae4b63fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _LIBNFTNL_SET_ELEM_INTERNAL_H_
#define _LIBNFTNL_SET_ELEM_INTERNAL_H_

#include <data_reg.h>

struct nft_set_elem {
	struct list_head	head;
	uint32_t		set_elem_flags;
	union nft_data_reg	key;
	union nft_data_reg	data;
	struct nft_rule_expr	*expr;
	uint32_t		flags;
	uint64_t		timeout;
	uint64_t		expiration;
	struct {
		void		*data;
		uint32_t	len;
	} user;
};

#endif