Home
last modified time | relevance | path

Searched refs:first_ip (Results 1 – 2 of 2) sorted by relevance

/linux/net/netfilter/ipset/
A Dip_set_bitmap_ip.c97 htonl(map->first_ip + id * map->hosts)); in bitmap_ip_do_list()
121 if (ip < map->first_ip || ip > map->last_ip) in bitmap_ip_kadt()
168 if (ip < map->first_ip) in bitmap_ip_uadt()
202 return x->first_ip == y->first_ip && in bitmap_ip_same_set()
220 u32 first_ip, u32 last_ip, in init_map_ip() argument
226 map->first_ip = first_ip; in init_map_ip()
257 u32 first_ip = 0, last_ip = 0, hosts; in bitmap_ip_create() local
275 if (first_ip > last_ip) in bitmap_ip_create()
276 swap(first_ip, last_ip); in bitmap_ip_create()
293 first_ip &= ip_set_hostmask(netmask); in bitmap_ip_create()
[all …]
A Dip_set_bitmap_ipmac.c71 return ip - m->first_ip; in ip_to_id()
195 htonl(map->first_ip + id)) || in bitmap_ipmac_do_list()
219 if (ip < map->first_ip || ip > map->last_ip) in bitmap_ipmac_kadt()
265 if (ip < map->first_ip || ip > map->last_ip) in bitmap_ipmac_uadt()
286 return x->first_ip == y->first_ip && in bitmap_ipmac_same_set()
305 map->first_ip = first_ip; in init_map_ipmac()
321 u32 first_ip = 0, last_ip = 0; in bitmap_ipmac_create() local
339 if (first_ip > last_ip) in bitmap_ipmac_create()
340 swap(first_ip, last_ip); in bitmap_ipmac_create()
346 ip_set_mask_from_to(first_ip, last_ip, cidr); in bitmap_ipmac_create()
[all …]

Completed in 8 milliseconds