/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | ndp.c | 105 char abuf[INET6_ADDRSTRLEN]; in in_data() local 129 abuf, sizeof (abuf)) == NULL) in in_data() 132 msgbuf = abuf; in in_data() 459 char abuf[INET6_ADDRSTRLEN]; in incoming_ra() local 467 inet_ntop(AF_INET6, &from->sin6_addr, abuf, in incoming_ra() 598 char abuf[INET6_ADDRSTRLEN]; in incoming_prefix_opt() local 601 abuf, sizeof (abuf)); in incoming_prefix_opt() 604 abuf, pi->pi_name, in incoming_prefix_opt() 609 char abuf[INET6_ADDRSTRLEN]; in incoming_prefix_opt() local 612 abuf, sizeof (abuf)); in incoming_prefix_opt() [all …]
|
H A D | tables.c | 577 char abuf[INET6_ADDRSTRLEN]; in phyint_print() local 585 abuf, sizeof (abuf)), pi->pi_flags); in phyint_print() 589 abuf, sizeof (abuf))); in phyint_print() 593 abuf, sizeof (abuf))); in phyint_print() 603 abuf, sizeof (abuf))); in phyint_print() 995 char abuf[INET6_ADDRSTRLEN]; in prefix_lookup() local 1000 abuf, sizeof (abuf)), prefixlen); in prefix_lookup() 1095 char abuf[INET6_ADDRSTRLEN]; in prefix_lookup_addr_match() local 1104 abuf, sizeof (abuf)), pr->pr_prefix_len); in prefix_lookup_addr_match() 1128 char abuf[INET6_ADDRSTRLEN]; in prefix_create() local [all …]
|
H A D | trace.c | 39 char abuf[INET6_ADDRSTRLEN]; in print_route_sol() local 43 abuf, sizeof (abuf)), in print_route_sol() 56 char abuf[INET6_ADDRSTRLEN]; in print_route_adv() local 60 abuf, sizeof (abuf)), in print_route_adv() 88 char abuf[INET6_ADDRSTRLEN]; in print_opt() local 106 abuf, sizeof (abuf)), in print_opt()
|
/titanic_44/usr/src/cmd/tsol/tnctl/ |
H A D | tnctl.c | 132 translate_inet_addr(tsol_rhent_t *rhentp, int *alen, char abuf[], int abuflen) in translate_inet_addr() argument 143 (void) inet_ntop(rhentp->rh_address.ta_family, aptr, abuf, in translate_inet_addr() 146 if (strlcat(abuf, tmpbuf, abuflen) >= abuflen) in translate_inet_addr() 149 abuf); in translate_inet_addr() 151 *alen = strlen(abuf); in translate_inet_addr() 154 (void) inet_ntop(rhentp->rh_address.ta_family, aptr, abuf, in translate_inet_addr() 157 if (strlcat(abuf, tmpbuf, abuflen) >= abuflen) in translate_inet_addr() 160 abuf); in translate_inet_addr() 162 *alen = strlen(abuf); in translate_inet_addr() 178 char abuf[INET6_ADDRSTRLEN+5]; in process_rhl() local [all …]
|
/titanic_44/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpu_acpi.c | 81 ACPI_BUFFER abuf; in cpu_acpi_cache_ctrl_regs() local 92 abuf.Length = ACPI_ALLOCATE_BUFFER; in cpu_acpi_cache_ctrl_regs() 93 abuf.Pointer = NULL; in cpu_acpi_cache_ctrl_regs() 95 cpu_acpi_obj_attrs[objtype].name, NULL, &abuf, ACPI_TYPE_PACKAGE); in cpu_acpi_cache_ctrl_regs() 110 obj = abuf.Pointer; in cpu_acpi_cache_ctrl_regs() 173 if (abuf.Pointer != NULL) in cpu_acpi_cache_ctrl_regs() 174 AcpiOsFree(abuf.Pointer); in cpu_acpi_cache_ctrl_regs() 222 ACPI_BUFFER abuf; in cpu_acpi_cache_state_dependencies() local 237 abuf.Length = ACPI_ALLOCATE_BUFFER; in cpu_acpi_cache_state_dependencies() 238 abuf.Pointer = NULL; in cpu_acpi_cache_state_dependencies() [all …]
|
/titanic_44/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 345 char *abuf = NULL, *abuf_start = NULL, *abuf_end; local 452 abuf = (char *)malloc(args->buf.buflen); 453 if (abuf == NULL) { 457 abuf_start = abuf; 459 (void) memcpy(abuf, h_name, h_namelen); 460 abuf += h_namelen; 461 *abuf = '\0'; 462 abuf = do_aliases(hp, abuf, abuf_end); 463 if (abuf == NULL) { 595 abuf = do_aliases(hp, abuf, abuf_end); [all …]
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip_srcid.c | 123 char abuf[INET6_ADDRSTRLEN]; in ip_srcid_insert() local 126 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); in ip_srcid_insert() 164 char abuf[INET6_ADDRSTRLEN]; in ip_srcid_remove() local 167 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); in ip_srcid_remove() 211 char abuf[INET6_ADDRSTRLEN]; in ip_srcid_find_addr() local 215 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); in ip_srcid_find_addr()
|
/titanic_44/usr/src/lib/libc/port/stdio/ |
H A D | setbuffer.c | 43 setbuffer(FILE *iop, char *abuf, size_t asize) in setbuffer() argument 45 if (abuf == NULL) in setbuffer() 48 (void) setvbuf(iop, abuf, _IOFBF, asize); in setbuffer()
|
H A D | setbuf.c | 44 setbuf(FILE *iop, char *abuf) in setbuf() argument 46 Uchar *buf = (Uchar *)abuf; in setbuf()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_probe.c | 376 char abuf[INET_ADDRSTRLEN]; in in_data() local 413 (void) inet_ntop(AF_INET, &from.sin_addr, abuf, sizeof (abuf)); in in_data() 419 msg.msg_flags, abuf); in in_data() 430 " from %s\n", len, abuf); in in_data() 459 reply->pr_icmp_code, abuf, pii->pii_name); in in_data() 465 len, abuf, pii->pii_name); in in_data() 472 abuf, pii->pii_name); in in_data() 488 reply->pr_icmp_mtype, abuf, pii->pii_name); in in_data() 503 char abuf[INET6_ADDRSTRLEN]; in in6_data() local 537 (void) inet_ntop(AF_INET6, &from.sin6_addr, abuf, sizeof (abuf)); in in6_data() [all …]
|
H A D | mpd_tables.c | 1622 char abuf[INET6_ADDRSTRLEN]; in phyint_inst_print() local 1650 abuf, sizeof (abuf))); in phyint_inst_print() 1658 abuf, sizeof (abuf))); in phyint_inst_print() 1672 abuf, sizeof (abuf))); in phyint_inst_print() 1764 char abuf[INET6_ADDRSTRLEN]; in logint_init_from_k() local 1903 pr_addr(pii->pii_af, testaddr, abuf, sizeof (abuf))); in logint_init_from_k() 1920 char abuf[INET6_ADDRSTRLEN]; in logint_delete() local 1925 pr_addr(af, li->li_addr, abuf, sizeof (abuf)), in logint_delete() 1960 char abuf[INET6_ADDRSTRLEN]; in logint_print() local 1964 pr_addr(af, li->li_addr, abuf, sizeof (abuf)), li->li_subnet_len); in logint_print() [all …]
|
/titanic_44/usr/src/cmd/tsol/tninfo/ |
H A D | tninfo.c | 228 char abuf[INET6_ADDRSTRLEN]; in print_rh() local 247 (void) inet_ntop(AF_INET, &rhent.rh_address.ta_addr_v4, abuf, in print_rh() 248 sizeof (abuf)); in print_rh() 252 (void) inet_ntop(AF_INET6, &in6, abuf, sizeof (abuf)); in print_rh() 255 (void) printf(gettext("IP address= %s\n"), abuf); in print_rh() 260 "%1$s does not exist\n"), abuf); in print_rh() 263 "failed: %2$s\n"), abuf, strerror(errno)); in print_rh()
|
/titanic_44/usr/src/lib/libresolv/ |
H A D | res_query.c | 276 static char abuf[MAXDNAME]; local 292 abuf[sizeof (abuf) - 1] = *C2 = '\0'; 293 (void) strncpy(abuf, C1, sizeof (abuf) - 1); 295 return (abuf);
|
/titanic_44/usr/src/cmd/mailx/ |
H A D | names.c | 109 char nbuf[BUFSIZ], abuf[BUFSIZ]; in extract() local 120 nstrcpy(abuf, sizeof (abuf), nbuf); in extract() 123 nstrcpy(nbuf, sizeof (nbuf), abuf); in extract() 126 snprintf(abuf, sizeof (abuf), "%s@%s", np->n_name, in extract() 128 np->n_name = savestr(abuf); in extract() 533 char ubuf[BUFSIZ], abuf[BUFSIZ]; in samebody() local 543 (void) strlcpy(abuf, addr, BUFSIZ); in samebody() 544 for (i = 0; abuf[i]; i++) in samebody() 545 abuf[i] = tolower(abuf[i]); in samebody() 546 return (strstr(abuf, ubuf) != NOSTR); in samebody() [all …]
|
/titanic_44/usr/src/lib/libnsl/rpc/ |
H A D | ti_opts.c | 124 struct netbuf *abuf = (struct netbuf *)trans->xp_p2; in find_ucred_opt() local 129 if (abuf == NULL || abuf->buf == NULL) { in find_ucred_opt() 136 syslog(LOG_INFO, "find_ucred_opt %p %x", abuf->buf, abuf->len); in find_ucred_opt() 139 opth = (struct opthdr *)abuf->buf; in find_ucred_opt() 142 opth->len + sizeof (*opth) == abuf->len) { in find_ucred_opt() 156 bufp = abuf->buf; in find_ucred_opt() 157 maxbufp = bufp + abuf->len; in find_ucred_opt()
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_dump.c | 97 uchar_t abuf[DUMP_MAXWIDTH + 1]; in mdb_dump_data() local 128 abuf[i] = ' '; in mdb_dump_data() 130 abuf[i] = '.'; in mdb_dump_data() 132 abuf[i] = buf[i]; in mdb_dump_data() 133 abuf[width] = '\0'; in mdb_dump_data() 134 mdb_printf(" %s", abuf); in mdb_dump_data()
|
/titanic_44/usr/src/cmd/krb5/krb5kdc/ |
H A D | sock2p.c | 55 char abuf[46]; in inet_ntop() local 58 sprintf (abuf, "%x:%x:%x:%x:%x:%x:%x:%x", in inet_ntop() 67 p = abuf; in inet_ntop()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rexecd.c | 179 char abuf[INET6_ADDRSTRLEN]; in doit() local 227 inet_ntop(AF_INET, &ipv4_addr, abuf, in doit() 228 sizeof (abuf)); in doit() 231 abuf, sizeof (abuf)); in doit() 235 abuf, sizeof (abuf)); in doit() 237 (void) strncpy(hostname, abuf, sizeof (hostname)); in doit()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | dmu_diff.c | 131 arc_buf_t *abuf; in diff_cb() local 136 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, in diff_cb() 141 blk = abuf->b_data; in diff_cb() 149 (void) arc_buf_remove_ref(abuf, &abuf); in diff_cb()
|
/titanic_44/usr/src/lib/libtsnet/common/ |
H A D | tsol_getrhent.c | 224 char abuf[INET6_ADDRSTRLEN]; in tsol_getrhtype() local 239 (void) inet_ntop(AF_INET, &rhent.rh_address.ta_addr_v4, abuf, in tsol_getrhtype() 240 sizeof (abuf)); in tsol_getrhtype() 244 (void) inet_ntop(AF_INET6, &in6, abuf, sizeof (abuf)); in tsol_getrhtype()
|
/titanic_44/usr/src/ucbcmd/sed/ |
H A D | sed1.c | 40 union reptr *abuf[ABUFSIZE+1]; variable 219 if(aptr > abuf) { in execute() 338 if(aptr >= &abuf[ABUFSIZE]) { in command() 502 if(aptr > abuf) in command() 513 if(aptr > abuf) in command() 542 if(aptr > abuf) arout(); in command() 546 if(aptr >= &abuf[ABUFSIZE]) { in command() 740 aptr = abuf - 1; in arout() 756 aptr = abuf; in arout()
|
/titanic_44/usr/src/cmd/sh/ |
H A D | print.c | 135 unsigned char *abuf = &buf[20]; in itos() local 138 *--abuf = (unsigned char)'\0'; in itos() 141 *--abuf = (unsigned char)('0' + n - 10 * (d = n / 10)); in itos() 144 strncpy(numbuf, abuf, sizeof (numbuf)); in itos()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 450 char abuf[INET6_ADDRSTRLEN]; in vrrpd_create_ip() local 453 VRRPADDR2STR(intf->vvi_af, addr, abuf, INET6_ADDRSTRLEN, _B_FALSE); in vrrpd_create_ip() 455 intf->vvi_ifname, lifname, abuf, flags); in vrrpd_create_ip() 459 "failed to allocate IP", lifname, abuf); in vrrpd_create_ip() 483 char abuf[INET6_ADDRSTRLEN]; in vrrpd_delete_ip() local 487 VRRPADDR2STR(af, &ip->vip_addr, abuf, sizeof (abuf), _B_FALSE); in vrrpd_delete_ip() 489 intf->vvi_ifname, ip->vip_lifname, abuf, in vrrpd_delete_ip() 1491 char abuf[INET6_ADDRSTRLEN]; in vrrpd_init_ipcache() local 1526 VRRPADDR2STR(af, &ip->vip_addr, abuf, in vrrpd_init_ipcache() 1533 abuf, ip->vip_flags); in vrrpd_init_ipcache() [all …]
|
/titanic_44/usr/src/uts/common/io/fcoe/ |
H A D | fcoe.c | 112 void **ibuf, void **abuf, void **obuf); 563 void **ibuf, void **abuf, void **obuf) in fcoe_copyin_iocdata() argument 568 *abuf = NULL; in fcoe_copyin_iocdata() 593 *abuf = kmem_zalloc((*fcoeio)->fcoeio_alen, KM_SLEEP); in fcoe_copyin_iocdata() 595 *abuf, (*fcoeio)->fcoeio_alen, mode) != 0) { in fcoe_copyin_iocdata() 607 if (*abuf) { in fcoe_copyin_iocdata() 608 kmem_free(*abuf, (*fcoeio)->fcoeio_alen); in fcoe_copyin_iocdata() 609 *abuf = NULL; in fcoe_copyin_iocdata() 645 void *abuf = NULL; in fcoe_iocmd() local 648 ret = fcoe_copyin_iocdata(data, mode, &fcoeio, &ibuf, &abuf, &obuf); in fcoe_iocmd() [all …]
|
/titanic_44/usr/src/ucblib/libucb/port/gen/ |
H A D | setbuffer.c | 50 setbuffer(FILE *iop, char *abuf, int asize) in setbuffer() argument 52 Uchar *buf = (Uchar *)abuf; in setbuffer()
|