/dragonfly/libexec/bootpd/ |
H A D | hwaddr.c | 97 setarp(int s, struct in_addr *ia, int hafamily, u_char *haddr, int halen) in setarp() argument 116 bcopy(haddr, arpreq.at_enaddr, halen); in setarp() 147 bcopy(haddr, p, halen); in setarp() 188 bsd_arp_set(ia, haddr, halen); in setarp() 202 a, a, haddrtoa(haddr, halen)); in setarp() 218 haddrtoa(u_char *haddr, int hlen) in haddrtoa() argument 228 sprintf(bufptr, "%02X:", (unsigned) (*haddr++ & 0xFF)); in haddrtoa()
|
H A D | readfile.c | 431 if (hp->flags.htype && hp->flags.haddr) { in readtab() 438 haddrtoa(hp->haddr, haddrlength(hp->htype))); in readtab() 883 hp->flags.haddr = FALSE; in eval_symbol() 893 bcopy(tmphaddr, hp->haddr, haddrlength(hp->htype)); in eval_symbol() 894 hp->flags.haddr = TRUE; in eval_symbol() 1366 if (bcmp(host1->haddr, host2->haddr, haddrlength(host1->htype))) { in hwinscmp() 1741 static byte haddr[MAXHADDRLEN]; in prs_haddr() local 1766 hap = haddr; in prs_haddr() 1767 while (hap < haddr + hal) { in prs_haddr() 1774 return haddr; in prs_haddr() [all …]
|
H A D | bootpd.h | 105 haddr :1, member 185 haddr[MAXHADDRLEN]; member
|
H A D | bootpd.c | 673 bcopy(bp->bp_chaddr, dummyhost.haddr, hlen); in handle_request() 681 haddr_conv802(bp->bp_chaddr, dummyhost.haddr, hlen); in handle_request() 685 haddrtoa(dummyhost.haddr, bp->bp_hlen)); in handle_request() 687 hashcode = hash_HashFunction(dummyhost.haddr, hlen); in handle_request()
|
H A D | dumptab.c | 188 if (hp->flags.haddr) { in dump_host() 190 haddrtoa(hp->haddr, hlen)); in dump_host()
|
/dragonfly/usr.sbin/bootparamd/bootparamd/ |
H A D | bootparamd.c | 49 in_addr_t haddr; in bootparamproc_whoami_1_svc() local 64 bcopy((char *)&whoami->client_address.bp_address_u.ip_addr, (char *)&haddr, in bootparamproc_whoami_1_svc() 65 sizeof(haddr)); in bootparamproc_whoami_1_svc() 66 he = gethostbyaddr(&haddr,sizeof(haddr),AF_INET); in bootparamproc_whoami_1_svc()
|
/dragonfly/sbin/dhclient/ |
H A D | packet.c | 94 memcpy(eh.ether_dhost, to->haddr, sizeof(eh.ether_dhost)); in assemble_hw_header() 98 memcpy(eh.ether_shost, ifi->hw_address.haddr, in assemble_hw_header() 153 memcpy(from->haddr, eh.ether_shost, sizeof(eh.ether_shost)); in decode_hw_header()
|
H A D | options.c | 471 (memcmp(ifi->hw_address.haddr, packet->chaddr, packet->hlen))) in do_packet() 526 ether_ntoa((struct ether_addr *)hfrom->haddr)); in do_packet()
|
H A D | dhcpd.h | 103 u_int8_t haddr[16]; member
|
H A D | dispatch.c | 86 memcpy(ifi->hw_address.haddr, in discover_interface()
|
H A D | parse.c | 172 if (parse_numeric_aggregate(cfile, hardware->haddr, hardware->hlen, in parse_hardware_param()
|
H A D | dhclient.c | 1299 memcpy(client->packet.chaddr, ifi->hw_address.haddr, in make_discover() 1378 memcpy(client->packet.chaddr, ifi->hw_address.haddr, in make_request() 1435 memcpy(client->packet.chaddr, ifi->hw_address.haddr, in make_decline()
|
/dragonfly/lib/libc/net/ |
H A D | gethostbydns.c | 561 char **haddr; in _dns_gethostbyaddr() local 657 for (haddr = rhe->h_addr_list; *haddr; haddr++) in _dns_gethostbyaddr() 658 if (!memcmp(*haddr, addr, NS_INADDRSZ)) in _dns_gethostbyaddr() 660 if (!*haddr) { in _dns_gethostbyaddr()
|
/dragonfly/usr.sbin/ppp/ |
H A D | ipcp.c | 591 u_int32_t bit, haddr; in numaddresses() local 594 haddr = ntohl(mask.s_addr); in numaddresses() 599 if (!(haddr & bit)) in numaddresses() 1404 u_int32_t haddr = ntohl(addr.s_addr); in addr2mask() local 1406 haddr = IN_CLASSA(haddr) ? IN_CLASSA_NET : in addr2mask() 1407 IN_CLASSB(haddr) ? IN_CLASSB_NET : in addr2mask() 1409 addr.s_addr = htonl(haddr); in addr2mask()
|
/dragonfly/sys/vfs/nfs/ |
H A D | nfs_subs.c | 1313 netaddr_match(int family, union nethostaddr *haddr, struct sockaddr *nam) in netaddr_match() argument 1321 inetaddr->sin_addr.s_addr == haddr->had_inetaddr) in netaddr_match()
|