/freebsd-current/sys/vm/ |
H A D | redzone.c | 104 caddr_t haddr, faddr; local 108 haddr = raddr + redzone_roundup(nsize) - REDZONE_HSIZE; 109 faddr = haddr + REDZONE_HSIZE + nsize; 113 bcopy(&st, haddr, sizeof(st)); 114 haddr += sizeof(st); 115 bcopy(&nsize, haddr, sizeof(nsize)); 116 haddr += sizeof(nsize); 117 memset(haddr, 0x42, REDZONE_CHSIZE); 118 haddr += REDZONE_CHSIZE; 123 return (haddr); 134 caddr_t haddr, faddr; local [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 92 char *haddr=buf; local 103 if (*haddr == '[') { 104 char * endp = strchr(++haddr, ']'); 108 afam = strchr(haddr, ':') ? AF_INET6 : AF_INET; 111 char *col = strchr(haddr, ':'); 112 char *dot = strchr(haddr, '.'); 140 if (inet_pton(afam, haddr, &netnum.sa4.sin_addr) <= 0) 146 scope = _num_or_dflt(_chop(strchr(haddr, '%')), 0xFFFFFFFFu, scope); 147 if (inet_pton(afam, haddr, &netnum.sa6.sin6_addr) <= 0)
|
/freebsd-current/sys/fs/nfs/ |
H A D | nfsrvcache.h | 59 union nethostaddr haddr; /* Host address */ member in struct:nfsrvcache::__anon4910::__anon4911 77 #define rc_inet rc_un2.udp.haddr.had_inet.s_addr 78 #define rc_inet6 rc_un2.udp.haddr.had_inet6 79 #define rc_haddr rc_un2.udp.haddr
|
H A D | nfs_commonsubs.c | 1006 nfsaddr_match(int family, union nethostaddr *haddr, NFSSOCKADDR_T nam) argument 1017 inetaddr->sin_addr.s_addr == haddr->had_inet.s_addr) 1030 &haddr->had_inet6))
|
/freebsd-current/libexec/bootpd/ |
H A D | bootpd.h | 102 haddr :1, member in struct:flag 183 haddr[MAXHADDRLEN]; 182 haddr[MAXHADDRLEN]; member in struct:host
|
H A D | hwaddr.c | 82 setarp(int s, struct in_addr *ia, int hafamily, u_char *haddr, int halen) argument 101 bcopy(haddr, arpreq.at_enaddr, halen); 132 bcopy(haddr, p, halen); 173 bsd_arp_set(ia, haddr, halen); 187 a, a, haddrtoa(haddr, halen)); 203 haddrtoa(u_char *haddr, int hlen) argument 213 sprintf(bufptr, "%02X:", (unsigned) (*haddr++ & 0xFF));
|
H A D | readfile.c | 423 if (hp->flags.htype && hp->flags.haddr) { 426 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype)); 430 haddrtoa(hp->haddr, haddrlength(hp->htype))); 879 hp->flags.haddr = FALSE; 889 bcopy(tmphaddr, hp->haddr, haddrlength(hp->htype)); 890 hp->flags.haddr = TRUE; 1367 if (bcmp(host1->haddr, host2->haddr, haddrlength(host1->htype))) { 1434 /* haddr not copied */ 1748 static byte haddr[MAXHADDRLE 1731 static byte haddr[MAXHADDRLEN]; local [all...] |
H A D | dumptab.c | 180 if (hp->flags.haddr) { 182 haddrtoa(hp->haddr, hlen));
|
H A D | bootpd.c | 680 bcopy(bp->bp_chaddr, dummyhost.haddr, hlen); 688 haddr_conv802(bp->bp_chaddr, dummyhost.haddr, hlen); 692 haddrtoa(dummyhost.haddr, bp->bp_hlen)); 694 hashcode = hash_HashFunction(dummyhost.haddr, hlen);
|
/freebsd-current/sbin/dhclient/ |
H A D | parse.c | 195 if (hlen > sizeof(hardware->haddr)) { 200 memcpy((unsigned char *)&hardware->haddr[0], t, 202 if (hlen < sizeof(hardware->haddr)) 203 memset(&hardware->haddr[hlen], 0, 204 sizeof(hardware->haddr) - hlen);
|
H A D | packet.c | 99 memcpy(eh.ether_shost, interface->hw_address.haddr, 154 memcpy(from->haddr, eh.ether_shost, sizeof(eh.ether_shost));
|
H A D | dhcpd.h | 113 struct hardware *haddr; member in struct:packet 120 u_int8_t haddr[16]; member in struct:hardware
|
H A D | dhclient.c | 771 (memcmp(packet->interface->hw_address.haddr, 1034 (memcmp(packet->interface->hw_address.haddr, 1241 (memcmp(packet->interface->hw_address.haddr, 1678 char client_ident[sizeof(ip->hw_address.haddr) + 1]; 1683 memcpy(&client_ident[1], ip->hw_address.haddr, hwlen); 1714 ip->hw_address.haddr, ip->hw_address.hlen); 1801 char client_ident[sizeof(ip->hw_address.haddr) + 1]; 1806 memcpy(&client_ident[1], ip->hw_address.haddr, hwlen); 1848 ip->hw_address.haddr, ip->hw_address.hlen); 1922 ip->hw_address.haddr, i [all...] |
H A D | dispatch.c | 118 memcpy(iface->hw_address.haddr,
|
/freebsd-current/usr.sbin/bootparamd/bootparamd/ |
H A D | bootparamd.c | 46 in_addr_t haddr; local 61 bcopy((char *)&whoami->client_address.bp_address_u.ip_addr, (char *)&haddr, 62 sizeof(haddr)); 63 he = gethostbyaddr((char *)&haddr,sizeof(haddr),AF_INET);
|
/freebsd-current/lib/libc/net/ |
H A D | gethostbydns.c | 570 char **haddr; local 674 for (haddr = rhe->h_addr_list; *haddr; haddr++) 675 if (!memcmp(*haddr, addr, NS_INADDRSZ)) 677 if (!*haddr) {
|
/freebsd-current/lib/libpam/modules/pam_radius/ |
H A D | pam_radius.c | 84 struct sockaddr_in *haddr; local 115 haddr = (struct sockaddr_in *)res->ai_addr; 117 haddr->sin_addr);
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | libslirp.h | 290 const struct sockaddr *haddr, socklen_t haddrlen, 295 const struct sockaddr *haddr, socklen_t haddrlen,
|
/freebsd-current/sys/tests/fib_lookup/ |
H A D | fib_lookup.c | 453 uint32_t scopeid, haddr; local 466 haddr = ntohl(addr.s_addr); 467 if (haddr > 0) { 468 pa->arr[pa->num_items++].s_addr = htonl(haddr - 1); 469 pa->arr[pa->num_items++].s_addr = htonl(haddr + 1); 472 pa->arr[pa->num_items++].s_addr = htonl(haddr + mlen); 474 pa->arr[pa->num_items++].s_addr = htonl(haddr + mlen + 1);
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | addr_families.c | 402 struct in6_addr addr, laddr, haddr; local 426 haddr.s6_addr[i] = (addr.s6_addr[i] & m) | ~m; 440 if (krb5_data_alloc(&high->address, sizeof(haddr.s6_addr)) != 0) { 444 memcpy(high->address.data, haddr.s6_addr, sizeof(haddr.s6_addr)); 1032 * @param haddr host address from struct hostent. 1043 const char *haddr, krb5_address *addr) 1051 return (*a->h_addr2addr)(haddr, addr); 1041 krb5_h_addr2addr(krb5_context context, int af, const char *haddr, krb5_address *addr) argument
|
/freebsd-current/sys/dev/usb/controller/ |
H A D | musb_otg.h | 333 uint8_t haddr; member in struct:musbotg_td 354 uint8_t haddr; member in struct:musbotg_std_temp
|
H A D | musb_otg.c | 615 MUSB2_WRITE_1(sc, MUSB2_REG_TXHADDR(0), td->haddr); 926 MUSB2_WRITE_1(sc, MUSB2_REG_RXHADDR(0), td->haddr); 1223 MUSB2_WRITE_1(sc, MUSB2_REG_TXHADDR(0), td->haddr); 1300 MUSB2_WRITE_1(sc, MUSB2_REG_RXHADDR(0), td->haddr); 1378 td->dev_addr,td->haddr,td->hport, td->transfer_type); 1410 MUSB2_WRITE_1(sc, MUSB2_REG_TXHADDR(0), td->haddr); 1742 td->haddr); 2084 td->haddr); 2381 td->haddr = temp->haddr; [all...] |
/freebsd-current/usr.sbin/ppp/ |
H A D | ipcp.c | 604 u_int32_t bit, haddr; local 607 haddr = ntohl(mask.s_addr); 612 if (!(haddr & bit)) 1418 u_int32_t haddr = ntohl(addr.s_addr); local 1420 haddr = IN_CLASSA(haddr) ? IN_CLASSA_NET : 1421 IN_CLASSB(haddr) ? IN_CLASSB_NET : 1423 addr.s_addr = htonl(haddr);
|
/freebsd-current/sys/netinet/ |
H A D | in_mcast.c | 148 static int inm_get_source(struct in_multi *inm, const in_addr_t haddr, 725 * haddr is the source address in *host* byte-order. 923 * haddr is the host-byte-order IPv4 address to look up. 931 inm_get_source(struct in_multi *inm, const in_addr_t haddr, argument 937 find.ims_haddr = haddr; 946 nims->ims_haddr = haddr; 952 haddr, ims);
|
/freebsd-current/contrib/sendmail/src/ |
H A D | conf.c | 3038 struct in_addr haddr; local 3040 haddr = inet_addr(host); 3041 return haddr.s_addr;
|