/freebsd/contrib/netbsd-tests/lib/libc/net/getaddrinfo/ |
H A D | no_host_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 4 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 5 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 7 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo 8 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo 9 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo 10 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo 11 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo [all …]
|
H A D | basics_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http [all …]
|
H A D | no_host_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv tftp 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv tftp 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80 [all …]
|
H A D | basics_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp [all …]
|
H A D | no_serv_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty) 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty) 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty) 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 [all …]
|
H A D | no_serv_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty) 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty) 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty) 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv (empty)
|
H A D | sock_raw_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty) 2 ai1: flags 0x2 family 24 socktype 3 protocol 0 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0 5 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty) 6 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0 7 ai2: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80 11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www 13 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty) 14 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
|
H A D | sock_raw_v4.exp | 1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty) 2 ai1: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0 4 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty) 5 ai1: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0 7 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80 9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www 11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty) 12 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
|
H A D | spec_fam_v4v6.exp | 1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http 6 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 7 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
|
H A D | spec_fam_v4.exp | 1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http
|
/freebsd/sys/contrib/openzfs/lib/libshare/ |
H A D | libshare.c | 63 const char *shareopts, enum sa_protocol protocol) in sa_enable_share() argument 65 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); in sa_enable_share() 69 return (fstypes[protocol]->enable_share(&args)); in sa_enable_share() 73 sa_disable_share(const char *mountpoint, enum sa_protocol protocol) in sa_disable_share() argument 75 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); in sa_disable_share() 78 return (fstypes[protocol]->disable_share(&args)); in sa_disable_share() 82 sa_is_shared(const char *mountpoint, enum sa_protocol protocol) in sa_is_shared() argument 84 VALIDATE_PROTOCOL(protocol, B_FALSE); in sa_is_shared() 87 return (fstypes[protocol]->is_shared(&args)); in sa_is_shared() 91 sa_commit_shares(enum sa_protocol protocol) in sa_commit_shares() argument [all …]
|
/freebsd/crypto/openssl/test/ssl-tests/ |
H A D | 04-client_auth.cnf.in | 19 # We test version-flexible negotiation (undef) and each protocol version. 32 my $protocol = $protocols[$_]; 33 my $protocol_name = $protocol || "flex"; 63 "MinProtocol" => $protocol, 64 "MaxProtocol" => $protocol 68 "MinProtocol" => $protocol, 69 "MaxProtocol" => $protocol 84 "MinProtocol" => $protocol, 85 "MaxProtocol" => $protocol, 90 "MinProtocol" => $protocol, [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 46 int *protocol, in get_port_protocol_socktype() argument 61 *protocol = protoent->p_proto; in get_port_protocol_socktype() 70 *protocol = IPPROTO_TCP; in get_port_protocol_socktype() 74 *protocol = IPPROTO_UDP; in get_port_protocol_socktype() 80 *protocol = IPPROTO_TCP; in get_port_protocol_socktype() 84 *protocol = IPPROTO_UDP; in get_port_protocol_socktype() 104 add_one (int port, int protocol, int socktype, in add_one() argument 119 a->ai_protocol = protocol; in add_one() 181 int port, int protocol, int socktype, in get_null() argument 210 ret = add_one (port, protocol, socktype, in get_null() [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | SSL_get_version.pod | 6 protocol information of a connection 22 SSL_client_version() returns the numeric protocol version advertised by the 26 returns the name of the protocol used for the connection. SSL_version() returns 27 the numeric protocol version used for the connection. They should only be called 42 The connection uses the SSLv3 protocol. 46 The connection uses the TLSv1.0 protocol. 50 The connection uses the TLSv1.1 protocol. 54 The connection uses the TLSv1.2 protocol. 58 The connection uses the TLSv1.3 protocol. 62 This indicates an unknown protocol version. [all …]
|
H A D | SSL_CTX_set_alpn_select_cb.pod | 8 - handle application layer protocol negotiation (ALPN) 54 protocol-list format, described below. The length of B<protos> is specified in 59 server to select which protocol to use for the incoming connection. When B<cb> 64 vector in protocol-list format. The value of the B<out>, B<outlen> vector 65 should be set to the value of a single protocol selected from the B<in>, 71 implements the standard protocol selection. It is expected that this function 72 is called from the application callback B<cb>. The protocol data in B<server>, 73 B<server_len> and B<client>, B<client_len> must be in the protocol-list format 78 least one valid (nonempty) protocol entry in the list. 89 client needs to select a protocol from the server's provided list, and a [all …]
|
H A D | BIO_ADDRINFO.pod | 25 int family, int socktype, int protocol, BIO_ADDRINFO **res); 47 be if B<host> is B<NULL>. B<family>, B<socktype> and B<protocol> are used to 48 determine what protocol family, socket type and protocol should be used for 51 indicates that any type can be used. B<protocol> specifies a protocol such as 52 IPPROTO_TCP, IPPROTO_UDP or IPPORTO_SCTP. If set to 0 than any protocol can be 60 to select based on the protocol (any protocol may be returned). 70 BIO_ADDRINFO_protocol() returns the protocol id of the given 95 function. On Linux it is known that specifying 0 for the protocol will not 97 address is required then the B<protocol> parameter to BIO_lookup_ex() should be
|
H A D | SSL_CTX_set_msg_callback.pod | 9 - install callback for observing protocol messages 31 protocol messages (such as handshake messages) that are received or 50 This flag is B<0> when a protocol message has been received and B<1> 51 when a protocol message has been sent. 55 The protocol version according to which the protocol message is 61 This is one of the content type values defined in the protocol specification 63 B<SSL3_RT_APPLICATION_DATA> because the callback will only be called for protocol 70 I<buf> points to a buffer containing the protocol message or other data (in the 91 If processing a received protocol message results in an error, 96 Due to automatic protocol version negotiation, I<version> is not [all …]
|
/freebsd/contrib/lib9p/pytest/ |
H A D | p9conn.py | 27 import protocol 41 qt2n = protocol.qid_type2name 329 self.iproto = protocol.p9_version(version) 336 self.fidalloc = numalloc.NumAlloc(0, protocol.td.NOFID - 1) 599 resp = protocol.plain.unpack(pkt) 600 except protocol.SequenceError as err: 605 except protocol.SequenceError: 678 if isinstance(resp, protocol.rrd.Rlerror): 680 if isinstance(resp, protocol.rrd.Rerror): 734 req = protocol.rrd.Tversion(tag=tag, msize=maxio, [all …]
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 80-test_ssl_old.t | 460 foreach my $protocol (@protocols) { 462 my @ciphers = run(app(["openssl", "ciphers", "-s", $protocol, 466 $ciphersstatus{$protocol} = $ciphersstatus; 468 $ciphersuites{$protocol} = [ map { s|\R||; split(/:/, $_) } 470 $protocolciphersuitecount += scalar @{$ciphersuites{$protocol}}; 486 foreach my $protocol (@protocols) { 487 ok($ciphersstatus{$protocol}, "Getting ciphers for $protocol"); 490 foreach my $protocol (sort keys %ciphersuites) { 491 note "Testing ciphersuites for $protocol"; 494 my $flag = $protocol eq "-tls1_3" ? "" : $protocol; [all …]
|
/freebsd/sys/dev/isci/scil/ |
H A D | sati_passthrough.c | 256 if ((sequence->protocol == PASSTHROUGH_PIO_DATA_IN) || in sati_passthrough_check_direction() 257 (sequence->protocol == PASSTHROUGH_UDMA_DATA_IN)) in sati_passthrough_check_direction() 268 else if ((sequence->protocol == PASSTHROUGH_PIO_DATA_OUT) || in sati_passthrough_check_direction() 269 (sequence->protocol == PASSTHROUGH_UDMA_DATA_OUT)) in sati_passthrough_check_direction() 319 sequence->protocol = PASSTHROUGH_CDB_PROTOCOL (cdb); in sati_passthrough_12_translate_command() 330 if (sequence->protocol == PASSTHROUGH_DMA) in sati_passthrough_12_translate_command() 334 sequence->protocol = PASSTHROUGH_UDMA_DATA_IN; in sati_passthrough_12_translate_command() 338 sequence->protocol = PASSTHROUGH_UDMA_DATA_OUT; in sati_passthrough_12_translate_command() 397 sequence->protocol = PASSTHROUGH_CDB_PROTOCOL(cdb); in sati_passthrough_16_translate_command() 408 if (sequence->protocol == PASSTHROUGH_DMA) in sati_passthrough_16_translate_command() [all …]
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | s_socket.c | 79 int family, int type, int protocol) in init_client() argument 91 ret = BIO_lookup_ex(host, port, BIO_LOOKUP_CLIENT, family, type, protocol, in init_client() 100 family, type, protocol, &bindaddr); in init_client() 115 && (protocol == 0 in init_client() 116 || protocol == BIO_ADDRINFO_protocol(ai))); in init_client() 147 if (protocol == IPPROTO_SCTP) { in init_client() 260 int family, int type, int protocol, do_server_cb cb, in do_server() argument 278 if (!BIO_lookup_ex(host, port, BIO_LOOKUP_SERVER, family, type, protocol, in do_server() 288 && (protocol == 0 || protocol == BIO_ADDRINFO_protocol(res))); in do_server() 331 if (protocol == IPPROTO_SCTP) { in do_server() [all …]
|
/freebsd/lib/libc/net/ |
H A D | protocols | 3 # See also http://www.iana.org/assignments/protocol-numbers 5 ip 0 IP # internet protocol, pseudo protocol number 7 icmp 1 ICMP # internet control message protocol 8 igmp 2 IGMP # internet group management protocol 9 ggp 3 GGP # gateway-gateway protocol 12 tcp 6 TCP # transmission control protocol 14 egp 8 EGP # exterior gateway protocol 18 pup 12 PUP # PARC universal packet protocol 23 udp 17 UDP # user datagram protocol 24 mux 18 MUX # Multiplexing protocol [all …]
|
/freebsd/contrib/opencsd/decoder/include/common/ |
H A D | ocsd_dcd_tree_elem.h | 55 ocsd_trace_protocol_t protocol;//!< protocol type member 79 ocsd_trace_protocol_t getProtocol() const { return protocol; }; in getProtocol() 88 protocol = OCSD_PROTOCOL_END; in DecodeTreeElement() 97 protocol = OCSD_PROTOCOL_UNKNOWN; in SetDecoderElement() 99 protocol = dcd_mngr->getProtocolType(); in SetDecoderElement()
|
/freebsd/tools/regression/sockets/fstat/ |
H A D | fstat.c | 41 dotest(int domain, int type, int protocol) in dotest() argument 46 sock = socket(domain, type, protocol); in dotest() 48 err(-1, "socket(%d, %d, %d)", domain, type, protocol); in dotest() 52 protocol); in dotest()
|
/freebsd/lib/libipsec/ |
H A D | policy_parse.y | 44 * protocol/mode/src-dst/level 45 * protocol/mode/src-dst parsed as protocol/mode/src-dst/default 46 * protocol/mode/src-dst/ parsed as protocol/mode/src-dst/default 47 * protocol/transport parsed as protocol/mode/any-any/default 48 * protocol/transport//level parsed as protocol/mode/any-any/level 147 : protocol SLAS [all...] |