Searched defs:inaddr (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/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);
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet_mkaddr.c53 struct in_addr inaddr; local
64 inaddr.s_addr = addr;
65 return (inaddr);
/illumos-gate/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_int16 *port) argument
45 if (inaddr->addrtype != ADDRTYPE_ADDRPORT)
48 if (inaddr->length != sizeof(smushaddr)+ sizeof(smushport) +
52 marshal = inaddr->contents;
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dmeminfosys.c40 meminfo(const uint64_t *inaddr, int addr_count, const uint_t *info_req, argument
45 minfo.mi_inaddr = inaddr;
/illumos-gate/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) argument
60 if (!inaddr) {
65 while (inaddr[nelems]) nelems++;
71 for (nelems = 0; inaddr[nelems]; nelems++) {
72 retval = krb5_copy_addr(context, inaddr[nelems], &tempaddr[nelems]);
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[nelem
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_meminfo.c56 uintptr_t inaddr, infoaddr, outaddr, validityaddr; local
77 inaddr = (uintptr_t)totalmap;
79 outaddr = inaddr + inarraysize;
85 if (Pwrite(Pr, addrs, inarraysize, inaddr) != inarraysize) {
86 dprintf("pr_meminfo: Pwrite inaddr failed \n");
100 m32.mi_inaddr = (caddr32_t)inaddr;
108 m.mi_inaddr = (uint64_t *)inaddr;
/illumos-gate/usr/src/cmd/mdb/common/modules/arp/
H A Darp.c63 in_addr_t inaddr; local
75 (void) memcpy(&inaddr, buf + arh->arh_hlen, sizeof (inaddr));
76 mdb_printf("%?s ar$%cpa %I\n", "", field_id, inaddr);
/illumos-gate/usr/src/lib/libresolv/
H A Dres_debug.c220 struct in_addr inaddr; local
243 memcpy((void *)&inaddr, (void *)cp, sizeof (inaddr));
245 bcopy(cp, (char *)&inaddr, sizeof (inaddr));
249 inet_ntoa(inaddr));
253 inet_ntoa(inaddr));
350 memcpy((void *)&inaddr, (void *)cp, sizeof (inaddr));
352 bcopy(cp, (char *)&inaddr, sizeo
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dbound.c962 struct in_addr inaddr; local
974 (void) memcpy(&inaddr, ack->opts[CD_SERVER_ID]->value,
975 sizeof (inaddr));
976 IN6_INADDR_TO_V4MAPPED(&inaddr, &dsmp->dsm_server);
1032 ack->opts[CD_SUBNETMASK]->len == sizeof (inaddr)) {
1034 (void) memcpy(&inaddr, ack->opts[CD_SUBNETMASK]->value,
1035 sizeof (inaddr));
1040 ack->opts[CD_SUBNETMASK]->len != sizeof (inaddr)) {
1060 inaddr.s_addr = htonl(IN_CLASSA_NET);
1062 inaddr
[all...]
/illumos-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.h275 struct sockaddr_storage inaddr; local
280 return (0 < inet_pton(family, address, &inaddr));
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_cmdk.c325 xdfs_rwcmd_copyin(struct dadkio_rwcmd *rwcmdp, caddr_t inaddr, int flag) argument
331 if (ddi_copyin(inaddr, &cmd32,
350 if (ddi_copyin(inaddr, rwcmdp,
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c181 uint32_t inaddr; local
213 inaddr = (h1 << 24) + (h2 << 16) + (h3 << 8) + h4;
214 sa->sin_addr.s_addr = htonl(inaddr);
H A Dnetdir_inet.c2079 struct in_addr **inaddr, **inaddrlist; local
2097 for (inaddr = inaddrlist; *inaddr != NULL; inaddr++)
2124 for (inaddr = inaddrlist; *inaddr != NULL; inaddr++) {
2128 sin->sin_addr = **inaddr;
2697 * if (__inet_address_is_local(p, inaddr)) {
3037 struct in_addr inaddr; local
[all...]
/illumos-gate/usr/src/uts/sun4/vm/
H A Dsfmmu.c1115 sfmmu_tsb_xalloc(vmem_t *vmp, void *inaddr, size_t size, int vmflag, argument
1121 caddr_t addr = inaddr;
1132 if ((inaddr == NULL) && ((addr = vmem_xalloc(vmp, size, size, 0, 0,
1137 if (inaddr == NULL)
1144 if (inaddr == NULL)
1201 sfmmu_tsb_segkmem_free(vmem_t *vmp, void *inaddr, size_t size) argument
1204 caddr_t addr = inaddr;
1233 vmem_xfree(vmp, inaddr, size);
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c560 contig_mem_span_free(vmem_t *vmp, void *inaddr, size_t size) argument
563 caddr_t addr = inaddr;
591 (pgcnt_t)btop(addr - (caddr_t)inaddr) == page_pptonum(pp)));
602 vmem_xfree(vmp, inaddr, size);
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kmem.c411 boot_alloc(void *inaddr, size_t size, uint_t align) argument
413 caddr_t addr = inaddr;
859 segkmem_xalloc(vmem_t *vmp, void *inaddr, size_t size, int vmflag, uint_t attr, argument
863 caddr_t addr = inaddr;
867 if (inaddr == NULL && (addr = vmem_alloc(vmp, size, vmflag)) == NULL)
873 if (inaddr == NULL)
880 if (inaddr == NULL)
983 segkmem_free_vn(vmem_t *vmp, void *inaddr, size_t size, struct vnode *vp, argument
987 caddr_t addr = inaddr;
995 segkmem_gc_list_t *gc = inaddr;
1040 segkmem_xfree(vmem_t *vmp, void *inaddr, size_t size, void (*func)(page_t *)) argument
1046 segkmem_free(vmem_t *vmp, void *inaddr, size_t size) argument
1052 segkmem_zio_free(vmem_t *vmp, void *inaddr, size_t size) argument
1129 segkmem_xalloc_lp(vmem_t *vmp, void *inaddr, size_t size, int vmflag, uint_t attr, page_t *(*page_create_func)(void *, size_t, int, void *), void *pcarg) argument
1379 segkmem_free_lp(vmem_t *vmp, void *inaddr, size_t size) argument
1419 segkmem_free_lpi(vmem_t *vmp, void *inaddr, size_t size) argument
[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) argument
3814 caddr_t addr = inaddr;
3847 vmem_free(vmp, inaddr, size);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c372 struct in_addr inaddr; local
388 inaddr.s_addr = ipaddr->a_ipv4;
391 sa.sin_addr = inaddr;
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c1487 uint64_t inaddr[MAX_MEMINFO_CNT]; local
1491 uint64_t *dataptr = inaddr;
1501 * copy starting address of each page to inaddr array for pr_meminfo.
1521 rc = pr_meminfo(Pr, inaddr, i, info, 2, outdata, validity);
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios.h597 struct addr_entry inaddr; member in struct:datagram
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c785 rwcmd_copyin(struct dadkio_rwcmd *rwcmdp, caddr_t inaddr, int flag) argument
791 if (ddi_copyin(inaddr, &cmd32,
810 if (ddi_copyin(inaddr, rwcmdp,
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c3250 struct in_addr inaddr; local
3253 IN6_V4MAPPED_TO_INADDR(inaddr6, &inaddr);
3257 isv4 ? (void *)&inaddr : inaddr6, cp, size));
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_print.c1329 in_addr_t inaddr; local
1331 if (mdb_tgt_aread(pap->pa_tgt, pap->pa_as, &inaddr,
1332 sizeof (inaddr), addr) != sizeof (inaddr)) {
1337 mdb_printf("%I", inaddr);

Completed in 155 milliseconds