1 #ifndef __IP_SET_MACIPMAP_H
2 #define __IP_SET_MACIPMAP_H
4 #include <linux/netfilter_ipv4/ip_set.h>
5 #include <linux/netfilter_ipv4/ip_set_bitmaps.h>
7 #define SETTYPE_NAME "macipmap"
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 */
20 u_int32_t size
; /* size of the ipmap proper */
23 struct ip_set_req_macipmap_create
{
29 struct ip_set_req_macipmap
{
31 unsigned char ethernet
[ETH_ALEN
];
36 unsigned char ethernet
[ETH_ALEN
];
39 #endif /* __IP_SET_MACIPMAP_H */