| /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/tests/sys/netinet/ |
| H A D | multicast.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 50 jexec mjail2 $(atf_get_srcdir)/multicast-receive \ 52 while ! jexec mjail2 ifmcstat | grep -q 233\.252\.0\.1; do 69 atf_check -s exit:0 -o empty \ 70 jexec mjail1 $(atf_get_srcdir)/multicast-send \ 72 atf_check -s exit:0 sh -c "wait $pid; exit $?" 73 atf_check -s exit:0 -o inline:"192.0.2.1:6676 hello\n" cat out 77 atf_check -s exit:0 -o empty \ 78 jexec mjail1 $(atf_get_srcdir)/multicast-send \ 80 atf_check -s exit:0 sh -c "wait $pid; exit $?" [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| H A D | send_encrypted_files.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 26 # Verify that a raw zfs send and receive can deal with several different 31 # 2. Add an empty file to the filesystem 35 # 6. Add 1000 empty files to the filesystem 39 # 10. Remove the 1000 empty files to the filesystem 41 # 12. Send and receive both snapshots 50 destroy_dataset $TESTPOOL/$TESTFS2 -r 52 destroy_dataset $TESTPOOL/recv -r 53 [[ -f $keyfile ]] && log_must rm $keyfile [all …]
|
| H A D | send_realloc_dnode_size.ksh | 2 # SPDX-License-Identifier: CDDL-1.0 36 # 4. Create an empty file and add xattrs to it to exercise reclaiming a 48 rm -f $BACKDIR/fs-dn-legacy 49 rm -f $BACKDIR/fs-dn-1k 50 rm -f $BACKDIR/fs-dn-2k 51 rm -f $BACKDIR/fs-attr 53 datasetexists $POOL/fs && destroy_dataset $POOL/fs -rR 54 datasetexists $POOL/newfs && destroy_dataset $POOL/newfs -rR 60 log_must zfs create -o dnodesize=1k $POOL/fs 89 # 4. Create an empty file and add xattrs to it to exercise reclaiming a [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
| H A D | redacted_mounts.ksh | 2 # SPDX-License-Identifier: CDDL-1.0 29 # without the -f flag, but can with -f. 32 # 5. Verify the files in the send fs are also present in the recv fs. 52 log_must rm $clone_mnt/empty $clone_mnt/contents1 55 log_must rm -rf $clone_mnt/dir1/dir2 58 log_must dd if=/dev/urandom of=$clone_mnt/dir1/empty bs=512 count=1 62 log_must eval "zfs send --redact book1 $sendfs@snap >$stream" 67 log_must mount_redacted -f $recvfs 70 # Verify that the send and recv fs both have the same files under their 77 log_must eval "zfs send --redact book2 $sendvol@snap >$stream" [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/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 136 will not be able to send a signal to 142 should not send any signals to any daemon processes that it would 164 argument is set to an empty string or the string 186 If log files are given on the command-line, then the 206 Prevent further action if we should send signal but the 208 is empty or does not exist. [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"); 39 my $proxy = TLSProxy::Proxy->new( 49 $proxy->clientflags("-no_tls1_3"); 50 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 59 $proxy->clientflags("-no_tls1_3"); 60 $proxy->serverflags("-no_ticket"); 61 $proxy->start(); 69 $proxy->clientflags("-no_tls1_3 -no_ticket"); 70 $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 …]
|
| /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/secure/lib/libcrypto/man/man3/ |
| H A D | SSL_CTX_set_session_ticket_cb.3 | 1 .\" -*- mode: troff; coding: utf-8 -*- 58 .TH SSL_CTX_SET_SESSION_TICKET_CB 3ossl 2025-09-30 3.5.4 OpenSSL 68 SSL_CTX_decrypt_session_ticket_fn \- manage session ticket application data 137 Empty ticket present. No ticket data will be used and a new ticket should be 139 valid for a client to send an empty ticket. 156 policy. Note that in TLSv1.3 a client may send more than one ticket in a single 161 Do not use a ticket (if one was available). Do not send a renewed ticket to the 165 Do not use a ticket (if one was available). Send a renewed ticket to the client. 172 Use the ticket. Do not send a renewed ticket to the client. It is an error for 180 Use the ticket. Send a renewed ticket to the client. It is an error for the [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/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/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-2025 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/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/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/tests/sys/kern/ |
| H A D | unix_passfd_test.c | 1 /*- 49 #include <atf-c.h> 68 ATF_REQUIRE_MSG(socketpair(PF_UNIX, TEST_PROTO, 0, fdp) != -1, in domainsocketpair() 86 ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno)); in devnull() 99 ATF_REQUIRE_MSG(fd != -1, "mkstemp(%s) failed", path); in tempfile() 125 ATF_REQUIRE_MSG(rc != -1, "sysctl(KERN_PROC_NFDS) failed"); in getnfds() 147 cm->cmsg_len = CMSG_LEN(nfds * sizeof(int)); in putfds() 148 cm->cmsg_level = SOL_SOCKET; in putfds() 149 cm->cmsg_type = SCM_RIGHTS; in putfds() 158 ATF_REQUIRE_MSG(sb1->st_dev == sb2->st_dev, "different device"); in samefile() [all …]
|