Searched defs:from (Results 76 - 100 of 283) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c23 * be used to endorse or promote products derived from this software without
138 struct sockaddr_in from; local
159 fromlen = (socklen_t)sizeof (from);
160 if (getsockname(0, (struct sockaddr *)&from, &fromlen) < 0) {
377 * care we don't open and read from the wrong file.
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c20 * or promote products derived from this software without specific prior
322 * Returns REPLY_GOT_TARGET if the reply comes from the target
344 Printf("packet too short (%d bytes) from %s\n",
415 Printf("\n%d bytes from %s to ", cc,
471 print_addr(uchar_t *buf, int cc, struct sockaddr *from) argument
474 struct sockaddr_in *from_in = (struct sockaddr_in *)from;
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd1.c40 * University Acknowledgment- Portions of this document are derived from
193 from(int *msgvec) function
326 * Return the full name from an RFC-822 header line
534 * The number of lines is taken from the variable "toplines"
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkvm_cpu_p4.c55 uint_t p4f_lbrstk_from_base; /* low "from" branch stk MSR */
76 kmt_p4_branch(uintptr_t from, uintptr_t to, int verbose) argument
80 MDB_TGT_AS_VIRT, from, 3);
82 mdb_printf("%<b>%-39a %-39a%</b>\n", from, to);
84 while (addr <= from) {
106 if (addr == from) {
120 mdb_printf("%-39a %-39a\n", from, to);
153 uintptr_t from = (uintptr_t)kmdb_dpi_msr_get_by_cpu(cpuid, local
158 kmt_p4_branch(from, to, verbose);
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/
H A Dlabelit.c91 static void copystring(char *from, char *to, int size);
437 copystring(char *from, char *to, int size) argument
441 if (from == NULL)
444 if (*from == '\0')
446 else *to++ = *from++;
491 /* readdisk - read from cdrom image file */
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_dup.c388 * Remove an item from a page.
402 u_int8_t *from; local
428 from = (u_int8_t *)pagep + HOFFSET(pagep);
429 memmove(from + nbytes, from, pagep->inp[indx] - HOFFSET(pagep));
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsavemail.c198 "\r\nMessage from %s...\r\n", buf);
251 char from[TOBUFSIZE]; local
253 if (sm_strlcpy(from, e->e_from.q_paddr,
254 sizeof(from)) >= sizeof(from))
261 (void) pruneroute(from);
263 (void) sendtolist(from, NULLADDR,
681 /* fake up an address header for the from person */
822 expand("from \201_", buf, sizeof(buf), e->e_parent);
921 " (expanded from
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.c107 * Delete entries from the request queue.
146 * Remove unneeded leaves from the old tree.
147 * Remove directories from the lookup chains.
176 * once the inode is deleted from the symbol
423 * that we need to rename, so we delete it from the symbol
436 /* changing from leaf to node */
442 /* changing from node to leaf */
687 * be removed since its type may change from one leaf type
856 char *to, *from; local
868 resolve(myname(np), &dfd, &from); local
994 char *to, *from; local
[all...]
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Didmap_engine.c154 * Read another parameter from "from", up to a space char (unless it
158 get_param(char **to, const char *from) argument
169 while (isspace(from[from_i]))
172 for (to_i = 0; '\0' != from[from_i]; from_i++) {
173 c = from[from_i];
193 buf[to_i++] = from[from_i];
243 /* Clean all aruments from my_argv. Don't deallocate my_argv itself. */
263 * passed from the CPL_MATCH_FN macro.
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat_y.y439 from sobject IPNY_TO dobject { if ($2 != 0 && $4 != 0 && $2 != $4)
444 | from sobject '!' IPNY_TO dobject
454 from sobject IPNY_TO dobject { if ($2 != 0 && $4 != 0 && $2 != $4)
459 | '!' from sobject IPNY_TO dobject
468 from: IPNY_FROM { nat->in_flags |= IPN_FILTER; label
800 { "from", IPNY_FROM },
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire.c345 /* a kstat disappeared from under us */
467 kstat_named_t *from; local
473 from = src->ks_data;
478 if (from->data_type != KSTAT_DATA_CHAR &&
479 from->data_type != KSTAT_DATA_STRING)
480 (to)->value.ui64 += (from)->value.ui64;
481 from++;
547 * Either we've just gone from being negative
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Ddo_as_req.c13 * Export of this software from the United States of America may
14 * require a specific license from the United States Government.
61 const krb5_fulladdr *from, krb5_data **response)
102 (void) memcpy(&from_in4, from->address->contents, /* SUNW */
105 fromstring = inet_ntop(ADDRTYPE2FAMILY (from->address->addrtype),
229 enc_tkt_reply.times.starttime = request->from;
446 /* these parts are left on as a courtesy from krb5_encode_kdc_rep so we
455 audit_krb5kdc_as_req(&from_in4, (in_port_t)from->port, 0,
484 audit_krb5kdc_as_req(&from_in4, (in_port_t)from->port,
60 process_as_req(krb5_kdc_req *request, krb5_data *req_pkt, const krb5_fulladdr *from, krb5_data **response) argument
H A Ddo_tgs_req.c13 * Export of this software from the United States of America may
14 * require a specific license from the United States Government.
57 const krb5_fulladdr *from, char *cname);
65 process_tgs_req(krb5_data *pkt, const krb5_fulladdr *from, argument
115 fromstring = inet_ntop(ADDRTYPE2FAMILY(from->address->addrtype),
116 from->address->contents,
127 /* errcode = kdc_process_tgs_req(request, from, pkt, &req_authdat); */
128 errcode = kdc_process_tgs_req(request, from, pkt, &header_ticket, &subkey);
159 /* XXX make sure server here has the proper realm...taken from AP_REQ
190 from, cnam
810 find_alternate_tgs(krb5_kdc_req *request, krb5_db_entry *server, krb5_boolean *more, int *nprincs, const krb5_fulladdr *from, char *cname) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_rrip.c95 * This function parses out the major and minor numbers from the "PN
115 * This function parses out the file attributes of a file from the "PX"
164 * This function parses out the file time attributes of a file from the
209 uchar_t *SUA_string, /* string from SUA */
441 char *from, /* name to copy */
442 char *to, /* string to copy "from" to */
455 (from == (char *)NULL) ||
488 (void) strcpy(tmp_name, from); /* keep original */
489 size = hs_uppercase_copy(tmp_name, from, (int)strlen(from));
440 rrip_namecopy( char *from, char *to, char *tmp_name, uchar_t *dirp, uint_t last_offset, struct hsfs *fsp, struct hs_direntry *hdp) argument
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dhash.c121 hash_merge(hash_t *to, hash_t *from) argument
123 (void) hash_iter(from, hash_add_cb, to);
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_udp.c37 * University Acknowledgment- Portions of this document are derived from
233 struct sockaddr_in from; local
381 (struct sockaddr *)&from, &fromlen);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_snmp.c210 /* Copy data from the SCTP MIB */
213 /* These are from global ndd params. */
220 /* Copy data from the local sctp_mib to the provided kstat. */
363 * To add counters from the per CPU sctp_kstat_counter_t to the stack
367 sctp_add_kstats2(sctp_kstat_counter_t *from, sctp_kstat_t *to) argument
369 to->sctp_add_faddr.value.ui64 += from->sctp_add_faddr;
370 to->sctp_add_timer.value.ui64 += from->sctp_add_timer;
371 to->sctp_conn_create.value.ui64 += from->sctp_conn_create;
372 to->sctp_find_next_tq.value.ui64 += from->sctp_find_next_tq;
373 to->sctp_fr_add_hdr.value.ui64 += from
935 sctp_add_mib(mib2_sctp_t *from, mib2_sctp_t *to) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_stats.c225 * from the TS_IDLE above to
375 * To add stats from one mib2_udp_t to another. Static fields are not added.
379 udp_add_mib(mib2_udp_t *from, mib2_udp_t *to) argument
381 to->udpHCInDatagrams += from->udpHCInDatagrams;
382 to->udpInErrors += from->udpInErrors;
383 to->udpHCOutDatagrams += from->udpHCOutDatagrams;
384 to->udpOutErrors += from->udpOutErrors;
435 * To copy counters from the per CPU udpp_stat_counter_t to the stack
439 udp_add_stats(udp_stat_counter_t *from, udp_stat_t *to) argument
441 to->udp_sock_fallback.value.ui64 += from
[all...]
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dclnt_btcp.c31 * Portions of this source code were derived from Berkeley 4.3 BSD
32 * under license from the Regents of the University of California.
157 struct sockaddr_in from; local
175 from.sin_family = AF_INET;
176 ipv4_getipaddr(&from.sin_addr);
177 from.sin_addr.s_addr = htonl(from.sin_addr.s_addr);
178 from.sin_port = get_source_port(TRUE);
180 if (bind(*sockp, (struct sockaddr *)&from, sizeof (from)) <
408 struct sockaddr from; local
[all...]
H A Dclnt_budp.c31 * Portions of this source code were derived from Berkeley 4.3 BSD
32 * under license from the Regents of the University of California.
173 struct sockaddr_in from; local
188 from.sin_family = AF_INET;
189 ipv4_getipaddr(&from.sin_addr);
190 from.sin_addr.s_addr = htonl(from.sin_addr.s_addr);
191 from.sin_port = get_source_port(TRUE);
193 if (bind(*sockp, (struct sockaddr *)&from, sizeof (from)) <
241 struct sockaddr_in from; local
[all...]
H A Drpc.c184 * your convenience. to and from addresses are taken and received in network
204 struct sockaddr_in from; /* us. */ local
253 from.sin_family = AF_INET;
254 ipv4_getipaddr(&from.sin_addr);
255 from.sin_addr.s_addr = htonl(from.sin_addr.s_addr);
256 from.sin_port = get_source_port(B_TRUE);
258 if (bind(s, (struct sockaddr *)&from, sizeof (from)) < 0) {
452 dprintf("brpc_call: from
[all...]
/illumos-gate/usr/src/uts/common/zmod/
H A Dinflate.c25 * - Change inffast.c entry and loop from avail_in >= 7 to >= 6
26 * - Remove unnecessary second byte pull from length extra in inffast.c
50 * - Move a comment on output buffer sizes from inffast.c to inflate.c
72 * - Changed loops from while (1) or do {} while (1) to for (;;), again to
204 fixed code decoding. Normally this returns fixed tables from inffixed.h.
326 upon return from inflate(), and since all distances after the first 32K of
420 /* Restore state from registers in inflate() */
438 /* Get a byte of input into the bit accumulator, or return from inflate()
449 not enough available input to do that, then return from inflate(). */
460 /* Remove n bits from th
573 unsigned char FAR *from; /* where to copy match bytes from */ local
[all...]
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-ring.c76 xge_hal_ring_t *ring, int from, int to)
82 /* get "from" RxD block */
84 __hal_mempool_item((xge_hal_mempool_t *) mempoolh, from);
99 /* return "from" RxD block's DMA start address */
104 /* we must sync "from" RxD block, so hardware will see it */
115 from, (unsigned long long)from_dma, to,
448 /* Clean STRIP_VLAN_TAG bit and set as config from upper layer */
75 __hal_ring_rxdblock_link(xge_hal_mempool_h mempoolh, xge_hal_ring_t *ring, int from, int to) argument
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c12 * Export of this software from the United States of America may
13 * require a specific license from the United States Government.
34 * chgpwd.c - Handles changepw requests issued from non-Solaris krb5 clients.
194 "is missing from \"%s\""),
231 * Some brain-dead OS's don't return useful information from
314 "Ticket must be derived from a password",
384 krb5_klog_syslog(LOG_NOTICE, "chpw request from %s for %.*s%s: %s",
563 * on kpasswd-port 464 from MIT/M$ clients.
572 struct sockaddr_in from; local
583 fromlen = sizeof (from);
[all...]
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Drcmd.c22 * may be used to endorse or promote products derived from this software
107 struct sockaddr_in sin, from; local
235 int len = sizeof (from);
252 s3 = accept(s2, (struct sockaddr *)&from, &len);
266 from.sin_port = ntohs((u_short)from.sin_port);
267 if (from.sin_family != AF_INET ||
268 from.sin_port >= IPPORT_RESERVED) {
428 /* disable host from -hostname entry */
432 /* disable host from
[all...]

Completed in 511 milliseconds

1234567891011>>