Searched refs:HASH (Results 1 – 1 of 1) sorted by relevance
| /xnu-8792.81.2/bsd/netinet/ |
| H A D | ip_dummynet.c | 167 #define HASH(num) ((((num) >> 8) ^ ((num) >> 4) ^ (num)) & 0x0f) macro 1472 SLIST_FOREACH(fs, &flowsethash[HASH(fs_nr)], next) { in locate_flowset() 1486 SLIST_FOREACH(pipe, &pipehash[HASH(pipe_nr)], next) { in locate_pipe() 2084 SLIST_INSERT_HEAD(&pipehash[HASH(x->pipe_nr)], in config_pipe() 2148 SLIST_INSERT_HEAD(&flowsethash[HASH(x->fs_nr)], in config_pipe() 2260 SLIST_REMOVE(&pipehash[HASH(b->pipe_nr)], b, dn_pipe, next); in delete_pipe() 2296 SLIST_REMOVE( &flowsethash[HASH(b->fs_nr)], b, dn_flow_set, next); in delete_pipe()
|