| /onnv/onnv-gate/usr/src/cmd/mail/ |
| cat.c | 4 * The contents of this file are subject to the terms of the 32 void cat(char *to, char *from1, char *from2) 35 cat() concatenates "from1" and "from2" to "to" 36 to -> destination string 42 cat(to, from1, from2) 43 register char *to, *from1, *from2; 45 for (; *from1;) *to++ = *from1++; 46 for (; *from2;) *to++ = *from2++; 47 *to = '\0' [all...] |
| /onnv/onnv-gate/usr/src/cmd/audio/include/ |
| archdep.h | 4 * The contents of this file are subject to the terms of the 43 * The following macros are used to generate architecture-specific 50 #define DECODE_SHORT(from, to) *((short *)(to)) = *((short *)(from)) 51 #define DECODE_LONG(from, to) *((long *)(to)) = *((long *)(from)) 52 #define DECODE_FLOAT(from, to) *((float *)(to)) = *((float *)(from)) 53 #define DECODE_DOUBLE(from, to) *((double *)(to)) = *((double *)(from) [all...] |
| /onnv/onnv-gate/usr/src/lib/libmail/common/ |
| abspath.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 34 * abspath - expand a path relative to some `.' 37 * string *abspath(char *path, char *dot, string *to) 42 * returned in "to". Otherwise, the value of "path" is 43 * returned in "to". 49 abspath(char *path, char *dot, string *to) 52 to = s_append(to, path); 54 to = s_append(to, dot) [all...] |
| strmove.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 40 * void strmove(char *to, char *from) 45 * It does it left-to-right, a byte at a time. 49 strmove(char *to, char *from) 51 while ((*to++ = *from++) != 0)
|
| s_string.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 38 /* global to this file */ 111 * take a larger increment to avoid mallocing too often 166 sp->ptr = sp->end - (size_t)1; /* point to NULL terminator */ 170 /* convert string to lower case */ 187 /* append a char array to a string */ 189 s_append(string *to, char *from) 191 if (to == NULL) 192 to = s_new() 287 string *to = s_new(); local 300 string *to = s_clone(from); local [all...] |
| /onnv/onnv-gate/usr/src/cmd/vi/port/ |
| bcopy.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 33 bcopy(from, to, count) 35 unsigned char *from, *to; 43 unsigned char *from, *to; 49 unsigned char *from, *to; 53 *to++ = *from++;
|
| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| bcopywrap.c | 3 int bcopywrap(from, to, size) 4 void *from, *to; 7 bcopy((caddr_t)from, (caddr_t)to, size);
|
| kmemcpywrap.c | 4 int kmemcpywrap(from, to, size) 5 void *from, *to; 10 ret = kmemcpy((caddr_t)to, (u_long)from, size);
|
| /onnv/onnv-gate/usr/src/cmd/ipf/examples/ |
| example.3 | 4 block in from any to any 6 # pass through packets to and from localhost. 8 pass in from 127.0.0.1/32 to 127.0.0.1/32 10 # allow a variety of individual hosts to send any type of IP packet to any 13 pass in from 10.1.3.1/32 to any 14 pass in from 10.1.3.2/32 to any 15 pass in from 10.1.3.3/32 to any 16 pass in from 10.1.3.4/32 to any 17 pass in from 10.1.3.5/32 to an [all...] |
| example.5 | 4 # allow packets coming from foo to bar through. 6 pass in from 10.1.1.2 to 10.2.1.1 8 # allow any TCP packets from the same subnet as foo is on through to host 11 pass in proto tcp from 10.2.2.2/24 to 10.1.1.2/32 port = 6667 16 pass in proto udp from 10.2.2.2 port != 53 to localhost 20 block in proto icmp from any to any icmp-type unreach 25 pass in from any to any with ipopts
|
| example.1 | 2 # block all incoming TCP packets on le0 from host 10.1.1.1 to any destination. 4 block in on le0 proto tcp from 10.1.1.1/32 to any
|
| example.2 | 2 # block all outgoing TCP packets on le0 from any host to port 23 of 5 block out on le0 proto tcp from any to 10.1.1.3/32 port = 23
|
| example.4 | 4 block in proto icmp from any to any
|
| server | 3 # 128.1.2.1 (le1), we want to block all IP spoofing attacks. le1 is 4 # connected to the majority of the network, whilst le0 is connected to a 8 pass in quick on le0 from 128.1.40.0/24 to any 9 block in log quick on le0 from any to any 10 block in log quick on le1 from 128.1.1.0/24 to any 11 pass in quick on le1 from any to any
|
| /onnv/onnv-gate/usr/src/lib/libnsl/dial/ |
| getargs.c | 4 * The contents of this file are subject to the terms of the 25 * Use is subject to license terms. 37 * generate a vector of pointers (arps) to the 40 * s -> string to analyze -- s GETS MODIFIED 86 char *str, *to, *cp; local 91 for (to = str; *str; str++) { 113 *to++ = '\\'; 114 *to++ = 'N'; 116 *to++ = (char)num; 121 *to++ = '\t' [all...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
| cp_key_cnt.c | 3 * Use is subject to license terms. 15 * export to obtain such a license before exporting. 17 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 23 * to distribution of the software without specific, written prior 42 krb5_copy_keyblock_contents(krb5_context context, const krb5_keyblock *from, krb5_keyblock *to) 47 if (to != NULL && from != NULL) { 48 to->contents = (krb5_octet *)malloc(from->length); 49 if (!to->contents) 52 ret = krb5_copy_keyblock_data(context, from, to);
|
| /onnv/onnv-gate/usr/src/cmd/oamuser/lib/ |
| putprojent.c | 4 * The contents of this file are subject to the terms of the 34 * putprojent() function to write a project structure to a file 37 putprojent(struct project *projstr, FILE *to) 41 (void) fprintf(to, "%s:%d:%s:", projstr->pj_name, 50 (void) fprintf(to, "%s", *memptr); 53 (void) fprintf(to, ","); 56 (void) fprintf(to, ":"); 64 (void) fprintf(to, "%s", *memptr); 67 (void) fprintf(to, ","); [all...] |
| putgrent.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 37 * putgrent() function to write a group structure to a file 41 putgrent(struct group *grpstr, FILE *to) 49 * we assume that fgetgrent() set gr_gid to 0 so 55 (void) fprintf(to, "%s:%s:", grpstr->gr_name, 59 (void) fprintf(to, ":"); 61 (void) fprintf(to, "%ld:", grpstr->gr_gid); 67 (void) fprintf(to, "%s", *memptr) [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| swab.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 36 swab(from, to, n) 37 register char *from, *to; 45 #define STEP temp = *from++,*to++ = *from++,*to++ = temp 46 /* round to multiple of 8 */
|
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
| copy_key.c | 3 * Use is subject to license terms. 15 * export to obtain such a license before exporting. 17 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 23 * to distribution of the software without specific, written prior 46 const krb5_keyblock *from, krb5_keyblock *to) 50 /* If nothing to copy, return no error */ 51 if (from == NULL || to == NULL) 54 if ((to->contents == NULL || from->contents == NULL) && 58 to->magic = from->magic; 59 to->enctype = from->enctype [all...] |
| /onnv/onnv-gate/usr/src/cmd/initpkg/ |
| nscd.conf | 4 # The contents of this file are subject to the terms of the 23 # Use is subject to license terms. 40 positive-time-to-live audit_user 3600 41 negative-time-to-live audit_user 5 45 positive-time-to-live auth_attr 3600 46 negative-time-to-live auth_attr 5 50 positive-time-to-live bootparams 3600 51 negative-time-to-live bootparams 5 55 positive-time-to-live ethers 3600 56 negative-time-to-live ethers [all...] |
| /onnv/onnv-gate/usr/src/head/audio/ |
| au.h | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 44 * used to store additional information. At the minimum, it is at 54 * set to AUDIO_AU_UNKNOWN_SIZE. 117 #define AUDIO_AU_FILE2HOST(from, to) *((long *)(to)) = *((long *)(from)) 119 #define AUDIO_AU_FILE2HOST(from, to) \ 120 ((char *)(to))[0] = ((char *)(from))[3]; \ 121 ((char *)(to))[1] = ((char *)(from))[2]; \ 122 ((char *)(to))[2] = ((char *)(from))[1]; [all...] |
| /onnv/onnv-gate/usr/src/psm/promif/ieee1275/common/ |
| prom_path.c | 4 * The contents of this file are subject to the terms of the 23 * Use is subject to license terms. 32 prom_path_gettoken(register char *from, register char *to) 40 *to = '\0'; 43 *to++ = *from++; 46 *to = '\0'; 51 * Given an OBP pathname, do the best we can to fully expand 54 * If we have to complete the addrspec of any component, we can 63 char *to = pathname; local 70 if ((to == (char *)0) || (*to == (char)0) [all...] |
| /onnv/onnv-gate/usr/src/head/iso/ |
| stdarg_c99.h | 4 * The contents of this file are subject to the terms of the 28 * Use is subject to license terms. 59 * va_copy was initially a Solaris extension to provide a portable 60 * way to perform a variable argument list ``bookmarking'' function. 67 #define va_copy(to, from) __va_copy(to, from)
|
| /onnv/onnv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
| ptrmove.c | 4 * The contents of this file are subject to the terms of the 51 * Return -1 if the region to move is out of bounds or the target 58 unsigned int start, unsigned int finish, unsigned int to) 63 if (to < start) { 64 reverse(array, to, start-1); 66 reverse(array, to, finish); 67 } else if (finish < to && to <= length) { 69 reverse(array, finish+1, to-1); 70 reverse(array, start, to-1) [all...] |