/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 23 * 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 D | traceroute_aux.c | 20 * 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 D | cmd1.c | 40 * 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 D | kvm_cpu_p4.c | 55 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 D | labelit.c | 91 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 D | db_dup.c | 388 * 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 D | savemail.c | 198 "\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 D | restore.c | 107 * 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 D | idmap_engine.c | 154 * 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 D | ipnat_y.y | 439 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 D | acquire.c | 345 /* 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 D | do_as_req.c | 13 * 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 D | do_tgs_req.c | 13 * 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 D | hsfs_rrip.c | 95 * 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 D | hash.c | 121 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 D | clnt_udp.c | 37 * 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 D | sctp_snmp.c | 210 /* 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 D | udp_stats.c | 225 * 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 D | clnt_btcp.c | 31 * 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 D | clnt_budp.c | 31 * 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 D | rpc.c | 184 * 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 D | inflate.c | 25 * - 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 D | xgehal-ring.c | 76 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 D | chgpwd.c | 12 * 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 D | rcmd.c | 22 * 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...] |