Home
last modified time | relevance | path

Searched refs:inaddr (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcopy_addrs.c54 krb5_copy_addresses(krb5_context context, krb5_address *const *inaddr, krb5_address ***outaddr) in krb5_copy_addresses() argument
60 if (!inaddr) { in krb5_copy_addresses()
65 while (inaddr[nelems]) nelems++; in krb5_copy_addresses()
71 for (nelems = 0; inaddr[nelems]; nelems++) { in krb5_copy_addresses()
72 retval = krb5_copy_addr(context, inaddr[nelems], &tempaddr[nelems]); in krb5_copy_addresses()
90 krb5_append_addresses(context, inaddr, outaddr)
92 krb5_address * const * inaddr;
101 if (!inaddr)
106 while (inaddr[nelems]) nelems++;
118 for (nelems = 0; inaddr[nelems]; nelems++) {
[all …]
/titanic_41/usr/src/lib/libresolv/
H A Dres_debug.c217 struct in_addr inaddr; local
240 memcpy((void *)&inaddr, (void *)cp, sizeof (inaddr));
242 bcopy(cp, (char *)&inaddr, sizeof (inaddr));
246 inet_ntoa(inaddr));
250 inet_ntoa(inaddr));
347 memcpy((void *)&inaddr, (void *)cp, sizeof (inaddr));
349 bcopy(cp, (char *)&inaddr, sizeof (inaddr));
353 inet_ntoa(inaddr), *cp++);
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dbound.c962 struct in_addr inaddr; in configure_v4_lease() local
974 (void) memcpy(&inaddr, ack->opts[CD_SERVER_ID]->value, in configure_v4_lease()
975 sizeof (inaddr)); in configure_v4_lease()
976 IN6_INADDR_TO_V4MAPPED(&inaddr, &dsmp->dsm_server); in configure_v4_lease()
1032 ack->opts[CD_SUBNETMASK]->len == sizeof (inaddr)) { in configure_v4_lease()
1034 (void) memcpy(&inaddr, ack->opts[CD_SUBNETMASK]->value, in configure_v4_lease()
1035 sizeof (inaddr)); in configure_v4_lease()
1040 ack->opts[CD_SUBNETMASK]->len != sizeof (inaddr)) { in configure_v4_lease()
1060 inaddr.s_addr = htonl(IN_CLASSA_NET); in configure_v4_lease()
1062 inaddr.s_addr = htonl(IN_CLASSB_NET); in configure_v4_lease()
[all …]
/titanic_41/usr/src/lib/libproc/common/
H A Dpr_meminfo.c56 uintptr_t inaddr, infoaddr, outaddr, validityaddr; in pr_meminfo() local
77 inaddr = (uintptr_t)totalmap; in pr_meminfo()
79 outaddr = inaddr + inarraysize; in pr_meminfo()
85 if (Pwrite(Pr, addrs, inarraysize, inaddr) != inarraysize) { in pr_meminfo()
100 m32.mi_inaddr = (caddr32_t)inaddr; in pr_meminfo()
108 m.mi_inaddr = (uint64_t *)inaddr; in pr_meminfo()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dport2ip.c37 krb5_unpack_full_ipaddr(krb5_context context, const krb5_address *inaddr, krb5_int32 *adr, krb5_int… in krb5_unpack_full_ipaddr() argument
45 if (inaddr->addrtype != ADDRTYPE_ADDRPORT) in krb5_unpack_full_ipaddr()
48 if (inaddr->length != sizeof(smushaddr)+ sizeof(smushport) + in krb5_unpack_full_ipaddr()
52 marshal = inaddr->contents; in krb5_unpack_full_ipaddr()
/titanic_41/usr/src/uts/common/vm/
H A Dseg_kmem.c412 boot_alloc(void *inaddr, size_t size, uint_t align) in boot_alloc() argument
414 caddr_t addr = inaddr; in boot_alloc()
860 segkmem_xalloc(vmem_t *vmp, void *inaddr, size_t size, int vmflag, uint_t attr, in segkmem_xalloc() argument
864 caddr_t addr = inaddr; in segkmem_xalloc()
868 if (inaddr == NULL && (addr = vmem_alloc(vmp, size, vmflag)) == NULL) in segkmem_xalloc()
874 if (inaddr == NULL) in segkmem_xalloc()
881 if (inaddr == NULL) in segkmem_xalloc()
984 segkmem_free_vn(vmem_t *vmp, void *inaddr, size_t size, struct vnode *vp, in segkmem_free_vn() argument
988 caddr_t addr = inaddr; in segkmem_free_vn()
996 segkmem_gc_list_t *gc = inaddr; in segkmem_free_vn()
[all …]
H A Dseg_dev.c268 static void devmap_free_pages(vmem_t *vmp, void *inaddr, size_t size);
3811 devmap_free_pages(vmem_t *vmp, void *inaddr, size_t size) in devmap_free_pages() argument
3814 caddr_t addr = inaddr; in devmap_free_pages()
3847 vmem_free(vmp, inaddr, size); in devmap_free_pages()
/titanic_41/usr/src/lib/libbc/libc/inet/
H A Dinet_makeaddr.c52 struct in_addr inaddr; local
60 inaddr.s_addr = htonl(addr);
61 return (inaddr);
/titanic_41/usr/src/lib/libsocket/inet/
H A Dinet_mkaddr.c53 struct in_addr inaddr; in inet_makeaddr() local
64 inaddr.s_addr = addr; in inet_makeaddr()
65 return (inaddr); in inet_makeaddr()
/titanic_41/usr/src/cmd/mdb/common/modules/arp/
H A Darp.c63 in_addr_t inaddr; in print_arp() local
75 (void) memcpy(&inaddr, buf + arh->arh_hlen, sizeof (inaddr)); in print_arp()
76 mdb_printf("%?s ar$%cpa %I\n", "", field_id, inaddr); in print_arp()
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_datagram.c866 ignore: bzero(&datagram->inaddr, sizeof (addr_entry_t)); in smb_netbios_datagram_service()
867 datagram->inaddr.sinlen = sizeof (datagram->inaddr.sin); in smb_netbios_datagram_service()
868 datagram->inaddr.forw = datagram->inaddr.back = in smb_netbios_datagram_service()
869 &datagram->inaddr; in smb_netbios_datagram_service()
873 (struct sockaddr *)&datagram->inaddr.sin, in smb_netbios_datagram_service()
874 &datagram->inaddr.sinlen)) < 0) { in smb_netbios_datagram_service()
881 ipaddr.a_ipv4 = datagram->inaddr.sin.sin_addr.s_addr; in smb_netbios_datagram_service()
H A Dsmbns_netbios.h597 struct addr_entry inaddr; member
/titanic_41/usr/src/lib/libc/port/sys/
H A Dmeminfosys.c40 meminfo(const uint64_t *inaddr, int addr_count, const uint_t *info_req, in meminfo() argument
45 minfo.mi_inaddr = inaddr; in meminfo()
/titanic_41/usr/src/uts/sun4/vm/
H A Dsfmmu.c1115 sfmmu_tsb_xalloc(vmem_t *vmp, void *inaddr, size_t size, int vmflag, in sfmmu_tsb_xalloc() argument
1121 caddr_t addr = inaddr; in sfmmu_tsb_xalloc()
1132 if ((inaddr == NULL) && ((addr = vmem_xalloc(vmp, size, size, 0, 0, in sfmmu_tsb_xalloc()
1137 if (inaddr == NULL) in sfmmu_tsb_xalloc()
1144 if (inaddr == NULL) in sfmmu_tsb_xalloc()
1201 sfmmu_tsb_segkmem_free(vmem_t *vmp, void *inaddr, size_t size) in sfmmu_tsb_segkmem_free() argument
1204 caddr_t addr = inaddr; in sfmmu_tsb_segkmem_free()
1233 vmem_xfree(vmp, inaddr, size); in sfmmu_tsb_segkmem_free()
/titanic_41/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c538 contig_mem_span_free(vmem_t *vmp, void *inaddr, size_t size) in contig_mem_span_free() argument
541 caddr_t addr = inaddr; in contig_mem_span_free()
569 (pgcnt_t)btop(addr - (caddr_t)inaddr) == page_pptonum(pp))); in contig_mem_span_free()
580 vmem_xfree(vmp, inaddr, size); in contig_mem_span_free()
/titanic_41/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_cmdk.c325 xdfs_rwcmd_copyin(struct dadkio_rwcmd *rwcmdp, caddr_t inaddr, int flag) in xdfs_rwcmd_copyin() argument
331 if (ddi_copyin(inaddr, &cmd32, in xdfs_rwcmd_copyin()
350 if (ddi_copyin(inaddr, rwcmdp, in xdfs_rwcmd_copyin()
/titanic_41/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c2079 struct in_addr **inaddr, **inaddrlist; in hent2ndaddr() local
2097 for (inaddr = inaddrlist; *inaddr != NULL; inaddr++) in hent2ndaddr()
2124 for (inaddr = inaddrlist; *inaddr != NULL; inaddr++) { in hent2ndaddr()
2128 sin->sin_addr = **inaddr; in hent2ndaddr()
3037 struct in_addr inaddr; in _inet_makeaddr() local
3047 inaddr.s_addr = htonl(addr); in _inet_makeaddr()
3048 return (inaddr); in _inet_makeaddr()
H A Dnetdir_inet_sundry.c181 uint32_t inaddr; in ip_uaddr2taddr() local
213 inaddr = (h1 << 24) + (h2 << 16) + (h3 << 8) + h4; in ip_uaddr2taddr()
214 sa->sin_addr.s_addr = htonl(inaddr); in ip_uaddr2taddr()
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c372 struct in_addr inaddr; in smb_chk_hostaccess() local
388 inaddr.s_addr = ipaddr->a_ipv4; in smb_chk_hostaccess()
391 sa.sin_addr = inaddr; in smb_chk_hostaccess()
/titanic_41/usr/src/cmd/lms/tools/
H A DATNetworkTool.h275 struct sockaddr_storage inaddr; variable
280 return (0 < inet_pton(family, address, &inaddr));
/titanic_41/usr/src/cmd/ptools/pmap/
H A Dpmap.c1487 uint64_t inaddr[MAX_MEMINFO_CNT]; in mem_chunk_get() local
1491 uint64_t *dataptr = inaddr; in mem_chunk_get()
1521 rc = pr_meminfo(Pr, inaddr, i, info, 2, outdata, validity); in mem_chunk_get()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_print.c1328 in_addr_t inaddr; in print_sou() local
1330 if (mdb_tgt_aread(pap->pa_tgt, pap->pa_as, &inaddr, in print_sou()
1331 sizeof (inaddr), addr) != sizeof (inaddr)) { in print_sou()
1336 mdb_printf("%I", inaddr); in print_sou()
/titanic_41/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c785 rwcmd_copyin(struct dadkio_rwcmd *rwcmdp, caddr_t inaddr, int flag) in rwcmd_copyin() argument
791 if (ddi_copyin(inaddr, &cmd32, in rwcmd_copyin()
810 if (ddi_copyin(inaddr, rwcmdp, in rwcmd_copyin()
/titanic_41/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c3250 struct in_addr inaddr; in do_inet_ntop() local
3253 IN6_V4MAPPED_TO_INADDR(inaddr6, &inaddr); in do_inet_ntop()
3257 isv4 ? (void *)&inaddr : inaddr6, cp, size)); in do_inet_ntop()
/titanic_41/usr/src/lib/libc/port/
H A Dllib-lc1363 int meminfo(const uint64_t *inaddr, int addr_count, const uint_t *info_req,

12