Searched refs:dnaddr (Results 1 – 2 of 2) sorted by relevance
1160 dnaddr_string(netdissect_options *ndo, u_short dnaddr) in dnaddr_string() argument1164 for (tp = &dnaddrtable[dnaddr & (HASHNAMESIZE-1)]; tp->nxt != 0; in dnaddr_string()1166 if (tp->addr == dnaddr) in dnaddr_string()1169 tp->addr = dnaddr; in dnaddr_string()1172 tp->name = dnnum_string(dnaddr); in dnaddr_string()1174 tp->name = dnname_string(dnaddr); in dnaddr_string()
1299 dnnum_string(u_short dnaddr) in dnnum_string() argument1303 int area = (u_short)(dnaddr & AREAMASK) >> AREASHIFT; in dnnum_string()1304 int node = dnaddr & NODEMASK; in dnnum_string()1314 dnname_string(u_short dnaddr) in dnname_string() argument1321 memcpy((char *)dna.a_addr, (char *)&dnaddr, sizeof(short)); in dnname_string()1326 return(dnnum_string(dnaddr)); in dnname_string()1328 return(dnnum_string(dnaddr)); /* punt */ in dnname_string()