mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 05:05:12 +02:00
27 lines
442 B
C
27 lines
442 B
C
#ifndef __IP_SET_SETLIST_H
|
|
#define __IP_SET_SETLIST_H
|
|
|
|
#include "ip_set.h"
|
|
|
|
#define SETTYPE_NAME "setlist"
|
|
|
|
#define IP_SET_SETLIST_ADD_AFTER 0
|
|
#define IP_SET_SETLIST_ADD_BEFORE 1
|
|
|
|
struct ip_set_setlist {
|
|
uint8_t size;
|
|
ip_set_id_t index[0];
|
|
};
|
|
|
|
struct ip_set_req_setlist_create {
|
|
uint8_t size;
|
|
};
|
|
|
|
struct ip_set_req_setlist {
|
|
char name[IP_SET_MAXNAMELEN];
|
|
char ref[IP_SET_MAXNAMELEN];
|
|
uint8_t before;
|
|
};
|
|
|
|
#endif /* __IP_SET_SETLIST_H */
|