Searched defs:buf1 (Results 1 - 25 of 62) sorted by relevance

123

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dif.c73 char buf1[INET6_ADDRSTRLEN]; local
117 inet_ntop(AF_INET6, (void *)&ifp->int_addr, buf1,
118 sizeof (buf1)));
120 inet_ntop(AF_INET6, (void *)&ifp->int_dstaddr, buf1,
121 sizeof (buf1)));
124 inet_ntop(AF_INET6, (void *)&ifp->int_addr, buf1,
125 sizeof (buf1)),
H A Dinput.c42 static char buf1[INET6_ADDRSTRLEN]; variable
100 (void) inet_ntop(from.sin6_family, &from.sin6_addr, buf1,
101 sizeof (buf1));
109 rmsg.msg_flags, buf1);
117 buf1);
146 buf1, sizeof (buf1));
167 msg->rip6_vers, buf1);
177 buf1);
222 n->rip6_prefix_length, buf1);
[all...]
H A Dtrace.c170 char buf1[INET6_ADDRSTRLEN]; local
173 inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1,
174 sizeof (buf1)),
177 inet_ntop(AF_INET6, (void *)&rt->rt_router, buf1,
178 sizeof (buf1)),
H A Dtables.c86 char buf1[INET6_ADDRSTRLEN]; local
90 (void) inet_ntop(AF_INET6, (void *) &new->rt_dst, buf1, sizeof (buf1)); local
97 buf1, buf2,
108 char buf1[INET6_ADDRSTRLEN]; local
111 (void) inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1, sizeof (buf1)); local
115 buf1, buf2,
529 char buf1[INET6_ADDRSTRLEN]; local
553 inet_ntop(AF_INET6, (void *)&rt->rt_dst, buf1, sizeo
[all...]
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c44 char buf1[BUFSIZE], buf2[BUFSIZE]; variable
55 gets(buf1);
56 last = buf1;
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_misc.c40 char buf1[30]; local
83 (void) mi_sprintf(buf1, "SCTPUnkState(%d)", sctp->sctp_state);
84 cp = buf1;
/illumos-gate/usr/src/cmd/refer/
H A Drefer6.c34 char buf1[BUFSIZ], buf2[50]; local
63 tx = caps(tx, buf1);
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent.c81 char *buf1, *buf2; local
128 buf1 = first_host;
159 len = snprintf(buf1, buflen1, "%s", ips[0]);
160 TEST_AND_ADJUST(len, buf1, buflen1, result_host2str);
193 len = snprintf(buf1, buflen1, " %s", cname);
196 len = snprintf(buf1, buflen1, " %s.%s", cname,
199 TEST_AND_ADJUST(len, buf1, buflen1, result_host2str);
213 len = snprintf(buf1, buflen1, " %s",
217 len = snprintf(buf1, buflen1, " %s.%s",
219 TEST_AND_ADJUST(len, buf1, buflen
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dmech_rsa.c401 CK_ULONG buf1[16]; local
446 tmp = (CK_BYTE *)buf1;
531 CK_ULONG buf1[16]; local
574 tmp = (CK_BYTE *)buf1;
656 CK_ULONG buf1[16]; local
693 tmp = (CK_BYTE *)buf1;
738 CK_ULONG buf1[16]; local
773 tmp = (CK_BYTE *)buf1;
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dconfig_parsing.c547 char *buf1 = NULL; local
558 buf1 = malloc(SLOT_DESCRIPTION_SIZE);
559 if (buf1 == NULL) {
564 (void) strcpy(buf1, (const char *) puent->metaslot_ks_slot);
565 *objectstore_slot_info = buf1;
582 if (buf1 != NULL) {
583 free(buf1);
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsections.c273 dbg_isec_name_buf_t buf1, buf2; local
277 dbg_fmt_isec_name(isp, buf1, &alloc_mem1),
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_node.c1035 char buf1[32]; local
1044 emlxs_wwn_xlate(buf1, sizeof (buf1),
1052 hba->ddiinst, emlxs_wwn_xlate(buf1, sizeof (buf1),
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c364 char buf1[32]; local
372 (void) sprintf(s1 = buf1, "%lld", rp->rlim_cur);
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c776 char buf1[15], buf2[15]; local
783 derive_str(f_start, buf1);
797 (void) strcat(f_newfile, buf1);
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_misc.c680 char buf1[30]; local
739 (void) mi_sprintf(buf1, "TCPUnkState(%d)", tcp->tcp_state);
740 cp = buf1;
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_format.c856 uint32_t *buf0, *buf1; local
859 buf1 = kmem_alloc(cnv_max, KM_NOSLEEP);
860 if ((buf0 == NULL) || (buf1 == NULL)) {
866 if (buf1)
867 kmem_free(buf1, cnv_max);
877 sp->s_cnv_buf1 = buf1;
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_proto.c116 int8_t buf1[100]; local
120 bzero(buf1, sizeof (buf1));
127 (void) strncat(buf1, buf2, sizeof (buf2));
130 (void) strncat(buf1, buf2, sizeof (buf2));
133 (void) strncat(buf1, buf2, sizeof (buf2));
138 (void) strncat(buf1, buf2, sizeof (buf2));
141 (void) strncat(buf1, buf2, sizeof (buf2));
144 (void) strncat(buf1, buf2, sizeof (buf2));
149 (void) strncat(buf1, buf
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c338 uchar_t *buf, *buf1; local
375 buf1 = buf + sizeof (ks_obj_hdr_t);
381 (void) memcpy(buf1, &attr_hdr, sizeof (ks_attr_hdr_t));
382 buf1 = buf1 + sizeof (ks_attr_hdr_t);
383 (void) memcpy(buf1, extra_attr->attr.pValue,
385 buf1 = buf1 + ROUNDUP(extra_attr->attr.ulValueLen, 8);
393 rv = soft_pack_object(obj, buf1);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c243 char buf1[BUFSIZ]; local
246 tstostr(buf1, s1);
248 return (strcoll(buf1, buf2));
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c267 static Conv_inv_buf_t buf1, buf2; local
284 buf = (buf == &buf1) ? &buf2 : &buf1; /* Switch buffers */
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_diag.c63 int buf1[MAXBUF]; variable
242 r = pwrite(fd, buf1, bufsize, (off_t)(seekpos << SCTRSHFT));
285 gen_data(buf1, bufsize);
286 r = pwrite(fd, buf1, bufsize, (off_t)(seekpos << SCTRSHFT));
298 if (memcmp(buf1, buf2, bufsize)) {
323 gen_data(buf1, bufsize);
332 r = pwrite(fd, buf1, bufsize, (off_t)(seekpos[i] << SCTRSHFT));
347 if (memcmp(buf1, buf2, bufsize)) {
386 r = pwrite(fd, buf1, bufsize, (i*fba_num_bufsize) << SCTRSHFT);
400 r = pwrite(fd, buf1, bufsiz
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c1258 char *propname, *propval, *buf1, *buf2; local
1284 buf1 = kmem_alloc(OBP_MAXPROPNAME, KM_SLEEP);
1286 buf1[0] = '\0';
1287 while (propname = (char *)prom_nextprop(nodeid, buf1, buf2)) {
1290 (void) strcpy(buf1, propname);
1307 kmem_free(buf1, OBP_MAXPROPNAME);
/illumos-gate/usr/src/uts/sun/io/ttymux/
H A Dttymux_ioctl.c131 char *buf1; local
145 buf1 = kmem_alloc(OBP_MAXPROPNAME, KM_SLEEP);
147 buf1[0] = '\0';
149 while (propname = (char *)prom_nextprop(node, buf1, buf2)) {
153 (void) strcpy(buf1, propname);
163 kmem_free(buf1, OBP_MAXPROPNAME);
172 kmem_free(buf1, OBP_MAXPROPNAME);
/illumos-gate/usr/src/cmd/logadm/
H A Dmain.c787 char *buf1; local
793 buf1 = fn_s(fnp);
797 if (buf1 != NULL && buf2 != NULL) {
799 buf1, buf2, n);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c259 * in (buf1,eom1) and (buf2,eom2)?
270 res_queriesmatch(const u_char *buf1, const u_char *eom1, argument
273 const u_char *cp = buf1 + HFIXEDSZ;
274 int qdcount = ntohs(((const HEADER*)buf1)->qdcount);
276 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2)
283 if ((((const HEADER *)buf1)->opcode == ns_o_update) &&
293 n = dn_expand(buf1, eom1, cp, tname, sizeof tname);

Completed in 133 milliseconds

123