/freebsd-9.3-release/lib/libc/string/ |
H A D | wcpcpy.c | 16 * may be used to endorse or promote products derived from this software 41 wcpcpy(wchar_t * __restrict to, const wchar_t * __restrict from) argument 44 for (; (*to = *from); ++from, ++to); 45 return(to);
|
/freebsd-9.3-release/sys/ofed/include/asm/ |
H A D | uaccess.h | 34 copy_to_user(void *to, const void *from, unsigned long n) argument 36 if (copyout(from, to, n) != 0) 42 copy_from_user(void *to, const void *from, unsigned long n) argument 44 if (copyin(from, to, n) != 0)
|
/freebsd-9.3-release/contrib/ipfilter/rules/ |
H A D | 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
|
H A D | 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
|
H A D | 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
|
H A D | example.4 | 4 block in proto icmp from any to any
|
H A D | 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
|
H A D | example.11 | 2 # allow any TCP packets from the same subnet as foo is on through to host 5 pass in proto tcp from 10.2.2.2/24 to 10.1.1.2/32 port = 6667 10 pass in proto udp from 10.2.2.2 port != 53 to localhost 12 # block anything trying to get to X terminal ports, X:0 to X:9 14 block in proto tcp from any to any port 5999 >< 6010 16 # allow any connections to be made, except to BSD print/r-services 20 pass in proto tcp/udp from any to an [all...] |
H A D | example.sr | 4 log in on le0 from any to any with ipopts 6 # block any inbound packets on le0 which are fragmented and "too short" to 7 # do any meaningful comparison on. This actually only applies to TCP 11 block in log quick on le0 from any to any with short frag 16 # to be logged twice). 18 log in on le0 proto tcp from any to any flags S/SA 22 block in log on le0 proto icmp from any to any icmp-type unreach 24 # block and log any inbound UDP packets on le0 which are going to port 2049 27 block in log on le0 proto udp from any to any port = 2049 29 # quickly allow any packets to/fro [all...] |
H A D | example.8 | 2 # block all incoming TCP connections but send back a TCP-RST for ones to 5 block in proto tcp from any to any flags S/SA 6 block return-rst in quick proto tcp from any to any port = 113 flags S/SA 10 block return-icmp in proto udp from any to any
|
H A D | example.10 | 4 pass in proto tcp from 10.1.0.0/16 port = 23 to 10.2.0.0/16 flags A/A 5 pass out proto tcp from 10.1.0.0/16 port = 23 to 10.2.0.0/16 flags A/A 7 # block incoming connection requests to my internal network from the big bad 10 block in on le0 proto tcp from any to 10.1.0.0/16 flags S/SA 11 # to block the replies: 12 block out on le0 proto tcp from 10.1.0.0 to any flags SA/SA
|
H A D | example.6 | 3 # packet sent to establish a connection) out of the SYN-ACK pair. 5 block in proto tcp from any to any flags S/SA
|
/freebsd-9.3-release/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_private.h | 30 #error This header is only to be used internally to libarchive.
|
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | copy_host_realm.c | 18 * may be used to endorse or promote products derived from this software 39 * Copy the list of realms from `from' to `to'. 42 * @param from list of realms to copy from. 43 * @param to list of realms to copy to, free list of krb5_free_host_realm(). 45 * @return Returns 0 to indicate success. Otherwise an kerberos et 54 krb5_realm **to) 62 *to 52 krb5_copy_host_realm(krb5_context context, const krb5_realm *from, krb5_realm **to) argument [all...] |
/freebsd-9.3-release/sys/fs/tmpfs/ |
H A D | tmpfs_fifoops.h | 7 * This code is derived from software contributed to The NetBSD Foundation 39 #error not supposed to be exposed to userland.
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-statvfs.c | 6 * Permission to use, copy, modify, and distribute this software for any 31 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) argument 33 to->f_bsize = from->f_bsize; 34 to->f_frsize = from->f_bsize; /* no exact equivalent */ 35 to->f_blocks = from->f_blocks; 36 to->f_bfree = from->f_bfree; 37 to->f_bavail = from->f_bavail; 38 to->f_files = from->f_files; 39 to->f_ffree = from->f_ffree; 40 to [all...] |
/freebsd-9.3-release/contrib/openbsm/compat/ |
H A D | endian.h | 44 * permit encoding to and decoding from byte streams. For those systems, we 52 unsigned char *to; local 56 to = (unsigned char *) &t; 58 to[0] = from[1]; 59 to[1] = from[0]; 68 unsigned char *to; local 72 to = (unsigned char *) &t; 74 to[0] = from[3]; 75 to[1] = from[2]; 76 to[ 86 unsigned char *to; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_none.c | 7 * The implementation was written so as to conform with Netscapes SSL. 10 * the following conditions are aheared to. The following conditions 11 * apply to all code found in this distribution, be it the RC4, RSA, 17 * the code are not to be removed. 65 int RSA_padding_add_none(unsigned char *to, int tlen, argument 78 memcpy(to, from, (unsigned int)flen); 82 int RSA_padding_check_none(unsigned char *to, int tlen, argument 91 memset(to, 0, tlen - flen); 92 memcpy(to + tlen - flen, from, flen);
|
/freebsd-9.3-release/etc/ |
H A D | rc.firewall | 46 # client - will try to protect just this machine 47 # simple - will try to protect a whole network 49 # workstation - will try to protect just this machine using statefull 60 # take time to read this book: 83 # Only in rare cases do you want to change these rules 85 ${fwcmd} add 100 pass all from any to any via lo0 86 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 87 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any 89 ${fwcmd} add 400 deny all from any to ::1 90 ${fwcmd} add 500 deny all from ::1 to an [all...] |
/freebsd-9.3-release/contrib/wpa/src/drivers/ |
H A D | Makefile | 2 @echo Nothing to be made. 9 @echo Nothing to be made.
|
/freebsd-9.3-release/sbin/natd/samples/ |
H A D | natd.test | 10 ipfw add divert 32000 ip from any to any via $1 11 ipfw add pass ip from any to any
|
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/ |
H A D | alloc_ttype.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a * 6 * "Software"), to deal in the Software without restriction, including * 7 * without limitation the rights to use, copy, modify, merge, publish, * 9 * copies of the Software, and to permit persons to whom the Software is * 10 * furnished to do so, subject to the following conditions: * 24 * holders shall not be used in advertising or otherwise to promote the * 51 * so we do not have to worry about order dependencies. 95 realign_data(TERMTYPE *to, cha argument 340 adjust_cancels(TERMTYPE *to, TERMTYPE *from) argument 387 _nc_align_termtype(TERMTYPE *to, TERMTYPE *from) argument [all...] |
/freebsd-9.3-release/tools/tools/tinybsd/conf/firewall/etc/ |
H A D | rc.firewall | 46 # client - will try to protect just this machine 47 # simple - will try to protect a whole network 58 # take time to read this book: 82 # Only in rare cases do you want to change these rules 84 ${fwcmd} add 100 pass all from any to any via lo0 85 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 86 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any 111 # Network Address Translation. All packets are passed to natd(8) 116 # For ``simple'' firewall type the divert rule should be put to a 117 # different place to no [all...] |
/freebsd-9.3-release/tools/tools/tinybsd/conf/wireless/etc/ |
H A D | rc.firewall | 46 # client - will try to protect just this machine 47 # simple - will try to protect a whole network 58 # take time to read this book: 82 # Only in rare cases do you want to change these rules 84 ${fwcmd} add 100 pass all from any to any via lo0 85 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 86 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any 111 # Network Address Translation. All packets are passed to natd(8) 116 # For ``simple'' firewall type the divert rule should be put to a 117 # different place to no [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/asn1/ |
H A D | gen_copy.c | 18 * may be used to endorse or promote products derived from this software 41 copy_primitive (const char *typename, const char *from, const char *to) argument 44 typename, from, to); 49 copy_type (const char *from, const char *to, const Type *t, int preserve) argument 54 copy_type (from, to, t->symbol->type, preserve); 57 t->symbol->gen_name, from, to); 62 copy_primitive ("heim_integer", from, to); 67 fprintf(codefile, "*(%s) = *(%s);\n", to, from); 70 copy_primitive ("octet_string", from, to); 74 copy_primitive ("bit_string", from, to); [all...] |