Lines Matching refs:first_port
34 u16 first_port; /* host byte order, included in range */ member
52 return port - m->first_port; in port_to_id()
89 htons(map->first_port + id)); in bitmap_port_do_list()
95 return nla_put_net16(skb, IPSET_ATTR_PORT, htons(map->first_port)) || in bitmap_port_do_head()
144 if (port < map->first_port || port > map->last_port) in bitmap_port_kadt()
172 if (port < map->first_port || port > map->last_port) in bitmap_port_uadt()
187 if (port < map->first_port) in bitmap_port_uadt()
215 return x->first_port == y->first_port && in bitmap_port_same_set()
232 u16 first_port, u16 last_port) in init_map_port() argument
237 map->first_port = first_port; in init_map_port()
253 u16 first_port, last_port; in bitmap_port_create() local
262 first_port = ip_set_get_h16(tb[IPSET_ATTR_PORT]); in bitmap_port_create()
264 if (first_port > last_port) in bitmap_port_create()
265 swap(first_port, last_port); in bitmap_port_create()
267 elements = last_port - first_port + 1; in bitmap_port_create()
276 if (!init_map_port(set, map, first_port, last_port)) { in bitmap_port_create()