1 #ifndef __IP_SET_MACIPMAP_H
2 #define __IP_SET_MACIPMAP_H
4 #include <linux/netfilter_ipv4/ip_set.h>
6 #define SETTYPE_NAME "macipmap"
7 #define MAX_RANGE 0x0000FFFF
10 #define IPSET_MACIP_MATCHUNSET 1
13 #define IPSET_MACIP_ISSET 1
15 struct ip_set_macipmap {
16 void *members; /* the macipmap proper */
17 ip_set_ip_t first_ip; /* host byte order, included in range */
18 ip_set_ip_t last_ip; /* host byte order, included in range */
22 struct ip_set_req_macipmap_create {
28 struct ip_set_req_macipmap {
30 unsigned char ethernet[ETH_ALEN];
35 unsigned char ethernet[ETH_ALEN];
38 #endif /* __IP_SET_MACIPMAP_H */