| /freebsd/contrib/bsnmp/tests/ |
| H A D | snmp_parse_server.cc | 19 std::cout << "snmp_parse_server: " << sc->error << "\n"; in try_parse() 49 SECTION("complex host name without special characters") { 50 const auto str = "some.host.domain"s; 58 SECTION("complex host name with special characters") { 59 const auto str = "some-mul.host-32.domain."s; 92 const auto host = "::"s; variable 93 const auto str = "[" + host + "]"; 96 REQUIRE(sc.chost == host); 102 const auto host = "::1"s; variable 103 const auto str = "[" + host + "]"; [all …]
|
| /freebsd/crypto/krb5/src/lib/krb5/krb/ |
| H A D | parse_host_string.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2 /* lib/krb5/krb/parse_host_string.c - Parse host strings into host and port */ 33 #include "k5-int.h" 52 * Parse a string containing a host specifier. The expected format for the 55 * host[:port] or port 57 * host and port are optional, though one must be present. host may have 61 * address - The address string that should be parsed. 62 * default_port - The default port to use if no port is found. 63 * host_out - An output pointer for the parsed host, or NULL if no host was 65 * port_out - An output pointer for the parsed port. Will be 0 on error. [all …]
|
| /freebsd/crypto/heimdal/lib/krb5/ |
| H A D | krbhst.c | 2 * Copyright (c) 2001 - 2003 Kungliga Tekniska Högskolan 47 return -1; in string_to_proto() 53 * if `port' != 0, force that port number 59 const char *proto, const char *service, int port) in srv_find_realm() argument 81 else if(port == 0) in srv_find_realm() 84 def_port = port; in srv_find_realm() 95 for(num_srv = 0, rr = r->head; rr; rr = rr->next) in srv_find_realm() 96 if(rr->type == rk_ns_t_srv) in srv_find_realm() 115 for(num_srv = 0, rr = r->head; rr; rr = rr->next) in srv_find_realm() 116 if(rr->type == rk_ns_t_srv) { in srv_find_realm() [all …]
|
| /freebsd/contrib/netcat/ |
| H A D | nc.1 | 38 .Bk -words 43 .Op Fl -lb 44 .Op Fl -no-tcpopt 45 .Op Fl -sctp 46 .Op Fl -crlf 52 .Op Fl -tun Ar tundev 58 .Ar port Oc 61 .Op Ar port 70 .Ux Ns -domain 73 TCP and UDP ports, do port scanning, and deal with both IPv4 and [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | ssh.1 | 49 .Op Fl D Oo Ar bind_address : Oc Ns Ar port 62 .Op Fl p Ar port 65 .Op Fl W Ar host : Ns Ar port 78 .Ux Ns -domain 90 .No ssh:// Oo user @ Oc hostname Op : port . 99 it will be executed on the remote host instead of a login shell. 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. 125 Users with the ability to bypass file permissions on the remote host [all …]
|
| H A D | sshd.8 | 45 .Bk -words 54 .Op Fl p Ar port 75 can be configured using command-line options or a configuration file 78 command-line options override values specified in the 87 .Bl -tag -width Ds 107 options or as a comma-separated list. 111 .Dq host , 116 and correspond to source address, user, resolved source host name, 117 local address, local port number and routing domain respectively. 119 .Dq invalid-user [all …]
|
| H A D | ssh_config.5 | 48 .Bl -enum -offset indent -compact 50 command-line options 55 system-wide configuration file 62 .Cm Host 65 The matched host name is usually the one given on the command line 71 host-specific declarations should be given near the beginning of the 74 The file contains keyword-argument pairs, one per line. 95 keywords are case-insensitive and arguments are case-sensitive): 96 .Bl -tag -width Ds 97 .It Cm Host [all …]
|
| H A D | sshconnect.c | 6 * Code to connect to a remote host, and to perform the client side of the 90 const char *host, const char *host_arg, int port) in expand_proxy_command() argument 96 snprintf(strport, sizeof strport, "%d", port); in expand_proxy_command() 99 "h", host, in expand_proxy_command() 114 ssh_proxy_fdpass_connect(struct ssh *ssh, const char *host, in ssh_proxy_fdpass_connect() argument 115 const char *host_arg, u_short port, const char *proxy_command) in ssh_proxy_fdpass_connect() argument 125 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sp) == -1) in ssh_proxy_fdpass_connect() 130 host, host_arg, port); in ssh_proxy_fdpass_connect() 140 if (dup2(sp[0], 0) == -1) in ssh_proxy_fdpass_connect() 144 if (dup2(sp[0], 1) == -1) in ssh_proxy_fdpass_connect() [all …]
|
| /freebsd/share/examples/ipfilter/ |
| H A D | BNF | 1 filter-rule = [ insert ] action in-out [ options ] [ tos ] [ ttl ] 6 in-out = "in" | "out" . 15 onif = "on" interface-name [ "out-via" interface-name ] . 16 block = "block" [ return-icmp[return-code] | "return-rst" ] . 18 log = "log" [ "body" ] [ "first" ] [ "or-block" ] [ "level" loglevel ] . 20 call = "call" [ "now" ] function-name "/" decnumber. 21 dup = "dup-to" interface-name[":"ipaddr] . 22 froute = "fastroute" | "to" interface-name . 23 replyto = "reply-to" interface-name [ ":" ipaddr ] . 28 return-icmp = "return-icmp" | "return-icmp-as-dest" . [all …]
|
| /freebsd/crypto/openssl/crypto/http/ |
| H A D | http_lib.c | 2 * Copyright 2001-2025 The OpenSSL Project Authors. All Rights Reserved. 42 || (*dest = OPENSSL_strndup(start, end - start)) != NULL; in copy_substring() 60 const char *host, *host_end; in OSSL_parse_url() local 61 const char *port, *port_end; in OSSL_parse_url() local 94 user = user_end = host = p; in OSSL_parse_url() 95 host = strchr(p, '@'); in OSSL_parse_url() 96 if (host != NULL) in OSSL_parse_url() 97 user_end = host++; in OSSL_parse_url() 99 host = p; in OSSL_parse_url() 102 if (host[0] == '[') { in OSSL_parse_url() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/pci/ |
| H A D | pci.txt | 3 PCI Bus Binding to: IEEE Std 1275-1994 4 https://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf 9 https://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf 11 Additionally to the properties specified in the above standards a host bridge 14 - linux,pci-domain: 15 If present this property assigns a fixed PCI domain number to a host bridge, 18 host bridges in the system, otherwise potentially conflicting domain numbers 19 may be assigned to root buses behind different host bridges. The domain 20 number for each host bridge in the system must be unique. 21 - max-link-speed: [all …]
|
| /freebsd/usr.sbin/ppp/ |
| H A D | README.nat | 42 Enabling this, either by the "-nat" command line option or the 43 "nat enable yes" command in a ppp.conf file, makes the ppp host 45 them appear to come from the ppp host machine. Incoming packets 46 from the outside world are then appropriately de-NAT'd. 49 port numbers. ICMP echo and timestamp packets are natted by their id 56 addresses). The ppp host can act as a gateway for these networks, and 63 behind the ppp host, are not visible from the outside world. They can 65 service requests) but the connections seem to come from the ppp host 70 address or port information within the data stream, are not supported 77 The implementation supports all standard, non-encoding TCP and UDP protocols. [all …]
|
| /freebsd/share/man/man4/ |
| H A D | ppbus.4 | 30 .Nd Parallel Port Bus system 42 system provides a uniform, modular and architecture-independent 44 and to utilize different parallel port chipsets. 46 In order to write new drivers or port existing drivers, the ppbus system 48 .Bl -bullet -offset indent 50 architecture-independent macros or functions to access parallel ports 52 mechanism to allow various devices to share the same parallel port 56 that allows parallel port access from outside the kernel without conflicting 57 with kernel-in drivers. 61 and non-standard software: [all …]
|
| /freebsd/sbin/ipf/ipsend/ |
| H A D | ipsend.5 | 3 ipsend \- IP packet description language 5 The \fBipsend\fP program expects, with the \fB-L\fP option, input to be a 38 "tr" | "sec" | "lsrr" | "e-sec" | "cipso" | "satid" | 41 ipv4secclass := "unclass" | "confid" | "reserv-1" | "reserv-2" | 42 "reserv-3" | "reserv-4" | "secret" | "topsecret" . 46 tcpbody ::= "sport" port | "dport" port | "seq" number | "ack" number | 52 udpbody ::= "sport" port | "dport" port | "len" number | "sum" number | 67 unreachtype ::= "net-unr" | "host-unr" | "proto-unr" | "port-unr" | 68 "needfrag" | "srcfail" | "net-unk" | "host-unk" | "isolate" | 69 "net-prohib" | "host-prohib" | "net-tos" | "host-tos" | [all …]
|
| /freebsd/contrib/libpcap/ |
| H A D | pcap-filter.manmisc.in | 21 .TH PCAP-FILTER @MAN_MISC_INFO@ "13 June 2023" 23 pcap-filter \- packet filter syntax 51 .B port 54 E.g., `\fBhost\fP foo', `\fBnet\fP 128.3', `\fBport\fP 20', `\fBportrange\fP 6000-6008'. 57 .B host 75 E.g., `\fBsrc\fP foo', `\fBdst net\fP 128.3', `\fBsrc or dst port\fP ftp-data'. 105 E.g., `\fBether src\fP foo', `\fBarp net\fP 128.3', `\fBtcp port\fP 21', 106 `\fBudp portrange\fP 7000-7009', `\fBwlan addr2\fP 0:2:3:4:5:6'. 112 `\fBport\fP 53' means `\fB(tcp or udp or sctp) port\fP 53' 117 network interface''. FDDI headers contain Ethernet-like source [all …]
|
| /freebsd/crypto/openssh/regress/ |
| H A D | servcfginclude.sh | 6 HostKey $OBJ/host.ssh-ed25519 7 Match host=a 10 Match host b 14 Match host=c 18 Match host m 21 Match Host d 24 Match Host e 28 Match Host=f 32 Match Host n 37 Match host xxxxxx [all …]
|
| /freebsd/stand/libsa/ |
| H A D | rpc.c | 8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 116 int port; /* host order */ in rpc_call() local 124 port = rpc_getport(d, prog, vers); in rpc_call() 125 if (port == -1) in rpc_call() 126 return (-1); in rpc_call() 128 d->destport = htons(port); in rpc_call() 138 send_head -= sizeof(*auth); in rpc_call() 140 auth->authtype = htonl(RPCAUTH_NULL); in rpc_call() 141 auth->authlen = 0; in rpc_call() 144 send_head -= sizeof(struct auth_unix); in rpc_call() [all …]
|
| /freebsd/sys/netpfil/ipfw/nat64/ |
| H A D | nat64lsn.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2015-2020 Yandex LLC 6 * Copyright (c) 2016-2020 Andrey V. Elsukov <ae@FreeBSD.org> 87 (struct nat64lsn_instance *)SRV_OBJECT((chain), insntod(cmd, kidx)->kidx) 105 struct nat64lsn_host *host; member 111 uint16_t port; member 139 static void nat64lsn_destroy_host(struct nat64lsn_host *host); 150 #define NAT64_BIT_TCP_SYN 1 /* First syn in->out */ 181 plog->length = PFLOG_REAL_HDRLEN; in nat64lsn_log() [all …]
|
| /freebsd/crypto/krb5/src/appl/gss-sample/ |
| H A D | README | 21 This directory contains a sample GSS-API client and server 22 application. In addition to serving as an example of GSS-API 24 testing the performance of GSS-API implementations. 33 GSS-API context, and the server prints the identify of the 53 destroy the GSS-API context. 55 The client also supports the -v1 flag which uses an older exchange 61 gss-server [-port port] [-verbose] [-once] [-inetd] [-export] 62 [-logfile file] service_name 64 where service_name is a GSS-API service name of the form 65 "service@host" (or just "service", in which case the local host name [all …]
|
| /freebsd/usr.bin/clang/lldb-server/ |
| H A D | lldb-server.1 | 4 .nr rst2man-indent-level 0 7 \\$1 \\n[an-margin] 8 level \\n[rst2man-indent-level] 9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 - 11 \\n[rst2man-indent0] 12 \\n[rst2man-indent1] 13 \\n[rst2man-indent2] 18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 . nr rst2man-indent-level +1 [all …]
|
| /freebsd/contrib/tnftp/src/ |
| H A D | ftp.1 | 4 .\" Copyright (c) 1996-2008 The NetBSD Foundation, Inc. 70 .Bk -words 73 .Bk -words 76 .Bk -words 77 .Op Fl P Ar port 79 .Bk -words 82 .Bk -words 86 .Bk -words 87 .\" [-T dir,max[,inc]] 98 .Bk -word [all...] |
| /freebsd/sys/net/ |
| H A D | netmap.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo. All rights reserved. 48 * Some fields should be cache-aligned to reduce contention. 56 * --- Netmap data structures --- 68 +---->+---------------+ 71 +----------------+ / | other fields | 75 | | / +---------------+ 77 | txring_ofs[0] | (rel.to nifp)--' | flags, ptr | 78 | txring_ofs[1] | +---------------+ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/phy/ |
| H A D | phy-rockchip-inno-usb2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-rockchip-inno-usb2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,px30-usb2phy 16 - rockchip,rk3128-usb2phy 17 - rockchip,rk3228-usb2phy 18 - rockchip,rk3308-usb2phy 19 - rockchip,rk3328-usb2phy [all …]
|
| H A D | rockchip,inno-usb2phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/rockchip,inno-usb2phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchi [all...] |
| /freebsd/usr.sbin/bhyve/ |
| H A D | bhyve_config.5 | 1 .\" SPDX-License-Identifier: BSD-2-Clause 35 per-device settings. 69 For those variables the following case-insensitive values may be used to 72 .Bl -bullet -offset indent -compact 85 .Bl -bullet -offset indent -compact 103 .Bl -column "memory.guest_in_core" "integer" "Default" 140 This can cause problems if the guest uses the in-memory version, since certain 144 Destroy the VM on guest-initiated power-off. 147 .It Va gdb.port Ta integer Ta 0 Ta 148 TCP port number for the debug server. [all …]
|