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