Searched refs:dnaddr (Results 1 – 2 of 2) sorted by relevance
1242 dnnum_string(netdissect_options *ndo, u_short dnaddr) in dnnum_string() argument1246 int area = (u_short)(dnaddr & AREAMASK) >> AREASHIFT; in dnnum_string()1247 int node = dnaddr & NODEMASK; in dnnum_string()1257 dnname_string(netdissect_options *ndo, u_short dnaddr) in dnname_string() argument1264 memcpy((char *)dna.a_addr, (char *)&dnaddr, sizeof(short)); in dnname_string()1269 return(dnnum_string(ndo, dnaddr)); in dnname_string()1271 return(dnnum_string(ndo, dnaddr)); /* punt */ in dnname_string()
1218 dnaddr_string(netdissect_options *ndo, u_short dnaddr) in dnaddr_string() argument1222 for (tp = &dnaddrtable[dnaddr & (HASHNAMESIZE-1)]; tp->nxt != NULL; in dnaddr_string()1224 if (tp->addr == dnaddr) in dnaddr_string()1227 tp->addr = dnaddr; in dnaddr_string()1230 tp->name = dnnum_string(ndo, dnaddr); in dnaddr_string()1232 tp->name = dnname_string(ndo, dnaddr); in dnaddr_string()