Searched refs:first_ip (Results 1 – 2 of 2) sorted by relevance
97 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() argument226 map->first_ip = first_ip; in init_map_ip()257 u32 first_ip = 0, last_ip = 0, hosts; in bitmap_ip_create() local275 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 …]
71 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() local339 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