| /freebsd/crypto/openssh/ |
| H A D | PROTOCOL.mux | 2 ControlMaster connection-sharing. 28 signaled or the mux server closes the session. This mode is so named as 32 example of passenger mode; the client passes the stdio file descriptors 36 this mode, the mux client/server connection socket will stop speaking 63 2. Opening a passenger mode session 65 To open a new multiplexed session in passenger mode, a client sends the 109 non-multiplexed ssh(1) connection. Two additional cases that the 115 return its local tty to "cooked" mode. 120 3. Requesting passenger-mode stdio forwarding 174 If listen port is (unsigned int) -2, then the listen host is treated as [all …]
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_power.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 68 if (vap->iv_opmode == IEEE80211_M_HOSTAP || in ieee80211_power_vattach() 69 vap->iv_opmode == IEEE80211_M_IBSS) { in ieee80211_power_vattach() 71 vap->iv_update_ps = ieee80211_update_ps; in ieee80211_power_vattach() 72 vap->iv_set_tim = ieee80211_set_tim; in ieee80211_power_vattach() 74 vap->iv_node_ps = ieee80211_node_pwrsave; in ieee80211_power_vattach() 75 vap->iv_sta_ps = ieee80211_sta_pwrsave; in ieee80211_power_vattach() 83 * know adhoc mode doesn't support ATIM yet... in ieee80211_power_latevattach() [all …]
|
| H A D | ieee80211_scan.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 50 /* XXX until it's implemented as attach ops */ 56 * Roaming-related defaults. RSSI thresholds are as returned by the 63 #define ROAM_RSSI_11BONLY_DEFAULT 14 /* 11b-only bss */ 67 #define ROAM_RATE_11BONLY_DEFAULT 2*1 /* 11b-only bss */ 68 #define ROAM_RATE_HALF_DEFAULT 2*6 /* half-width 11a/g bss */ 69 #define ROAM_RATE_QUARTER_DEFAULT 2*3 /* quarter-width 11a/g bss */ 71 #define ROAM_MCS_11AC_DEFAULT (1 | IEEE80211_RATE_MCS) /* 11ac bss; XXX not used yet */ [all …]
|
| H A D | ieee80211_node.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 69 CTASSERT((IEEE80211_NODE_HASHSIZE & (IEEE80211_NODE_HASHSIZE-1)) == 0); 75 ((_vap)->iv_aid_bitmap[IEEE80211_AID(b) / 32] |= \ 78 ((_vap)->iv_aid_bitmap[IEEE80211_AID(b) / 32] &= \ 81 ((_vap)->iv_aid_bitmap[IEEE80211_AID(b) / 32] & (1 << (IEEE80211_AID(b) % 32))) 117 /* XXX really want maxlen enforced per-sta */ in ieee80211_node_attach() 118 ieee80211_ageq_init(&ic->ic_stageq, ic->ic_max_keyix * 8, in ieee80211_node_attach() 120 ieee80211_node_table_init(ic, &ic->ic_sta, "station", in ieee80211_node_attach() [all …]
|
| H A D | ieee80211.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 118 /* NB: OFDM rates are handled specially based on mode */ 134 if (ic->ic_sup_rates[m].rs_nrates == 0) \ in ieee80211_chan_init() 135 ic->ic_sup_rates[m] = def; \ in ieee80211_chan_init() 140 KASSERT(0 < ic->ic_nchans && ic->ic_nchans <= IEEE80211_CHAN_MAX, in ieee80211_chan_init() 141 ("invalid number of channels specified: %u", ic->ic_nchans)); in ieee80211_chan_init() 142 memset(ic->ic_chan_avail, 0, sizeof(ic->ic_chan_avail)); in ieee80211_chan_init() 143 memset(ic->ic_modecaps, 0, sizeof(ic->ic_modecaps)); in ieee80211_chan_init() [all …]
|
| H A D | ieee80211_ioctl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 31 * IEEE 802.11 ioctl support (FreeBSD-specific) 63 (IFNET_IS_UP_RUNNING((_vap)->iv_ifp) && \ 64 (_vap)->iv_roaming == IEEE80211_ROAMING_AUTO) 68 int ieee, int mode); 76 struct ieee80211com *ic = vap->iv_ic; in ieee80211_ioctl_getkey() 84 if (ireq->i_len != sizeof(ik)) in ieee80211_ioctl_getkey() 86 error = copyin(ireq->i_data, &ik, sizeof(ik)); in ieee80211_ioctl_getkey() [all …]
|
| H A D | ieee80211_scan_sta.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 75 /* XXX tunable */ 99 (((const uint8_t *)(addr))[IEEE80211_ADDR_LEN - 1] % STA_HASHSIZE) 112 /* ap-related state */ 119 * for use. If non-zero the entry was deemed not suitable and it's 174 TAILQ_INIT(&st->st_entry); in sta_attach() 175 ss->ss_priv = st; in sta_attach() 186 struct sta_table *st = ss->ss_priv; in sta_detach() [all …]
|
| H A D | ieee80211_proto.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 50 #include <net/ethernet.h> /* XXX for ether_sprintf */ 63 /* XXX tunables */ 108 * IEEE Std 802.11-2012, pp. 442-445 Table 8-36. 143 return ("4-Way handshake timeout"); in ieee80211_reason_to_string() 147 return ("element in 4-Way handshake different from " in ieee80211_reason_to_string() 165 return ("unspecified (QoS-related)"); in ieee80211_reason_to_string() 259 ic_printf(ni->ni_ic, "missing ic_raw_xmit callback, drop frame\n"); in null_raw_xmit() [all …]
|
| H A D | ieee80211_sta.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 29 * IEEE 802.11 Station mode support. 78 ic->ic_vattach[IEEE80211_M_STA] = sta_vattach; in ieee80211_sta_attach() 94 vap->iv_newstate = sta_newstate; in sta_vattach() 95 vap->iv_input = sta_input; in sta_vattach() 96 vap->iv_recv_mgmt = sta_recv_mgmt; in sta_vattach() 97 vap->iv_recv_ctl = sta_recv_ctl; in sta_vattach() 98 vap->iv_opdetach = sta_vdetach; in sta_vattach() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/power/reset/ |
| H A D | reboot-mode.txt | 1 Generic reboot mode core map driver 3 This driver get reboot mode arguments and call the write 8 All mode properties are vendor specific, it is a indication to tell 10 as mode-xxx = <magic> (xxx is mode name, magic should be a none-zero value). 13 - mode-normal: Normal reboot mode, system reboot with command "reboot". 14 - mode-recovery: Android Recovery mode, it is a mode to format the device or update a new image. 15 - mode-bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based d… 16 - mode-loader: A bootloader mode, it's a mode used to download image on Rockchip platform, 20 reboot-mode { 21 mode-normal = <BOOT_NORMAL>; [all …]
|
| H A D | reboot-mode.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic reboot mode core map 10 - Andy Yan <andy.yan@rock-chips.com> 13 This driver get reboot mode arguments and call the write 18 All mode properties are vendor specific, it is a indication to tell 20 as mode-xxx = <magic> (xxx is mode name, magic should be a non-zero value). 23 - normal: Normal reboot mode, system reboot with command "reboot". [all …]
|
| /freebsd/crypto/openssh/regress/ |
| H A D | multiplex.sh | 5 CTL=${SSH_REGRESS_TMP}/ctl-sock 19 ${SSH} -F $OBJ/ssh_config -S $CTL -Ocheck otherhost \ 32 ${SSH} -Nn2 -MS$CTL -F $OBJ/ssh_config -oSendEnv="_XXX_TEST" somehost \ 33 -E $TEST_REGRESS_LOGFILE 2>&1 & 34 # NB. $SSH_PID will be killed by test-exec.sh:cleanup on fatal errors. 43 _XXX_TEST=blah ${SSH} -F $OBJ/ssh_config -oSendEnv="_XXX_TEST" -S$CTL otherhost sh << 'EOF' 46 if [ $? -ne 0 ]; then 52 ${SSH} -F $OBJ/ssh_config -oSetEnv="_XXX_TEST=foo" -S$CTL otherhost sh << 'EOF' 55 if [ $? -ne 0 ]; then 59 for mode in "" "-Oproxy"; do [all …]
|
| /freebsd/contrib/nvi/cl/ |
| H A D | cl_screen.c | 1 /*- 39 * cl_screen -- 51 gp = sp->gp; in cl_screen() 64 /* See if we're already in the right mode. */ in cl_screen() 70 * Fake leaving ex mode. in cl_screen() 72 * We don't actually exit ex or vi mode unless forced (e.g. by a window in cl_screen() 82 * Fake leaving vi mode. in cl_screen() 85 * screen. Move to the last line in the current screen -- this makes in cl_screen() 95 (void)wmove(win, RLNO(sp, sp->rows), 0); in cl_screen() 98 (void)wmove(win, RLNO(sp, sp->rows) - 1, 0); in cl_screen() [all …]
|
| /freebsd/sys/x86/cpufreq/ |
| H A D | p4tcc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 34 * Reference: Intel Developer's manual v.3 #245472-012 157 sc->dev = dev; in p4tcc_attach() 158 sc->set_count = TCC_NUM_SETTINGS; in p4tcc_attach() 161 * On boot, the TCC is usually in Automatic mode where reading the in p4tcc_attach() 166 sc->auto_mode = TRUE; in p4tcc_attach() 169 * XXX: After a cursory glance at various Intel specification in p4tcc_attach() 170 * XXX: updates it seems like these tests for errata is bogus. in p4tcc_attach() 171 * XXX: As far as I can tell, the failure mode is benign, in in p4tcc_attach() [all …]
|
| /freebsd/sys/dev/ppbus/ |
| H A D | ppbconf.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 69 * Parallel Port Chipset mode masks. 70 * NIBBLE mode is supposed to be available under each other modes. 72 #define PPB_COMPATIBLE 0x0 /* Centronics compatible mode */ 74 #define PPB_NIBBLE 0x1 /* reverse 4 bit mode */ 75 #define PPB_PS2 0x2 /* PS/2 byte mode */ 76 #define PPB_EPP 0x4 /* EPP mode, 32 bit */ 77 #define PPB_ECP 0x8 /* ECP mode */ 79 /* mode aliases */ [all …]
|
| /freebsd/sys/dev/ppc/ |
| H A D | ppc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1997-2000 Nicolas Souchu 5 * Copyright (c) 2001 Alcove - Nicolas Souchu 82 * config mode, but since we only do that to detect the type at startup the 92 "SMC-like", "SMC FDC37C665GT", "SMC FDC37C666GT", "PC87332", "PC87306", 99 "COMPATIBLE", "NIBBLE-only", "PS2-only", "PS2/NIBBLE", "EPP-only", 100 "EPP/NIBBLE", "EPP/PS2", "EPP/PS2/NIBBLE", "ECP-only", 119 * BIOS printer list - used by BIOS probe. 127 * ppc_ecp_sync() XXX [all …]
|
| /freebsd/sys/kern/ |
| H A D | subr_acl_posix1e.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1999-2006 Robert N. M. Watson 71 * Look for a normal, non-privileged way to access the file/directory in vaccess_acl_posix1e() 119 for (i = 0; i < acl->acl_cnt; i++) { in vaccess_acl_posix1e() 120 switch (acl->acl_entry[i].ae_tag) { in vaccess_acl_posix1e() 122 if (file_uid != cred->cr_uid) in vaccess_acl_posix1e() 126 if (acl->acl_entry[i].ae_perm & ACL_EXECUTE) in vaccess_acl_posix1e() 128 if (acl->acl_entry[i].ae_perm & ACL_READ) in vaccess_acl_posix1e() 130 if (acl->acl_entry[i].ae_perm & ACL_WRITE) in vaccess_acl_posix1e() [all …]
|
| /freebsd/sys/dev/syscons/ |
| H A D | scvidctl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1998 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 55 /* 3.0-RELEASE used the following structure */ 60 /* flag bits are the same as the -CURRENT 83 /* 3.1-RELEASE used the following structure */ 108 /* 3.0-RELEASE and 3.1-RELEASE used the following structure */ 112 /* flag bits are the same as the -CURRENT 135 sc_set_text_mode(scr_stat *scp, struct tty *tp, int mode, int xsize, int ysize, in sc_set_text_mode() argument 147 if (vidd_get_info(scp->sc->adp, mode, &info)) in sc_set_text_mode() [all …]
|
| /freebsd/sys/dev/fb/ |
| H A D | vga.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 5 * Copyright (c) 1992-1998 Søren Schmidt 39 #include "opt_syscons.h" /* should be removed in the future, XXX */ 68 /* XXX machine/pc/bios.h has got too much i386-specific stuff in it */ 83 error = (*sw->probe)(unit, &adp, NULL, flags); in vga_probe_unit() 100 error = (*sw->probe)(unit, &sc->adp, NULL, flags); in vga_attach_unit() 103 return (*sw->init)(unit, sc->adp, flags); in vga_attach_unit() 106 /* LOW-LEVEL */ [all …]
|
| /freebsd/sys/dev/ath/ |
| H A D | if_ath_rx.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 44 * by the driver - eg, calls to ath_hal_gettsf32(). 101 #include <dev/ath/ath_hal/ah_devid.h> /* XXX for softled */ 128 * operating mode and state: 132 * to count and we need them for ANI (sta mode only until recently) 138 * o enable promiscuous mode 139 * - when in monitor mode 140 * - if interface marked PROMISC (assumes bridge setting is filtered) [all …]
|
| /freebsd/sys/dev/rtwn/rtl8812a/ |
| H A D | r12a_tx.c | 1 /*- 77 /* XXX VHT80; VHT40 */ in r12a_get_primary_channel() 102 prim_chan = r12a_get_primary_channel(sc, ni->ni_chan); in r12a_tx_set_vht_bw() 105 txd->txdw5 |= htole32(SM(R12A_TXDW5_DATA_BW, in r12a_tx_set_vht_bw() 107 txd->txdw5 |= htole32(SM(R12A_TXDW5_DATA_PRIM_CHAN, in r12a_tx_set_vht_bw() 110 txd->txdw5 |= htole32(SM(R12A_TXDW5_DATA_BW, in r12a_tx_set_vht_bw() 112 txd->txdw5 |= htole32(SM(R12A_TXDW5_DATA_PRIM_CHAN, in r12a_tx_set_vht_bw() 130 prim_chan = r12a_get_primary_channel(sc, ni->ni_chan); in r12a_tx_set_ht40() 131 txd->txdw5 |= htole32(SM(R12A_TXDW5_DATA_BW, in r12a_tx_set_ht40() 133 txd->txdw5 |= htole32(SM(R12A_TXDW5_DATA_PRIM_CHAN, in r12a_tx_set_ht40() [all …]
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-802_15_4.c | 4 * Dmitry Eremin-Solenikov (dbaryshkov@gmail.com) 27 #include "netdissect-stdinc.h" 39 /* Frame types from Table 7-1 of 802.15.4-2015 */ 51 /* Element IDs for Header IEs from Table 7-7 of 802.15.4-2015 */ 183 /* Payload IE Group IDs from Table 7-15 of 802.15.4-2015 */ 203 /* Sub-ID for short format from Table 7-16 of 802.15.4-2015 */ 241 "Mode Switch Parameter IE", /* 0x24 */ 243 "O-QPSK PHY Mode IE", /* 0x26 */ 245 "LECIM DSSS Operating Mode IE", /* 0x28 */ 246 "LECIM FSK Operating Mode IE", /* 0x29 */ [all …]
|
| /freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_freebsd_inc.h | 11 #define ATH_SUPPORT_AIC 0 /* XXX to do with btcoex? */ 19 #define ATH_TRAFFIC_FAST_RECOVER 0 /* XXX not sure yet */ 30 #define HAL_INTR_REFCOUNT_DISABLE 1 /* XXX wha? And atomics in the HAL!? */ 40 /* XXX need to reverify these; they came in with qcamain */ 56 /* XXX this needs to be removed! No atomics in the HAL! */ 57 typedef int os_atomic_t; /* XXX shouldn't do atomics here! */ 59 #define OS_ATOMIC_DEC(a) (*a)-- 105 matched filter (single-sided) in usecs */ 114 int32_t rp_rssimargin; /* rssi threshold margin. In Turbo Mode HW reports rssi 3dBm */ 115 /* lower than in non TURBO mode. [all …]
|
| /freebsd/secure/lib/libcrypto/man/man3/ |
| H A D | BIO_f_ssl.3 | 1 .\" -*- mode: troff; coding: utf-8 -*- 58 .TH BIO_F_SSL 3ossl 2025-09-30 3.5.4 OpenSSL 69 BIO_ssl_shutdown \- SSL BIO 120 \&\fBBIO_set_ssl_mode()\fR sets the SSL BIO mode to \fBclient\fR. If \fBclient\fR 121 is 1 client mode is set. If \fBclient\fR is 0 server mode is set. 136 client mode if \fBclient\fR is non zero. 156 For non-SSL BIOs the connection is done typically at TCP level. 221 \& /* XXX Seed the PRNG if needed. */ 225 \& /* XXX Set verify paths and mode here. */ 235 \& /* XXX We might want to do other things with ssl here */ [all …]
|
| /freebsd/tools/tools/net80211/wlantxtime/ |
| H A D | wlantxtime.c | 1 /*- 2 * Copyright (c) 2007-2009 Sam Leffler, Errno Consulting 28 * IEEE 802.11 PHY-related support. 72 exit(-1); \ 84 exit(-1); in panic() 93 #define PBCC (IEEE80211_T_OFDM_QUARTER+1) /* XXX */ 98 .rateCount = 4, /* XXX no PBCC */ 223 * XXX not reentrant, but shouldn't matter 233 for (i = 0; i < nitems(rt->rateCodeToIndex); i++) in ieee80211_setup_ratetable() 234 rt->rateCodeToIndex[i] = (uint8_t) -1; in ieee80211_setup_ratetable() [all …]
|