Lines Matching refs:HASHNAMESIZE

79 #define HASHNAMESIZE 4096  macro
87 static struct hnamemem hnametable[HASHNAMESIZE];
88 static struct hnamemem tporttable[HASHNAMESIZE];
89 static struct hnamemem uporttable[HASHNAMESIZE];
90 static struct hnamemem eprototable[HASHNAMESIZE];
91 static struct hnamemem dnaddrtable[HASHNAMESIZE];
92 static struct hnamemem ipxsaptable[HASHNAMESIZE];
140 static struct h6namemem h6nametable[HASHNAMESIZE];
151 static struct enamemem enametable[HASHNAMESIZE];
152 static struct enamemem nsaptable[HASHNAMESIZE];
164 static struct bsnamemem bytestringtable[HASHNAMESIZE];
173 static struct protoidmem protoidtable[HASHNAMESIZE];
238 p = &hnametable[addr & (HASHNAMESIZE-1)]; in getname()
298 p = &h6nametable[addr.addra.d & (HASHNAMESIZE-1)]; in getname6()
349 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; in lookup_emem()
390 tp = &bytestringtable[(i ^ j) & (HASHNAMESIZE-1)]; in lookup_bytestring()
437 tp = &nsaptable[(i ^ j) & (HASHNAMESIZE-1)]; in lookup_nsap()
476 tp = &protoidtable[(i ^ j) & (HASHNAMESIZE-1)]; in lookup_protoid()
610 for (tp = &eprototable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in etherproto_string()
698 for (tp = &tporttable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in tcpport_string()
719 for (tp = &uporttable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in udpport_string()
741 for (tp = &ipxsaptable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in ipxsap_string()
771 i = port & (HASHNAMESIZE-1); in init_servarray()
829 int j = htons(eproto_db[i].p) & (HASHNAMESIZE-1); in init_eprotoarray()
1181 int j = htons(ipxsap_db[i].v) & (HASHNAMESIZE-1); in init_ipxsaparray()
1222 for (tp = &dnaddrtable[dnaddr & (HASHNAMESIZE-1)]; tp->nxt != NULL; in dnaddr_string()