Home
last modified time | relevance | path

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

/linux/net/netfilter/ipset/
H A Dip_set_bitmap_port.c34 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()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.c1285 int first_port; in mlx4_QUERY_DEV_CAP_wrapper() local
1301 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports); in mlx4_QUERY_DEV_CAP_wrapper()
1302 for (slave_port = 0, real_port = first_port; in mlx4_QUERY_DEV_CAP_wrapper()
1303 real_port < first_port + in mlx4_QUERY_DEV_CAP_wrapper()