summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/include/linux/netfilter_ipv4/ipt_account.h
blob: 6068d86d8b3bd2a776806bc852614914ef7995c1 (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
/* 
 * accounting match (ipt_account.c)
 * (C) 2003,2004 by Piotr Gasidlo (quaker@barbara.eu.org)
 *
 * Version: 0.1.7
 *
 * This software is distributed under the terms of GNU GPL
 */

#ifndef _IPT_ACCOUNT_H_
#define _IPT_ACCOUNT_H_

#define IPT_ACCOUNT_NAME_LEN 64

#define IPT_ACCOUNT_NAME "ipt_account"
#define IPT_ACCOUNT_VERSION  "0.1.7"

struct t_ipt_account_info {
	char name[IPT_ACCOUNT_NAME_LEN];
	u_int32_t network;
	u_int32_t netmask;
	int shortlisting:1;
};

#endif