Lines Matching refs:htype
134 byte htype; member
420 if (hp->flags.htype && hp->flags.haddr) { in readtab()
423 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype)); in readtab()
426 netname(hp->htype), in readtab()
427 haddrtoa(hp->haddr, haddrlength(hp->htype))); in readtab()
876 if (hp->flags.htype == 0) { in eval_symbol()
877 hp->flags.htype = TRUE; in eval_symbol()
878 hp->htype = HTYPE_ETHERNET; in eval_symbol()
880 tmphaddr = prs_haddr(symbol, hp->htype); in eval_symbol()
883 bcopy(tmphaddr, hp->haddr, haddrlength(hp->htype)); in eval_symbol()
895 hp->flags.htype = FALSE; in eval_symbol()
913 value = htnamemap[i].htype; in eval_symbol()
919 hp->htype = (byte) (value & 0xFF); in eval_symbol()
920 hp->flags.htype = TRUE; in eval_symbol()
1353 if (host1->htype != host2->htype) { in hwinscmp()
1356 if (bcmp(host1->haddr, host2->haddr, haddrlength(host1->htype))) { in hwinscmp()
1424 DUP_COPY(htype); in fill_defaults()
1729 prs_haddr(char **src, u_int htype) in prs_haddr() argument
1738 hal = haddrlength(htype); /* Get length of this address type */ in prs_haddr()
1750 if ((hap = lookup_hwa(p, htype)) != NULL) in prs_haddr()
2002 if (host1->htype != host2->htype) { in hwlookcmp()
2005 if (bcmp(host1->haddr, host2->haddr, haddrlength(host1->htype))) { in hwlookcmp()