/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_monitor.c | 2 * ntp_monitor - monitor ntpd statistics 27 * Each entry is doubly linked into two lists, a hash table and a most- 28 * recently-used (MRU) list. When a packet arrives it is looked up in 68 * List of free structures structures, and counters of in-use and total 108 * init_mon - initialize monitoring global data 123 * remove_from_hash - removes an entry from the address hash table and 128 mon_entry *mon in remove_from_hash() argument 134 mru_entries--; in remove_from_hash() 135 hash = MON_HASH(&mon in remove_from_hash() 243 mon_entry *mon; mon_stop() local 279 mon_entry *mon; mon_clearinterface() local 318 mon_entry * mon; ntp_monitor() local [all...] |
/freebsd/usr.bin/localedef/ |
H A D | monetary.c | 1 /*- 6 * provided under BSD-style license terms by Nexenta Systems, Inc. 45 static struct lc_monetary_T mon; variable 50 (void) memset(&mon, 0, sizeof (mon)); in init_monetary() 65 mon.int_curr_symbol = str; in add_monetary_str() 68 mon.currency_symbol = str; in add_monetary_str() 71 mon.mon_decimal_point = str; in add_monetary_str() 74 mon.mon_thousands_sep = str; in add_monetary_str() 77 mon.positive_sign = str; in add_monetary_str() 80 mon.negative_sign = str; in add_monetary_str() [all …]
|
H A D | time.c | 1 /*- 6 * provided under BSD-style license terms by Nexenta Systems, Inc. 50 (void) memset(&tm, 0, sizeof (tm)); in init_time() 101 for (i = 0; i < limit; i++) { in add_list() 123 add_list(tm.mon, str, 12); in add_time_list() 160 if (tm.mon[11] != NULL) in check_time_list() 196 for (i = 0; i < 12; i++) { in reset_time_list() 197 free((char *)tm.mon[i]); in reset_time_list() 198 tm.mon[i] = NULL; in reset_time_list() 202 for (i = 0; i < 12; i++) { in reset_time_list() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/crypto/ |
H A D | fsl,sec-v4.0-mon.yaml | 1 # SPDX-License-Identifier: GPL-2.0 2 # Copyright (C) 2008-2011 Freescale Semiconductor Inc. 4 --- 5 $id: http://devicetree.org/schemas/crypto/fsl,sec-v4.0-mon.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Freescale Secure Non-Volatile Storage (SNVS) 11 - '"Horia Geantă" <horia.geanta@nxp.com>' 12 - Pankaj Gupta <pankaj.gupta@nxp.com> 13 - Gaurav Jain <gaurav.jain@nxp.com> 23 - items: [all …]
|
/freebsd/usr.bin/at/ |
H A D | parsetime.c | 1 /*- 2 * parsetime.c - parse time for at(1) 4 * SPDX-License-Identifier: BSD-2-Clause 8 * modifications for English-language times 71 SUN, MON, TUE, WED, THU, FRI, SAT enumerator 74 /* parse translation table - table driven parsers can be your FRIEND! 81 { "midnight", MIDNIGHT,0 }, /* 00:00:00 of today or tomorrow */ 82 { "noon", NOON,0 }, /* 12:00:00 of today or tomorrow */ 83 { "teatime", TEATIME,0 }, /* 16:00:00 of today or tomorrow */ 84 { "am", AM,0 }, /* morning times for 0-12 clock */ [all …]
|
/freebsd/sys/kern/ |
H A D | subr_clock.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 60 error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req); in sysctl_machdep_adjkerntz() 61 if (!error && req->newptr) in sysctl_machdep_adjkerntz() 66 CTLFLAG_MPSAFE, &adjkerntz, 0, sysctl_machdep_adjkerntz, "I", 71 &ct_debug, 0, "Enable printing of clocktime debugging"); 75 &wall_cmos_clock, 0, "Enables application of machdep.adjkerntz"); 77 /*--------------------------------------------------------------------* 86 (month_days[(m) - 1] + (m == FEBRUARY ? leapyear(y) : 0)) 103 * Table to 'calculate' pow(10, 9 - nsdigits) via lookup of nsdigits. [all …]
|
/freebsd/contrib/netbsd-tests/dev/clock_subr/ |
H A D | t_clock_subr.c | 41 #include <atf-c.h> 53 FILL( 0,1970, 1, 1,4, 0, 0, 0), // Thu Jan 1 00:00:00 UTC 1970 54 FILL( 15638400,1970, 7, 1,3, 0, 0, 0), // Wed Jul 1 00:00:00 UTC 1970 55 FILL( 31536000,1971, 1, 1,5, 0, 0, 0), // Fri Jan 1 00:00:00 UTC 1971 56 FILL( 47174400,1971, 7, 1,4, 0, 0, 0), // Thu Jul 1 00:00:00 UTC 1971 57 FILL( 63072000,1972, 1, 1,6, 0, 0, 0), // Sat Jan 1 00:00:00 UTC 1972 58 FILL( 78796800,1972, 7, 1,6, 0, 0, 0), // Sat Jul 1 00:00:00 UTC 1972 59 FILL( 94694400,1973, 1, 1,1, 0, 0, 0), // Mon Jan 1 00:00:00 UTC 1973 60 FILL( 110332800,1973, 7, 1,0, 0, 0, 0), // Sun Jul 1 00:00:00 UTC 1973 61 FILL( 126230400,1974, 1, 1,2, 0, 0, 0), // Tue Jan 1 00:00:00 UTC 1974 [all …]
|
/freebsd/crypto/openssh/ |
H A D | ChangeLog | 3 Date: Mon Mar 11 16:20:49 2024 +1100 9 Date: Mon Mar 11 16:20:08 2024 +1100 15 Date: Mon Mar 11 04:59:47 2024 +0000 17 upstream: openssh-9.7 19 OpenBSD-Commit-ID: 618ececf58b8cdae016b149787af06240f7b0cbc 23 Date: Mon Mar 11 12:59:26 2024 +1100 27 Add LibreSSL 3.9.0, bump older branches to their respective current 46 OpenBSD-Commit-ID: e58f18042b86425405ca09e6e9d7dfa1df9f5f7f 52 upstream: skip more whitespace, fixes find-principals on 56 OpenBSD-Commit-ID: b3a22a2afd753d70766f34bc7f309c03706b5298 [all …]
|
/freebsd/lib/libc/net/ |
H A D | protocols | 3 # See also http://www.iana.org/assignments/protocol-numbers 5 ip 0 IP # internet protocol, pseudo protocol number 6 #hopopt 0 HOPOPT # hop-by-hop options for ipv6 9 ggp 3 GGP # gateway-gateway protocol 10 ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'') 16 bbn-rcc 10 BBN-RCC-MON # BBN RCC Monitoring 17 nvp 11 NVP-II # Network Voice Protocol 25 dcn 19 DCN-MEAS # DCN Measurement Subsystems 28 xns-idp 22 XNS-IDP # Xerox NS IDP 29 trunk-1 23 TRUNK-1 # Trunk-1 [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound.spec_fedora | 5 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_py… 6 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_… 15 Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz 21 Patch1: unbound-1.2-glob.patch 24 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 25 BuildRequires: flex, openssl-devel , ldns-devel >= 1.5.0, 26 BuildRequires: libevent-devel expat-devel 28 BuildRequires: python-devel swig 37 Requires: ldns >= 1.5.0 38 Requires(pre): shadow-utils [all …]
|
/freebsd/sys/dev/dialog/da9063/ |
H A D | da9063_rtc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 52 #define DA9063_RTC_LOCK(sc) mtx_lock(&(sc)->mtx) 53 #define DA9063_RTC_UNLOCK(sc) mtx_unlock(&(sc)->mtx) 54 #define DA9063_RTC_ASSERT_LOCKED(sc) mtx_assert(&(sc)->mtx, MA_OWNED); 55 #define DA9063_RTC_ASSERT_UNLOCKED(sc) mtx_assert(&(sc)->mtx, MA_NOTOWNED); 58 { "dlg,da9063-rtc", 1 }, 59 { NULL, 0 } 65 uint8_t sec, min, hour, day, mon, year; in da9063_rtc_read_ct() local 70 error = DA9063_READ(sc->parent, DA9063_COUNT_S, &sec); in da9063_rtc_read_ct() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | eapol_test.py | 28 self.mon = wpaspy.Ctrl(os.path.join(wpas_ctrl, ifname)) 29 self.mon.attach() 61 while self.mon.pending(): 62 ev = self.mon.recv() 68 remaining = start + timeout - now 69 if remaining <= 0: 71 if not self.mon.pending(timeout=remaining): 78 et.request("AP_SCAN 0") 80 et.request("SET fast_reauth 0") 90 et.set_network(id, "eapol_flags", "0") [all …]
|
/freebsd/usr.bin/mail/ |
H A D | head.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 36 * Mail -- a mail program 52 if (strncmp(linebuf, "From ", 5) != 0) in ishead() 53 return (0); in ishead() 57 return (0); in ishead() 61 return (0); in ishead() 92 hl->l_from = NULL; in parse() 93 hl->l_tty = NULL; in parse() 94 hl->l_date = NULL; in parse() [all …]
|
/freebsd/crypto/openssh/contrib/redhat/ |
H A D | openssh.spec | 8 # Version of ssh-askpass 11 # Do we want to disable building of x11-askpass? (1=yes 0=no) 12 %global no_x11_askpass 0 14 # Do we want to disable building of gnome-askpass? (1=yes 0=no) 15 %global no_gnome_askpass 0 17 # Do we want to link against a static libcrypto? (1=yes 0=no) 18 %global static_libcrypto 0 20 # Do we want smartcard support (1=yes 0=no) 21 %global scard 0 23 # Use GTK2 instead of GNOME in gnome-ssh-askpass [all …]
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | rdma-ndd.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 56 struct udev_monitor *mon; variable 65 #define DEFAULT_RETRY_COUNT 0 70 int foreground = 0; 77 *term = '\0'; in newline_to_null() 84 *term = '\0'; in strip_domain() 90 char *end = dest + len-1; in build_node_desc() 114 *dest = 0; in build_node_desc() 127 nd_file[sizeof(nd_file)-1] = '\0'; in update_node_desc() [all …]
|
/freebsd/sys/dev/iicbus/rtc/ |
H A D | pcf85063.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 50 #define PCF85063_CTRL1_REG 0x0 51 #define PCF85063_TIME_REG 0x4 65 uint8_t mon; member 80 { NULL, 0} 90 if (error != 0) in pcf85063_check_status() 99 return (0); in pcf85063_check_status() 106 clock_register_flags(dev, 1000000, 0); in pcf85063_attach() 109 return (0); in pcf85063_attach() [all …]
|
H A D | rx8803.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 50 #define RX8803_TIME 0x0 51 #define RX8803_FLAGS 0xE 52 #define RX8803_CTRL 0xF 54 #define RX8803_FLAGS_V1F BIT(0) 57 #define RX8803_CTRL_DISABLE BIT(0) 68 uint8_t mon; member 74 {NULL, 0}, 93 if (rc != 0) in rx8803_check_status() [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_helpers.c | 3 * Copyright (c) 2010-2011, Atheros Communications, Inc. 4 * Copyright (c) 2011-2012, Qualcomm Atheros, Inc. 44 return -1; in wpa_command() 46 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL) < 0) { in wpa_command() 49 return -1; in wpa_command() 52 buf[len] = '\0'; in wpa_command() 53 if (strncmp(buf, "FAIL", 4) == 0) { in wpa_command() 55 return -1; in wpa_command() 57 return 0; in wpa_command() 70 return -1; in wpa_command_resp() [all …]
|
/freebsd/usr.bin/last/ |
H A D | last.1 | 36 .Op Fl -libxo 72 .Bl -tag -width indent-two 73 .It Fl -libxo 103 .Bl -tag -width Ds -compact -offset indent 125 Hour of the day, from 0 to 23. 127 Minute of the hour, from 0 to 59. 129 Second of the minute, from 0 to 60. 140 letter pair is not specified, the value defaults to 0. 160 .Dq Li "last -t 03" 163 .Dq Li "last -t tty03" . [all …]
|
/freebsd/contrib/ldns/packaging/fedora/ |
H A D | ldns.spec | 4 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_py… 5 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_… 14 Source: http://www.nlnetlabs.nl/downloads/%{%name}/%{name}-%{version}.tar.gz 16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 17 BuildRequires: perl, libpcap-devel, openssl-devel , gcc-c++, doxygen, 22 BuildRequires: python-devel, swig 34 Requires: %{name} = %{version}-%{release} 43 Requires: %{name} = %{version}-%{release} 50 %setup -q 54 # libtoolize -c [all …]
|
/freebsd/tools/tools/netrate/tcpp/ |
H A D | runit.pl | 5 if ($#ARGV != 0) { 7 exit(-1); 12 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); 13 $mon++; 15 $date = sprintf("%04d%02d%02d", $year, $mon, $mday); 17 $kernel = $ARGV[0]; 22 print OUTFILE "# hydra1: ".`ssh root\@hydra1 uname -a`."\n"; 23 print OUTFILE "# hydra2: ".`ssh root\@hydra2 uname -a`."\n"; 32 system("ssh root\@hydra2 ${tcpp_dir}/tcpp -s -p 8&"); 53 @tso_options = ("tso", "-tso"); [all …]
|
/freebsd/contrib/tnftp/ |
H A D | ChangeLog | 17 Mon Jan 4 06:28:07 UTC 2010 lukem 29 - Rename internal getline() to get_line() to avoid 31 - Avoid a NULL dereference in an error message. 44 - Add the time.h headers to accheck_includes, for the strptime check. 45 - Remove the check for el_init in libedit; we're always replacing 54 - Only attempt to el_parse() a command unknown by the default 57 - Turn off the alarmtimer before resetting the SIGALRM handler 60 - Add epsv6 and epsv to disable extended passive mode for ipv6 or 64 - Improve parsing of chunked transfer chunks per RFC2616: 65 - more stringent chunk-size parsing [all …]
|
/freebsd/contrib/gdtoa/ |
H A D | changes | 3 (fixed-point mode); fix rounding bug in these modes when the input 4 d (to be converted) satisfies 10^-(ndigits+1) <= |d| < 10^-ndigits , 7 the result is empty (i.e., when |d| <= 5 * 10^-ndigits). 11 integers in modes 0, 1. 13 Mon Sep 9 23:29:38 EDT 1991 25 return +-Infinity for IEEE arithmetic, +- the largest machine number 29 Mon Apr 27 23:13:43 EDT 1992 30 dtoa.c: tweak strtod (one-line addition) so the end-pointer = start 35 reasonably with huge numbers and 16-bit ints. 47 < for(result_k = 0; sizeof(Bigint) - sizeof(unsigned long) + j < i; [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_filter_uudecode.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 3 * Copyright (c) 2009-2011 Michihiro NAKAJIMA 31 "M!@T8-##.L`$\"QL@:-F(``%'#H<V;.'/J!%!G#ITP<BS\"H).FS<Z$1(T>/1A2\n" 32 "IHU\"0%9=*G4JUJM6K6+-JW<JUJ]>O8,.*'4NVK-FS:-.J7<NVK=NW9P$`\n" 38 "begin-base6 [all...] |
/freebsd/crypto/heimdal/ |
H A D | ChangeLog.1998 | 8 AFS libs; `--enable-new-des3-code' 33 * lib/krb5/krb5_err.et: add some codes from kerberos-revisions-03 35 Mon Nov 23 12:53:48 1998 Assar Westerlund <assar@sics.se> 37 * lib/kadm5/log.c: rename delete -> remove 39 * lib/kadm5/delete_s.c: rename delete -> remove 41 * lib/hdb/common.c: rename delete -> remove 60 * lib/krb5/get_cred.c: re-structure code. remove limits on ASN1 90 * kuser/klist.c (usage): void-ize 98 * kuser/kinit.c: remove extra `--cache' option, add `--enctypes' 116 * lib/krb5/auth_context.c (re-)implement `krb5_auth_setenctype' [all …]
|