Home
last modified time | relevance | path

Searched refs:hosts (Results 1 – 7 of 7) sorted by relevance

/net/netfilter/ipset/
Dip_set_bitmap_ip.c44 u32 hosts; /* number of hosts in a subnet */ member
61 return ((ip & ip_set_hostmask(m->netmask)) - m->first_ip) / m->hosts; in ip_to_id()
97 htonl(map->first_ip + id * map->hosts)); in bitmap_ip_do_list()
184 for (; !before(ip_to, ip); ip += map->hosts) { in bitmap_ip_uadt()
221 u32 elements, u32 hosts, u8 netmask) in init_map_ip() argument
229 map->hosts = hosts; in init_map_ip()
245 u32 first_ip = 0, last_ip = 0, hosts; in bitmap_ip_create() local
286 hosts = 1; in bitmap_ip_create()
299 hosts = 2U << (32 - netmask - 1); in bitmap_ip_create()
306 hosts, (unsigned long long)elements); in bitmap_ip_create()
[all …]
Dip_set_hash_ip.c104 u32 ip = 0, ip_to = 0, hosts; in hash_ip4_uadt() local
144 hosts = h->netmask == 32 ? 1 : 2 << (32 - h->netmask - 1); in hash_ip4_uadt()
155 ip += hosts; in hash_ip4_uadt()
/net/sched/
Dsch_cake.c154 struct cake_host hosts[CAKE_QUEUES]; /* for triple isolation */ member
753 q->hosts[q->flows[reduced_hash].srchost].srchost_bulk_flow_count--; in cake_hash()
754 q->hosts[q->flows[reduced_hash].dsthost].dsthost_bulk_flow_count--; in cake_hash()
769 if (q->hosts[outer_hash + k].srchost_tag == in cake_hash()
775 if (!q->hosts[outer_hash + k].srchost_bulk_flow_count) in cake_hash()
778 q->hosts[outer_hash + k].srchost_tag = srchost_hash; in cake_hash()
782 q->hosts[srchost_idx].srchost_bulk_flow_count++; in cake_hash()
792 if (q->hosts[outer_hash + k].dsthost_tag == in cake_hash()
798 if (!q->hosts[outer_hash + k].dsthost_bulk_flow_count) in cake_hash()
801 q->hosts[outer_hash + k].dsthost_tag = dsthost_hash; in cake_hash()
[all …]
/net/atm/
DKconfig27 ATMARP. If you want to communication with other IP hosts on your ATM
55 bridges and ATM attached hosts establish direct ATM VCs across
/net/qrtr/
DKconfig30 hosts or testing purposes.
/net/ipv6/
DKconfig28 Advertisement message which improves the ability of hosts
29 to pick an appropriate router, especially when the hosts
/net/ipv4/
DKconfig621 provide multi-bit feedback to the end hosts. It is designed to provide: