Home
last modified time | relevance | path

Searched refs:haddr (Results 1 – 25 of 34) sorted by relevance

12

/netbsd-src/sys/ddb/
H A Ddb_xxx.c84 db_kill_proc(db_expr_t addr, bool haddr, in db_kill_proc() argument
145 db_kgdb_cmd(db_expr_t addr, bool haddr, in db_kgdb_cmd() argument
155 db_show_files_cmd(db_expr_t addr, bool haddr, in db_show_files_cmd() argument
168 if (!haddr) { in db_show_files_cmd()
205 db_show_aio_jobs(db_expr_t addr, bool haddr, in db_show_aio_jobs() argument
215 db_show_mqueue_cmd(db_expr_t addr, bool haddr, in db_show_mqueue_cmd() argument
226 db_show_module_cmd(db_expr_t addr, bool haddr, in db_show_module_cmd() argument
236 db_show_all_pools(db_expr_t addr, bool haddr, in db_show_all_pools() argument
256 db_dmesg(db_expr_t addr, bool haddr, db_expr_t count, const char *modif) in db_dmesg() argument
276 if (haddr && addr < mb.msg_bufs) in db_dmesg()
[all …]
H A Ddb_proc.c123 db_show_all_procs(db_expr_t addr, bool haddr, db_expr_t count, in db_show_all_procs() argument
282 db_show_proc(db_expr_t addr, bool haddr, db_expr_t count, const char *modif) in db_show_proc() argument
298 if (mode == NULL || !haddr) { in db_show_proc()
H A Ddb_autoconf.c64 db_show_all_devices(db_expr_t addr, bool haddr, db_expr_t count, in db_show_all_devices() argument
/netbsd-src/external/bsd/ntp/dist/libntp/
H A Ddecodenetnum.c94 char *haddr=buf; in decodenetnum() local
105 if (*haddr == '[') { in decodenetnum()
106 char * endp = strchr(++haddr, ']'); in decodenetnum()
110 afam = strchr(haddr, ':') ? AF_INET6 : AF_INET; in decodenetnum()
113 char *col = strchr(haddr, ':'); in decodenetnum()
114 char *dot = strchr(haddr, '.'); in decodenetnum()
142 if (inet_pton(afam, haddr, &netnum.sa4.sin_addr) <= 0) in decodenetnum()
148 scope = _num_or_dflt(_chop(strchr(haddr, '%')), 0xFFFFFFFFu, scope); in decodenetnum()
149 if (inet_pton(afam, haddr, &netnum.sa6.sin6_addr) <= 0) in decodenetnum()
/netbsd-src/sys/fs/nfs/common/
H A Dnfsrvcache.h61 union nethostaddr haddr; /* Host address */ member
79 #define rc_inet rc_un2.udp.haddr.had_inet.s_addr
80 #define rc_inet6 rc_un2.udp.haddr.had_inet6
81 #define rc_haddr rc_un2.udp.haddr
/netbsd-src/sys/nfs/
H A Dnfs_bootdhcp.c294 const u_char *haddr; member
364 if (memcmp(bootp->bp_chaddr, bpc->haddr, bpc->halen)) { in bootpcheck()
366 char *bp_chaddr, *haddr; in bootpcheck() local
369 haddr = malloc(3 * bpc->halen, M_TEMP, M_WAITOK); in bootpcheck()
374 ether_snprintf(haddr, 3 * bpc->halen, bpc->haddr))); in bootpcheck()
377 free(haddr, M_TEMP); in bootpcheck()
492 const u_char *haddr; in bootpc_call() local
527 haddr = (const unsigned char *)CLLADDR(sdl); in bootpc_call()
612 memcpy(bootp->bp_chaddr, haddr, hale in bootpc_call()
[all...]
H A Dnfs_subs.c1722 netaddr_match(int family, union nethostaddr *haddr, struct mbuf *nam) in netaddr_match() argument
1730 inetaddr->sin_addr.s_addr == haddr->had_inetaddr) in netaddr_match()
1738 sin6_2 = mtod(haddr->had_nam, struct sockaddr_in6 *); in netaddr_match()
/netbsd-src/libexec/ftpd/
H A Dlogwtmp.c119 struct sockinet *haddr, int status, int utx_type) in ftpd_logwtmpx() argument
131 if (haddr) in ftpd_logwtmpx()
132 (void)memcpy(&ut.ut_ss, &haddr->si_su, haddr->su_len); in ftpd_logwtmpx()
/netbsd-src/usr.sbin/bootp/common/
H A Dreadfile.c428 if (hp->flags.htype && hp->flags.haddr) { in readtab()
431 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype)); in readtab()
435 haddrtoa(hp->haddr, haddrlength(hp->htype))); in readtab()
882 hp->flags.haddr = FALSE; in eval_symbol()
892 bcopy(tmphaddr, hp->haddr, haddrlength(hp->htype)); in eval_symbol()
893 hp->flags.haddr = TRUE; in eval_symbol()
1365 if (bcmp(host1->haddr, host2->haddr, haddrlength(host1->htype))) { in hwinscmp()
1735 static byte haddr[MAXHADDRLEN]; in prs_haddr() local
1762 hap = haddr; in prs_haddr()
1763 while (hap < haddr + hal) { in prs_haddr()
[all …]
H A Dbootpd.h104 haddr :1, member
184 haddr[MAXHADDRLEN]; member
H A Dhwaddr.c150 haddrtoa(u_char *haddr, int hlen) in haddrtoa() argument
161 "%02X:", (unsigned) (*haddr++ & 0xFF)); in haddrtoa()
H A Ddumptab.c185 if (hp->flags.haddr) { in dump_host()
187 haddrtoa(hp->haddr, hlen)); in dump_host()
/netbsd-src/usr.sbin/rpc.bootparamd/
H A Dbootparamd.c158 struct in_addr haddr; in bootparamproc_whoami_1_svc() local
174 memmove((char *) &haddr, in bootparamproc_whoami_1_svc()
176 sizeof(haddr)); in bootparamproc_whoami_1_svc()
177 he = gethostbyaddr((char *) &haddr, sizeof(haddr), AF_INET); in bootparamproc_whoami_1_svc()
181 (void)strlcpy(askname, inet_ntoa(haddr), sizeof(askname)); in bootparamproc_whoami_1_svc()
/netbsd-src/external/mpl/dhcp/dist/server/
H A Domapi.c841 unsigned char *haddr; in dhcp_lease_lookup() local
845 haddr = dmalloc (len, MDL); in dhcp_lease_lookup()
846 if (!haddr) { in dhcp_lease_lookup()
851 memcpy (haddr + 1, tv -> value -> u.buffer.value, len - 1); in dhcp_lease_lookup()
862 dfree (haddr, MDL); in dhcp_lease_lookup()
866 haddr[0] = tv -> value -> u.buffer.value[3]; in dhcp_lease_lookup()
868 haddr[0] = (unsigned char) in dhcp_lease_lookup()
872 dfree (haddr, MDL); in dhcp_lease_lookup()
882 haddr[0] = HTYPE_ETHER; in dhcp_lease_lookup()
886 lease_id_hash_lookup(&lease, lease_hw_addr_hash, haddr, len, in dhcp_lease_lookup()
[all …]
H A Dldap.c357 struct in_addr *haddr = (struct in_addr *)*h; in get_host_address() local
358 if (is_iface_address (addrs, haddr) > 0) in get_host_address()
360 aptr = haddr; in get_host_address()
2600 const unsigned char *haddr, const char *file, int line) in find_haddr_in_ldap() argument
2644 print_hw_addr (htype, hlen, haddr)); in find_haddr_in_ldap()
H A Dmdb6.c2848 if (packet->haddr) { in find_hosts_by_haddr6()
2849 htype = packet->haddr->hbuf[0]; in find_hosts_by_haddr6()
2850 hlen = packet->haddr->hlen - 1, in find_hosts_by_haddr6()
2854 &packet->haddr->hbuf[1], in find_hosts_by_haddr6()
/netbsd-src/lib/libpam/modules/pam_radius/
H A Dpam_radius.c104 struct sockaddr_in *haddr; in build_access_request() local
135 haddr = (struct sockaddr_in *)res->ai_addr; in build_access_request()
137 haddr->sin_addr); in build_access_request()
/netbsd-src/usr.sbin/rarpd/
H A Dmkarp.c114 mkarp(u_char *haddr, u_int32_t ipaddr) in mkarp() argument
153 *p++ = *haddr++; in mkarp()
/netbsd-src/external/bsd/libbind/dist/irs/
H A Dgethostent.c1041 char **haddr; variable
1061 for (haddr = rhp->h_addr_list; *haddr; haddr++)
1062 if (!memcmp(*haddr, addr, INADDRSZ))
1064 if (!*haddr) {
/netbsd-src/sys/dev/pci/
H A Dunichromefb.c749 int haddr, vaddr; in uni_set_crtc() local
764 haddr = crtreg.hor_addr; in uni_set_crtc()
796 uni_load_offset(sc, haddr, bpp_byte, iga); in uni_set_crtc()
797 uni_load_fetchcnt(sc, haddr, bpp_byte, iga); in uni_set_crtc()
798 uni_load_fifo(sc, iga, haddr, vaddr); in uni_set_crtc()
970 uni_load_offset(struct unichromefb_softc *sc, int haddr, int bpp, int iga) in uni_load_offset() argument
976 IGA1_OFFSET_FORMULA(haddr, bpp), in uni_load_offset()
991 uni_load_fetchcnt(struct unichromefb_softc *sc, int haddr, int bpp, int iga) in uni_load_fetchcnt() argument
997 IGA1_FETCH_COUNT_FORMULA(haddr, bpp), in uni_load_fetchcnt()
H A Dif_ixlvar.h899 uint64_t haddr; /* header addr */ member
904 uint64_t haddr; /* header addr */ member
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Daddr_families.c404 struct in6_addr addr, laddr, haddr; in ipv6_mask_boundary() local
428 haddr.s6_addr[i] = (addr.s6_addr[i] & m) | ~m; in ipv6_mask_boundary()
442 if (krb5_data_alloc(&high->address, sizeof(haddr.s6_addr)) != 0) { in ipv6_mask_boundary()
446 memcpy(high->address.data, haddr.s6_addr, sizeof(haddr.s6_addr)); in ipv6_mask_boundary()
1046 const char *haddr, krb5_address *addr) in krb5_h_addr2addr() argument
1054 return (*a->h_addr2addr)(haddr, addr); in krb5_h_addr2addr()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dcfparse.y1576 struct sockaddr *laddr = NULL, *haddr = NULL; variable
1591 haddr = str2saddr($3->v, portbuf);
1592 if (haddr == NULL) {
1604 if (haddr)
1605 racoon_free(haddr);
1608 $$ = ipsecdoi_sockrange2id(laddr, haddr,
1617 if (haddr)
1618 racoon_free(haddr);
1621 $$ = ipsecdoi_sockrange2id(laddr, haddr,
1632 if (haddr)
[all …]
/netbsd-src/usr.sbin/bootp/bootpd/
H A Dbootpd.c654 bcopy(bp->bp_chaddr, dummyhost.haddr, hlen); in handle_request()
662 haddr_conv802(bp->bp_chaddr, dummyhost.haddr, hlen); in handle_request()
666 haddrtoa(dummyhost.haddr, bp->bp_hlen)); in handle_request()
668 hashcode = hash_HashFunction(dummyhost.haddr, hlen); in handle_request()
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_mixer.c291 uint32_t haddr = (paddr >> 32) & OVL_UI_TOP_HADD_LAYER0; in sunxi_mixer_mode_do_set_base() local
300 val |= __SHIFTIN(haddr, OVL_UI_TOP_HADD_LAYER0); in sunxi_mixer_mode_do_set_base()
386 uint32_t haddr = (paddr >> 32) & OVL_UI_TOP_HADD_LAYER0; in sunxi_mixer_cursor_set() local
392 val |= __SHIFTIN(haddr, OVL_UI_TOP_HADD_LAYER0); in sunxi_mixer_cursor_set()

12