/freebsd/contrib/netbsd-tests/kernel/tty/ |
H A D | t_pr.c | 3 /*- 36 #include <atf-c.h> 72 exercise_ptytty(int master, int slave) in exercise_ptytty() argument 77 * send a few bytes from master to slave and read them back in exercise_ptytty() 79 error = sendsome(master, slave); in exercise_ptytty() 84 rump_sys_ioctl(master, TIOCFLUSH, &flags); in exercise_ptytty() 89 error = sendsome(slave, master); in exercise_ptytty() 94 rump_sys_ioctl(master, TIOCFLUSH, &flags); in exercise_ptytty() 103 "test basic tty/pty operation when opening client side first"); in ATF_TC_HEAD() 108 int master, slave, error, v; in ATF_TC_BODY() local [all …]
|
/freebsd/lib/librpcsvc/ |
H A D | yp_update.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 18 * 4. Neither the name of the author nor the names of any co-contributors 34 * ypupdate client-side library function. 61 char *master; in yp_update() local 71 /* Get the master server name for 'domain.' */ in yp_update() 72 if ((rval = yp_master(domain, map, &master))) in yp_update() 76 if (getrpcport(master, YPU_PROG, YPU_VERS, ypop)) in yp_update() 80 if ((clnt = clnt_create(master, YPU_PROG, YPU_VERS, "tcp")) == NULL) in yp_update() 87 * be the netname of the guy on the other side, not your own in yp_update() [all …]
|
/freebsd/share/man/man4/ |
H A D | pts.4 | 33 .Nd pseudo-terminal driver 37 driver provides support for a device-pair termed a 38 .Em pseudo-terminal . 39 A pseudo-terminal is a pair of character devices, a 40 .Em master 52 it through the master half of the pseudo-terminal. 53 That is, anything written on the master device is 55 on the slave device is presented as input on the master 60 calls apply only to pseudo-terminals: 61 .Bl -tag -width TIOCPTMASTER [all …]
|
/freebsd/sys/cam/ctl/ |
H A D | ctl_ha.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2003-2009 Silicon Graphics International Corp. 34 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_ha.h#1 $ 45 * CTL_HA_MODE_ACT_STBY: Commands are serialized to the master side. 46 * No media access commands on slave side (Standby). 47 * CTL_HA_MODE_SER_ONLY: Commands are serialized to the master side. 50 * master side for execution.
|
/freebsd/lib/libutil/ |
H A D | pty.3 | 32 .Nd auxiliary functions to obtain a pseudo-terminal 47 attempts to obtain the next available pseudo-terminal from the system (see 77 Upon return, the open file descriptors for the master and slave side 88 to obtain the next available pseudo-terminal from the system. 92 for the master side of the pty, and calls 96 slave side of the pty. 108 function returns 0 on success, or -1 on failure. 112 function returns -1 on failure, 0 in the slave process, and the process ID of
|
/freebsd/tests/sys/kern/ |
H A D | tty_pts.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 12 #include <atf-c.h> 23 int master, slave; in ATF_TC_BODY() local 26 ATF_REQUIRE_EQ(0, newpty(&master, &slave)); in ATF_TC_BODY() 29 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); in ATF_TC_BODY() 32 ATF_REQUIRE_EQ(sizeof(buf) - 1, write(slave, buf, sizeof(buf) - 1)); in ATF_TC_BODY() 33 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); in ATF_TC_BODY() 34 ATF_REQUIRE_EQ(sizeof(buf) - 1, bytes); in ATF_TC_BODY() 37 ATF_REQUIRE_EQ(sizeof(buf) - 1, read(master, rbuf, sizeof(rbuf))); in ATF_TC_BODY() [all …]
|
/freebsd/share/doc/psd/21.ipc/ |
H A D | 5.t | 58 support only in-band signaling (i.e. the urgent data is 75 of the out-of-band data, but only notification that it is pending. 101 then reads the out-of-band byte. 135 A process may also read or peek at the out-of-band data 138 the urgent data in-band with the normal data, and only sends 141 With such protocols, the out-of-band byte may not yet have arrived 144 Worse, there may be enough in-band data in the input buffer 153 This treatment is available as a socket-level option, SO_OOBINLINE; 159 but no out-of-band data are lost. 161 Non-Blocking Sockets [all …]
|
H A D | 4.t | 54 or asymmetric. In a symmetric protocol, either side may play the 55 master or slave roles. In an asymmetric protocol, one side is 56 immutably recognized as the master, with the other as the slave. 78 ``internet super-server.'' \fIInetd\fP listens at a variety 79 of ports, determined at start-up by reading a configuration file. 129 sin.sin_port = sp->s_port; /* Restricted port -- see section 5 */ 211 with a user-id of root. 255 The client side of the remote login service was shown 289 bcopy(hp->h_addr, (char *) &server.sin_addr, hp->h_length); 290 server.sin_family = hp->h_addrtype; [all …]
|
/freebsd/share/man/man8/ |
H A D | yp.8 | 79 .Tn RPC Ns -based 95 .Em "master server" . 126 use old-style 174 .Bl -enum 183 master servers, 193 updated by the master. 221 available (a master and several slaves, for example), 241 master and slave servers handle all 258 .Bl -tag -width ".Fn yp_master" 264 master server for a given [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/soc/qcom/ |
H A D | qcom,smp2p.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 16 of a single 32-bit value between two processors. Each value has a single 17 writer (the local side) and a single reader (the remote side). Values are 35 $ref: /schemas/types.yaml#/definitions/phandle-array 37 - items: [all …]
|
H A D | qcom,smp2p.txt | 4 a single 32-bit value between two processors. Each value has a single writer 5 (the local side) and a single reader (the remote side). Values are uniquely 9 - compatible: 15 - interrupts: 17 Value type: <prop-encoded-array> 20 - mboxes: 22 Value type: <prop-encoded-array> 26 - qcom,ipc: 28 Value type: <prop-encoded-array> 31 - phandle to a syscon node representing the apcs registers [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/i2c/ |
H A D | i2c-arb-gpio-challenge.txt | 1 GPIO-based I2C Arbitration Using a Challenge & Response Mechanism 4 the master of an I2C bus in a multimaster situation. 7 the standard I2C multi-master rules. Using GPIOs is generally useful in 14 problems (hard to tell if i2c issues were caused by one master, another, or 21 others can see. These are all active low with pull-ups enabled. We'll 24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus 25 - THEIR_CLAIMS: output from others signaling that they want the bus 28 sure that the other side doesn't want it also. A detailed explanation is best 43 - compatible: i2c-arb-gpio-challenge 44 - our-claim-gpio: The GPIO that we use to claim the bus. [all …]
|
H A D | i2c-mt65xx.txt | 6 - compatible: value should be either of the following. 7 "mediatek,mt2701-i2c", "mediatek,mt6577-i2c": for MediaTek MT2701 8 "mediatek,mt2712-i2c": for MediaTek MT2712 9 "mediatek,mt6577-i2c": for MediaTek MT6577 10 "mediatek,mt6589-i2c": for MediaTek MT6589 11 "mediatek,mt6797-i2c", "mediatek,mt6577-i2c": for MediaTek MT6797 12 "mediatek,mt7622-i2c": for MediaTek MT7622 13 "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for MediaTek MT7623 14 "mediatek,mt7629-i2c", "mediatek,mt2712-i2c": for MediaTek MT7629 15 "mediatek,mt8168-i2c": for MediaTek MT8168 [all …]
|
/freebsd/sys/kern/ |
H A D | tty_pts.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 71 * Our utmp(5) format is limited to 8-byte TTY line names. This means 72 * we can at most allocate 1000 pseudo-terminals ("pts/999"). Allow 81 * Per-PTS structure. 94 struct cv pts_inwait; /* (t) Blocking write() on master. */ 96 struct cv pts_outwait; /* (t) Blocking read() on master. */ 100 struct cdev *pts_cdev; /* (c) Master device node. */ 107 * Controller-side file operations. 114 struct tty *tp = fp->f_data; in ptsdev_read() [all …]
|
/freebsd/crypto/openssh/ |
H A D | ssh.1 | 78 .Ux Ns -domain 108 .Bl -tag -width Ds -compact 121 .Xr ssh-agent 1 . 122 This can also be specified on a per-host basis in a configuration file. 127 .Ux Ns -domain 155 .Ux Ns -domain 161 The default value can be set on a host-by-host basis in the 170 is a comma-separated list of ciphers 186 application-level port forwarding. 189 on the local side, optionally bound to the specified [all …]
|
H A D | clientloop.h | 42 /* Client side main loop for the interactive session. */ 71 #define SSHMUX_COMMAND_ALIVE_CHECK 2 /* Check master is alive */ 72 #define SSHMUX_COMMAND_TERMINATE 3 /* Ask master to exit */ 73 #define SSHMUX_COMMAND_STDIO_FWD 4 /* Open stdio fwd (ssh -W) */
|
/freebsd/usr.bin/bluetooth/rfcomm_sppd/ |
H A D | rfcomm_sppd.1 | 1 .\" Copyright (c) 2001-2003 Maksim Yevmenkin <m_evmenkin@yahoo.com> 73 the server side of the virtual serial port is attached to a pseudo-terminal. 82 utility opens both master and slave pseudo terminals. 86 The data received from the master pseudo terminal are sent over 89 into master pseudo terminal. 95 .Bl -tag -width indent 154 .Bl -tag -width ".Pa /dev/pts/[num]" -compact 159 .Ex -std 161 .Dl "rfcomm_sppd -a 00:01:02:03:04:05 -c 1 -t"
|
/freebsd/lib/libsys/ |
H A D | nfssvc.2 | 58 On the client side, 83 .Bd -literal 108 whenever the client side requires an ``rcmd'' 134 On the server side, 139 .Bd -literal 196 The master 203 .Bd -literal 211 to pass a server side 221 Otherwise, -1 is returned and the global variable 225 .Bl -tag -width Er [all …]
|
/freebsd/share/doc/smm/06.nfs/ |
H A D | 1.t | 43 the client side. 49 The client side can operate without any daemons running, but performance 50 will be improved by running nfsiod daemons that perform read-aheads 51 and write-behinds. 52 For the server side to function, the daemons portmap, mountd and 62 The nfsd master daemon forks off children that enter the kernel 65 Meanwhile, the master nfsd waits to accept new connections from clients 68 The client side mount_nfs along with portmap and 78 On the server side, 80 require the \fB-n\fR option to enable non-root mount request servicing. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | mdio-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/mdio-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Lunn <andrew@lunn.ch> 18 mdio-parent-bus: 21 The phandle of the MDIO bus that this multiplexer's master-side port is 24 '#address-cells': 27 '#size-cells': 31 '^mdio@[0-9a-f]+$':
|
/freebsd/crypto/heimdal/appl/telnet/telnetd/ |
H A D | sys_term.c | 150 # define cfsetospeed(tp, val) (tp)->c_cflag &= ~CBAUD; \ 151 (tp)->c_cflag |= (val) 152 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) 154 # define cfsetispeed(tp, val) (tp)->c_cflag &= ~CIBAUD; \ 155 (tp)->c_cflag |= ((val)<<IBSHIFT) 156 # define cfgetispeed(tp) (((tp)->c_cflag & CIBAUD)>>IBSHIFT) 158 # define cfsetispeed(tp, val) (tp)->c_cflag &= ~CBAUD; \ 159 (tp)->c_cflag |= (val) 160 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) 165 static int ttyfd = -1; [all …]
|
/freebsd/lib/libc/rpc/ |
H A D | README | 8 This distribution contains SunSoft's implementation of transport-independent 9 RPC (TI-RPC), External Data Representation (XDR), and various utilities and 15 transport-specific RPC (TS-RPC). 17 TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V 19 (XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported 20 by almost 70 vendors on all major operating systems. TS-RPC source code 31 routines use the Solaris Name Service Switch to access public-key credential 34 interfaces of UI Threads to make certain interfaces thread-safe. These 53 "-lrpc -lnsl -lcrypt". This links the application with TIRPCSRC 2.3's librpc 61 technologies available for reference and porting to non-Solaris platforms. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | rt5659.txt | 7 - compatible : One of "realtek,rt5659" or "realtek,rt5658". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - clocks: The phandle of the master clock to the CODEC 16 - clock-names: Should be "mclk" 18 - realtek,in1-differential 19 - realtek,in3-differential 20 - realtek,in4-differential 21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended. 23 - realtek,dmic1-data-pin [all …]
|
/freebsd/usr.sbin/nfscbd/ |
H A D | nfscbd.8 | 32 client side callback daemon 47 One callback server and one master server 51 .Bl -tag -width Ds 66 .Dq Li "nfscbd -p 7654 -P root" 68 principal root@<client-host>.<dns-domain> as the callback target. 79 .Ex -std
|
/freebsd/contrib/netbsd-tests/lib/libcurses/director/ |
H A D | director.c | 3 /*- 59 int master; /* pty to the slave */ variable 88 if ((count = read(master, &last_words, 255)) > 0) { in slave_died() 101 fprintf(stderr, "Usage: %s [-v] [-I include-path] [-C check-path] " in usage() 102 "[-T terminfo-file] [-s pathtoslave] [-t term] " in usage() 105 fprintf(stderr, " -v enables verbose test output\n"); in usage() 106 fprintf(stderr, " -T is a directory containing the terminfo.cdb " in usage() 108 fprintf(stderr, " -s is the path to the slave executable\n"); in usage() 109 fprintf(stderr, " -t is value to set TERM to for the test\n"); in usage() 110 fprintf(stderr, " -I is the directory to include files\n"); in usage() [all …]
|