/freebsd/sys/contrib/device-tree/Bindings/mailbox/ |
H A D | apple,mailbox.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hector Martin <marcan@marcan.st> 11 - Sven Peter <sven@svenpeter.dev> 15 messages between the main CPU and a co-processor. Multiple instances 17 One of the two FIFOs is used to send data to a co-processor while the other 25 - description: 30 - enum: 31 - apple,t8103-asc-mailbox [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send_encrypted_files.ksh | 1 #!/bin/ksh -p 25 # Verify that a raw zfs send and receive can deal with several different 30 # 2. Add an empty file to the filesystem 34 # 6. Add 1000 empty files to the filesystem 38 # 10. Remove the 1000 empty files to the filesystem 40 # 12. Send and receive both snapshots 49 destroy_dataset $TESTPOOL/$TESTFS2 -r 51 destroy_dataset $TESTPOOL/recv -r 52 [[ -f $keyfile ]] && log_must rm $keyfile 53 [[ -f $sendfile ]] && log_must rm $sendfile [all …]
|
H A D | send_realloc_dnode_size.ksh | 35 # 4. Create an empty file and add xattrs to it to exercise reclaiming a 47 rm -f $BACKDIR/fs-dn-legacy 48 rm -f $BACKDIR/fs-dn-1k 49 rm -f $BACKDIR/fs-dn-2k 50 rm -f $BACKDIR/fs-attr 52 datasetexists $POOL/fs && destroy_dataset $POOL/fs -rR 53 datasetexists $POOL/newfs && destroy_dataset $POOL/newfs -rR 59 log_must zfs create -o dnodesize=1k $POOL/fs 88 # 4. Create an empty file and add xattrs to it to exercise reclaiming a 91 log_must eval "python3 -c 'print \"a\" * 512' | [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_mounts.ksh | 28 # without the -f flag, but can with -f. 31 # 5. Verify the files in the send fs are also present in the recv fs. 51 log_must rm $clone_mnt/empty $clone_mnt/contents1 54 log_must rm -rf $clone_mnt/dir1/dir2 57 log_must dd if=/dev/urandom of=$clone_mnt/dir1/empty bs=512 count=1 61 log_must eval "zfs send --redact book1 $sendfs@snap >$stream" 66 log_must mount_redacted -f $recvfs 69 # Verify that the send and recv fs both have the same files under their 76 log_must eval "zfs send --redact book2 $sendvol@snap >$stream" 97 log_must rm $send_mnt/dir1/dir2/empty [all …]
|
/freebsd/contrib/dma/ |
H A D | dma.8 | 2 .\" Copyright (c) 2008-2014, Simon Schubert <2@0x2c.org>. 68 .Bl -tag -width indent 73 .Bl -tag -width indent 90 Set sender address (envelope-from) to 137 .Bl -bullet -compact 154 Empty lines or lines beginning with a 169 .Bl -tag -width 4n 171 (string, default=empty) 173 If you want to send outgoing mails via a smarthost, set this variable to 202 can be used to create a catch-all alias, which gets used if no other [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/apple/ |
H A D | t600x-nvme.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 9 compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; 11 interrupt-parent = <&aic>; 16 interrupt-names = "send-empty", "send-not-empty", 17 "recv-empty", "recv-not-empty"; 18 power-domains = <&DIE_NODE(ps_ans2)>; 19 #mbox-cells = <0>; 23 compatible = "apple,t6000-sart"; 25 power-domains = <&DIE_NODE(ps_ans2)>; 29 compatible = "apple,t6000-nvme-ans2", "apple,nvme-ans2"; [all …]
|
/freebsd/usr.bin/posixmqcontrol/ |
H A D | posixmqcontrol.1 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-2-Clause 52 .Ar send 81 .Bl -tag -width truncate 100 This will fail if the queue is not empty or is opened by other processes. 102 Unlink the queues specified - one attempt per queue. 103 Failure to unlink one queue does not stop this sub-command from attempting to 111 .It Ic send 112 Send messages to one or more named queues. 114 send all messages to all queues. [all …]
|
/freebsd/contrib/openresolv/ |
H A D | dnsmasq.in | 2 # Copyright (c) 2007-2019 Roy Marples 29 [ -f "@SYSCONFDIR@"/resolvconf.conf ] || exit 0 31 [ -z "${dnsmasq_conf}${dnsmasq_resolv}" ] && exit 0 32 [ -z "$RESOLVCONF" ] && eval "$(@SBINDIR@/resolvconf -v)" 37 [ -s "$dnsmasq_pid" ] || dnsmasq_pid=/var/run/dnsmasq/dnsmasq.pid 38 [ -s "$dnsmasq_pid" ] || unset dnsmasq_pid 50 dbus_introspect=$(dbus-send --print-reply --system \ 51 --dest=uk.org.thekelleys.dnsmasq \ 58 grep -q '<method name="SetDomainServers">' 74 while [ -n "$ns" ]; do [all …]
|
/freebsd/crypto/heimdal/appl/telnet/telnetd/ |
H A D | state.c | 45 * Buffer for sub-options, and macros 57 #define SB_LEN() (subend - subpointer) 71 #define TS_CR 2 /* CR-LF ->'s CR */ 75 #define TS_WONT 6 /* wont -''- */ 76 #define TS_DO 7 /* do -''- */ 77 #define TS_DONT 8 /* dont -''- */ 86 if ((&ptyobuf[BUFSIZ] - pfrontp) < 2) in telrcv() 88 c = *netip++ & 0377, ncc--; in telrcv() 110 * Many client implementations send \r\n when in telrcv() 128 (void)(*decrypt_input)(-1); in telrcv() [all …]
|
H A D | utility.c | 60 if (nfrontp-nbackp) in ttloop() 101 } while ((value == -1) && (errno == EINTR)); in stilloob() 118 if ((n = pfrontp - pbackp) > 0) { in ptyflush() 225 length = next-thisitem; in netclear() 243 * Send as much data as possible to the network, 251 if ((n = nfrontp - nbackp) > 0) { in netflush() 258 if (nfrontp - s > 0) { in netflush() 259 (*encrypt_output)((unsigned char *)s, nfrontp-s); in netflush() 267 * write the entire buffer in non-OOB mode. in netflush() 275 n = neturg - nbackp; in netflush() [all …]
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_dev_attr.c | 2 * Wi-Fi Protected Setup - device attributes 21 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0; in wps_build_manufacturer() 25 * Some deployed WPS implementations fail to parse zero-length in wps_build_manufacturer() 26 * attributes. As a workaround, send a space character if the in wps_build_manufacturer() 27 * device attribute string is empty. in wps_build_manufacturer() 35 wpabuf_put_data(msg, dev->manufacturer, len); in wps_build_manufacturer() 45 len = dev->model_name ? os_strlen(dev->model_name) : 0; in wps_build_model_name() 49 * Some deployed WPS implementations fail to parse zero-length in wps_build_model_name() 50 * attributes. As a workaround, send a space character if the in wps_build_model_name() 51 * device attribute string is empty. in wps_build_model_name() [all …]
|
H A D | wps_upnp_event.c | 2 * UPnP WPS Device - Event processing 3 * Copyright (c) 2000-2003 Intel Corporation 4 * Copyright (c) 2006-2007 Sony Corporation 5 * Copyright (c) 2008-2009 Atheros Communications 6 * Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi> 41 * Event information that we send to each subscriber is remembered in this 54 struct wpabuf *data; /* event data to send */ 59 /* event_clean -- clean sockets etc. of event 64 if (e->s->current_event == e) in event_clean() 65 e->s->current_event = NULL; in event_clean() [all …]
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 70-test_sslsessiontick.t | 2 # Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved. 22 if disabled("engine") || disabled("dynamic-engine"); 41 my $proxy = TLSProxy::Proxy->new( 51 $proxy->clientflags("-no_tls1_3"); 52 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 61 $proxy->clientflags("-no_tls1_3"); 62 $proxy->serverflags("-no_ticket"); 63 $proxy->start(); 71 $proxy->clientflags("-no_tls1_3 -no_ticket"); 72 $proxy->start(); [all …]
|
/freebsd/crypto/openssh/ |
H A D | nchan.c | 35 #include "openbsd-compat/sys-queue.h" 52 * 1.3: strict request-ack-protocol: 53 * CLOSE -> 54 * <- CLOSE_CONFIRM 57 * IEOF -> 58 * <- OCLOSE 59 * <- IEOF 60 * OCLOSE -> 65 * See the debugging output from 'ssh -v' and 'sshd -d' of 66 * ssh-1.2.27 as an example. [all …]
|
H A D | PROTOCOL | 4 Note that OpenSSH's sftp and sftp-server implement revision 3 of the SSH 7 https://www.openssh.com/txt/draft-ietf-secsh-filexfer-02.txt 12 The protocol used by OpenSSH's ssh-agent is described in the file 17 1.1. transport: Protocol 2 MAC algorithm "umac-64@openssh.com" 19 This is a new transport-layer MAC method using the UMAC algorithm 20 (rfc4418). This method is identical to the "umac-64" method documented 23 https://www.openssh.com/txt/draft-miller-secsh-umac-01.txt 27 This transport-layer compression method uses the zlib compression 34 https://www.openssh.com/txt/draft-miller-secsh-compression-delayed-00.txt 36 1.3. transport: New public key algorithms "ssh-rsa-cert-v01@openssh.com", [all …]
|
/freebsd/tests/sys/kern/ |
H A D | unix_passfd_test.c | 1 /*- 45 #include <atf-c.h> 64 ATF_REQUIRE_MSG(socketpair(PF_UNIX, TEST_PROTO, 0, fdp) != -1, in domainsocketpair() 82 ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno)); in devnull() 95 ATF_REQUIRE_MSG(fd != -1, "mkstemp(%s) failed", path); in tempfile() 121 ATF_REQUIRE_MSG(rc != -1, "sysctl(KERN_PROC_NFDS) failed"); in getnfds() 143 cm->cmsg_len = CMSG_LEN(nfds * sizeof(int)); in putfds() 144 cm->cmsg_level = SOL_SOCKET; in putfds() 145 cm->cmsg_type = SCM_RIGHTS; in putfds() 154 ATF_REQUIRE_MSG(sb1->st_dev == sb2->st_dev, "different device"); in samefile() [all …]
|
/freebsd/usr.sbin/newsyslog/ |
H A D | newsyslog.8 | 44 is empty, 50 period's logs in it, and so on, up to a user-specified number of 61 .Bl -enum -offset indent 81 .Bl -tag -width indent 155 will not be able to send a HUP signal to 161 should not send any signals to any daemon processes that it would 183 argument is set to an empty string or the string 205 If log files are given on the command-line, then the 225 Prevent further action if we should send signal but the 227 is empty or does not exist. [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | SSL_CTX_set_session_ticket_cb.pod | 9 SSL_CTX_decrypt_session_ticket_fn - manage session ticket application data 82 Empty ticket present. No ticket data will be used and a new ticket should be 84 valid for a client to send an empty ticket. 109 policy. Note that in TLSv1.3 a client may send more than one ticket in a single 115 Do not use a ticket (if one was available). Do not send a renewed ticket to the 120 Do not use a ticket (if one was available). Send a renewed ticket to the client. 128 Use the ticket. Do not send a renewed ticket to the client. It is an error for 137 Use the ticket. Send a renewed ticket to the client. It is an error for the 185 Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
|
/freebsd/crypto/openssl/test/ |
H A D | README.ssltest.md | 4 SSL testcases are configured in the `ssl-tests` directory. 12 However, for verification, we also include checked-in configuration outputs 14 `test/ssl-tests/*.cnf` files. 16 For more details, see `ssl-tests/01-simple.cnf.in` for an example. 19 -------------------- 26 name => "test-default", 36 * Method - the method to test. One of DTLS or TLS. 38 * HandshakeMode - which handshake flavour to test: 39 - Simple - plain handshake (default) 40 - Resume - test resumption [all …]
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/ |
H A D | lac_sym_queue.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 57 if ((CPA_FALSE == pSessionDesc->nonBlockingOpsInProgress) || in LacSymQueue_RequestSend() 58 (NULL != pSessionDesc->pRequestQueueTail)) { in LacSymQueue_RequestSend() 59 LAC_SPINLOCK(&pSessionDesc->requestQueueLock); in LacSymQueue_RequestSend() 61 /* Re-check blockingOpsInProgress and pRequestQueueTail in case in LacSymQueue_RequestSend() 67 if ((CPA_FALSE == pSessionDesc->nonBlockingOpsInProgress) || in LacSymQueue_RequestSend() 68 (NULL != pSessionDesc->pRequestQueueTail)) { in LacSymQueue_RequestSend() 77 if (NULL != pSessionDesc->pRequestQueueTail) { in LacSymQueue_RequestSend() 78 /* Queue is non-empty. Add this request to the in LacSymQueue_RequestSend() [all …]
|
/freebsd/lib/libiscsiutil/ |
H A D | text.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 48 bhstr = (struct iscsi_bhs_text_request *)request->pdu_bhs; in text_new_request() 49 bhstr->bhstr_opcode = ISCSI_BHS_OPCODE_TEXT_REQUEST | in text_new_request() 51 bhstr->bhstr_flags = BHSTR_FLAGS_FINAL; in text_new_request() 52 bhstr->bhstr_initiator_task_tag = 0; in text_new_request() 53 bhstr->bhstr_target_transfer_tag = ttt; in text_new_request() 55 bhstr->bhstr_cmdsn = conn->conn_cmdsn; in text_new_request() 56 bhstr->bhstr_expstatsn = htonl(conn->conn_statsn + 1); in text_new_request() 70 if ((request->pdu_bhs->bhs_opcode & ~ISCSI_BHS_OPCODE_IMMEDIATE) != in text_receive_request() [all …]
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_els.c | 1 /*- 34 * Functions to build and send ELS/CT/BLS commands and responses. 47 #define ELS_IOFMT_ARGS(els) els->init_task_tag, els->tgt_task_tag, els->hw_tag 52 ocs_log_info(ocs, "[%s] %-20s\n", node->display_name, __func__); \ 56 …ocs_log_debug(els->node->ocs, "[%s]" ELS_IOFMT " %-8s " fmt, els->node->display_name, ELS_IOFMT_AR… 91 ocs_node_t *node = els->node; in ocs_io_transition() 93 ocs_sm_transition(&els->els_sm, state, data); in ocs_io_transition() 115 ocs_node_t *node = els->node; in ocs_els_post_event() 117 els->els_evtdepth ++; in ocs_els_post_event() 118 ocs_sm_post_event(&els->els_sm, evt, data); in ocs_els_post_event() [all …]
|
/freebsd/libexec/tftpd/tests/ |
H A D | functional.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 43 #include <atf-c.h> 49 static int s = -1; /* tftp client socket */ 51 static bool s_flag = false; /* Pass -s to tftpd */ 52 static bool w_flag = false; /* Pass -w to tftpd */ 74 &buffer[sizeof(hdr)], r - sizeof(hdr)); \ 76 ((struct sockaddr_in *)&addr)->sin_port = \ 77 ((struct sockaddr_in *)&from)->sin_port; \ 79 ((struct sockaddr_in6 *)&addr)->sin6_port = \ [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationClient.cpp | 1 //===-- GDBRemoteCommunicationClient.cpp ----------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 61 : GDBRemoteClientBase("gdb-remote.client"), in GDBRemoteCommunicationClient() 88 // Start the read thread after we send the handshake ack since if we fail to in HandshakeWithServer() 89 // send the handshake ack, there is no reason to continue... in HandshakeWithServer() 103 std::chrono::duration<double>(end_of_handshake - start_of_handshake) in HandshakeWithServer() 107 error_ptr->SetErrorString("Connection shut down by remote side " in HandshakeWithServer() 111 error_ptr->SetErrorStringWithFormat( in HandshakeWithServer() 119 error_ptr->SetErrorString("failed to send the handshake ack"); in HandshakeWithServer() [all …]
|
/freebsd/sys/contrib/xen/ |
H A D | argo.h | 2 * Argo : Hypervisor-Mediated data eXchange 7 * Copyright (c) 2018-2019, BAE Systems 39 /* Fixed-width type for "argo port" number. Nothing to do with evtchns. */ 42 /* gfn type: 64-bit fixed-width on all architectures */ 113 /* Ring is empty */ 153 * Register a ring using the guest-supplied memory pages. 157 * and the partner domain, if any, that is to be allowed to send to the ring. 160 * any domain (XSM notwithstanding) to send to the ring. 163 * indicates the size of the array. This operation only supports 4K-sized pages. 168 * arg4: unsigned long flags (32-bit value) [all …]
|