/freebsd-11-stable/usr.sbin/ppp/ |
H A D | systems.c | 69 /* Move string from ``from'' to ``to'', interpreting ``~'' and $.... */ 71 InterpretArg(const char *from, char *to) argument 80 startto = to; 81 endto = to + LINE_LEN - 1; 90 *to++ = *from++; 99 *to++ = '\\'; /* Pass the escapes on, maybe skipping \# */ 102 *to++ = *from++; 106 *to = '\0'; /* For an empty var name below */ 112 if (endto - to < (in [all...] |
/freebsd-11-stable/contrib/ipfilter/rules/ |
H A D | BASIC_1.FW | 7 # ppp0 - (external) PPP connection to ISP, address a.b.c.d/32 11 # This file contains the basic rules needed to construct a firewall for the 15 # *Nasty* packets we don't want to allow near us at all! 16 # short packets which are packets fragmented too short to be real. 22 # (especially for ed0) and needs to be further refined. 27 block in log on ed0 from w.x.y.z/24 to any head 200 36 block in log quick from 127.0.0.0/8 to any group 100 37 block in log quick from any to 127.0.0.0/8 group 100 38 block in log quick from 127.0.0.0/8 to any group 200 39 block in log quick from any to 127. [all...] |
H A D | BASIC_2.FW | 7 # ppp0 - (external) PPP connection to ISP, address a.b.c.d/32 11 # This file contains the basic rules needed to construct a firewall for the 15 # *Nasty* packets we don't want to allow near us at all! 16 # short packets which are packets fragmented too short to be real. 22 # (especially for ed0) and needs to be further refined. 26 block in log on ed0 from w.x.y.z/24 to any head 200 34 block in log quick from 10.0.0.0/8 to any group 100 35 block in log quick from 192.168.0.0/16 to any group 100 36 block in log quick from 172.16.0.0/12 to any group 100 40 block in log quick from a.b.c.d/24 to an [all...] |
/freebsd-11-stable/contrib/unbound/contrib/ |
H A D | unbound_munin_ | 3 # plugin for munin to monitor usage of unbound servers. 4 # To install copy this to /usr/local/share/munin/plugins/unbound_munin_ 14 # Run the command unbound-control-setup to generate the key files. 17 # statefile - where to put temporary statefile. 19 # unbound_control - where to find unbound-control executable. 20 # spoof_warn - what level to warn about spoofing 21 # spoof_crit - what level to crit about spoofing 40 # unbound_munin_queue - to monitor the internal requestlist 59 unbound_munin_ - Munin plugin to monitor the Unbound DNS resolver. 75 Use the .env settings to overrid [all...] |
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | rename.c | 17 along with this program; if not, write to the Free Software 35 /* We need to open the file in binary modes on system where that makes 44 /* The number of bytes to copy at once. */ 47 /* Copy file FROM to file TO, performing no translations. 51 simple_copy (const char *from, const char *to) argument 61 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777); 63 tofd = creat (to, 0777); 95 /* Set the times of the file DESTINATION to be the same as those in 142 /* Rename FROM to TO, copying if TO is a link. 146 smart_rename (const char *from, const char *to, in argument [all...] |
/freebsd-11-stable/lib/libkiconv/ |
H A D | xlat16_sysctl.c | 17 * may be used to endorse or promote products derived from this software 51 kiconv_add_xlat16_table(const char *to, const char *from, const void *data, int datalen) argument 57 if (strlen(from) >= ICONV_CSNMAXLEN || strlen(to) >= ICONV_CSNMAXLEN) 62 strcpy(din.ia_to, to); 78 kiconv_add_xlat16_table(const char *to __unused, const char *from __unused,
|
/freebsd-11-stable/crypto/openssh/ |
H A D | fixpaths | 12 die $0: nothing to do - no substitutions listed!
|
/freebsd-11-stable/usr.bin/gzip/ |
H A D | zforce | 9 # Permission to use, copy, modify, and distribute this software for any 45 echo "$1" -- renamed to "$n" 48 echo $prog: cannot rename "$1" to "$n"
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | statvfs.c | 4 * Permission to use, copy, modify, and distribute this software and 10 * in advertising or publicity pertaining to distribution of the 43 static int sfs2svfs(const struct statfs *from, struct statvfs *to); 98 sfs2svfs(const struct statfs *from, struct statvfs *to) argument 102 *to = zvfs; 105 to->f_flag |= ST_RDONLY; 107 to->f_flag |= ST_NOSUID; 112 to->field = from->field; \ 113 if (from->field != to->field) { \ 124 to [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_condwait.c | 53 struct timespec ts, to, te; local 69 to = ts; 72 printf("started: %lld.%09ld sec\n", (long long)to.tv_sec, 73 to.tv_nsec); 81 timespecsub(&te, &to, &to); 86 (long long)to.tv_sec, to.tv_nsec); 89 double to_seconds = to.tv_sec + 1e-9 * to [all...] |
/freebsd-11-stable/contrib/ldns/ldns/ |
H A D | net.h | 29 * Contains functions to send and receive packets over a network. 33 * Sends a buffer to an ip using udp and return the respons as a ldns_pkt 34 * \param[in] qbin the ldns_buffer to be send 35 * \param[in] to the ip addr to send to 42 ldns_status ldns_udp_send(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answersize); 47 * \param[in] qbin the ldns_buffer to be send 48 * \param[in] to the ip addr to sen [all...] |
/freebsd-11-stable/lib/libc/sys/ |
H A D | sendto.c | 46 const struct sockaddr *to, socklen_t tolen) 52 to, tolen)); 45 sendto(int s, const void *msg, size_t len, int flags, const struct sockaddr *to, socklen_t tolen) argument
|
/freebsd-11-stable/share/doc/psd/20.ipctut/ |
H A D | udgramread.c | 13 .\" may be used to endorse or promote products derived from this software 47 * This program creates a UNIX domain datagram socket, binds a name to it, 56 /* Create socket from which to read. */ 66 perror("binding name to datagram socket");
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_xxhash.h | 31 #error This header is only to be used internally to libarchive.
|
/freebsd-11-stable/contrib/subversion/subversion/svn/ |
H A D | relocate-cmd.c | 2 * relocate-cmd.c -- Update working tree administrative data to 6 * Licensed to the Apache Software Foundation (ASF) under one 10 * to you under the Apache License, Version 2.0 (the 16 * Unless required by applicable law or agreed to in writing, 55 const char *from, *to, *path; 57 /* We've got two different syntaxes to support: 78 to = APR_ARRAY_IDX(targets, 0, const char *); 84 SVN_ERR(svn_client_relocate2(path, from, to, ignore_externals, 91 to = APR_ARRAY_IDX(targets, 1, const char *); 95 SVN_ERR(svn_client_relocate2("", from, to, ignore_external 53 const char *from, *to, *path; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Host.inc | 15 //=== is guaranteed to work on *all* UNIX variants. 37 // On darwin, we want to update the version to match that of the target. 47 // Reset the OS to darwin as the OS version from `uname` doesn't use the
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_syscalls_netbsd.inc | 13 // which has to define it's own macros: 18 // Called in prehook for regions that will be written to by the kernel 25 // Called in posthook for regions that were written to by the kernel 30 // Release memory visibility to addr. 36 // Release memory visibility to fd. 100 /* Nothing to do */ 104 /* Nothing to do */ 106 PRE_SYSCALL(exit)(long long rval_) { /* Nothing to do */ } 107 POST_SYSCALL(exit)(long long res, long long rval_) { /* Nothing to do */ } 147 POST_SYSCALL(close)(long long res, long long fd_) { /* Nothing to d [all...] |
H A D | sanitizer_bvgraph.h | 43 bool addEdge(uptr from, uptr to) { argument 44 check(from, to); 45 return v[from].setBit(to); 49 uptr addEdges(const BV &from, uptr to, uptr added_edges[], argument 55 if (v[node].setBit(to)) 63 // Returns true if an edge from=>to exist. 68 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } argument 70 // Returns true if the edge from=>to was removed. 71 bool removeEdge(uptr from, uptr to) { argument 76 removeEdgesTo(const BV &to) argument [all...] |
/freebsd-11-stable/contrib/groff/src/preproc/eqn/ |
H A D | limit.cpp | 18 with groff; see the file COPYING. If not, write to the Free Software 28 box *to; member in class:limit_box 44 : p(pp), from(qq), to(rr) 53 delete to; 69 if (to != 0) { 70 int r = to->compute_metrics(script_style(style)); 74 mark_uid = to->uid; 93 if (to != 0) 95 p->uid, to->uid); 103 if (to ! [all...] |
/freebsd-11-stable/contrib/top/ |
H A D | utils.c | 50 * itoa - convert integer (decimal) to ascii string for positive numbers 91 * a front end to a more general routine for efficiency. 144 * strecpy(to, from) - copy string "from" into "to" and return a pointer 145 * to the END of the string "to". 148 char *strecpy(to, from) 150 register char *to; 154 while ((*to++ = *from++) != '\0'); 155 return(--to); 196 register char *to; local [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | make_keys.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 * 75 char to[256]; local 83 to[sizeo [all...] |
H A D | MKcaptab.awk | 4 # Permission is hereby granted, free of charge, to any person obtaining a # 6 # to deal in the Software without restriction, including without limitation # 7 # the rights to use, copy, modify, merge, publish, distribute, distribute # 8 # with modifications, sublicense, and/or sell copies of the Software, and to # 9 # permit persons to whom the Software is furnished to do so, subject to the # 24 # holders shall not be used in advertising or otherwise to promote the sale, # 66 to = "(char *)NULL"; 68 to [all...] |
/freebsd-11-stable/crypto/openssl/engines/ccgost/ |
H A D | gost_md.c | 6 * OpenSSL interface to GOST R 34.11-94 hash functions * 19 static int gost_digest_copy(EVP_MD_CTX *to, const EVP_MD_CTX *from); 60 int gost_digest_copy(EVP_MD_CTX *to, const EVP_MD_CTX *from) argument 62 struct ossl_gost_digest_ctx *md_ctx = to->md_data; 63 if (to->md_data && from->md_data) { 64 memcpy(to->md_data, from->md_data,
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | DynamicCastInfo.h | 21 DynamicCastInfo(QualType from, QualType to, CastResult resultKind) argument 22 : From(from), To(to), ResultKind(resultKind) {} 25 QualType to() const { return To; } function in class:clang::ento::DynamicCastInfo 27 bool equals(QualType from, QualType to) const { 28 return From == from && To == to;
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntpd-opts.h | 28 * Permission to use, copy, modify, and distribute this software and its 33 * advertising or publicity pertaining to distribution of the software 39 * This file contains the programmatic interface to the Automated 42 * "AutoOpts" chapter. Please refer to that doc for usage help. 121 /** The string argument to an option. The argument type must be \"string\". */ 164 # warning undefining IPV4 due to option name conflict 168 # warning undefining IPV6 due to option name conflict 172 # warning undefining AUTHREQ due to option name conflict 176 # warning undefining AUTHNOREQ due to option name conflict 180 # warning undefining BCASTSYNC due to optio [all...] |