| /openbsd-src/regress/lib/libc/getaddrinfo/ |
| H A D | answer | 2 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 3 ai1: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 80 4 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 5 ai1: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 80 6 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http 7 ai1: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 80 8 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 80 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 69 11 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv tftp [all …]
|
| /openbsd-src/regress/lib/libssl/ssl/ |
| H A D | testssl | 56 for protocol in SSLv3 TLSv1.2; do 57 echo "Testing ciphersuites for $protocol" 58 for cipher in `$openssl ciphers -v "$protocol+aRSA" | 59 awk "/ $protocol / { print \\$1 }"`; do 68 for protocol in TLSv1.3; do 69 echo "Testing ciphersuites for $protocol at security level 2" 70 for cipher in `$openssl ciphers -v "$protocol" | 71 awk "/ $protocol / { print \\$1 }"`; do 80 for protocol in TLSv1.3; do 81 echo "Testing ciphersuites for $protocol at security level 3" [all …]
|
| /openbsd-src/regress/lib/libssl/client/ |
| H A D | clienttest.c | 342 const int protocol; member 354 .protocol = DTLS1_VERSION, 361 .protocol = DTLS1_2_VERSION, 367 .protocol = DTLS1_2_VERSION, 373 .protocol = DTLS1_VERSION, 381 .protocol = DTLS1_2_VERSION, 388 .protocol = TLS1_VERSION, 395 .protocol = TLS1_1_VERSION, 402 .protocol = TLS1_2_VERSION, 408 .protocol 526 make_client_hello(int protocol,char ** out,size_t * outlen) make_client_hello() argument [all...] |
| /openbsd-src/regress/usr.sbin/relayd/ |
| H A D | Relayd.pm | 38 ref($self->{protocol}) eq 'ARRAY' 39 or $self->{protocol} = [ split("\n", $self->{protocol} || "") ]; 73 my @protocol = @{$self->{protocol}}; 74 my $proto = shift @protocol; 76 unshift @protocol, 80 unless grep { /splice/ } @protocol; 81 push @protocol, "tcp nodelay"; 82 print $fh "${proto}protocol prot [all...] |
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/objc/execute/ |
| H A D | formal_protocol-5.m | 5 /* Test defining a protocol, and accessing it using @protocol */ 7 @protocol Evaluating 11 /* A class adopting the protocol */ 24 Protocol *protocol = @protocol (Evaluating); 26 if (strcmp ([protocol name], "Evaluating"))
|
| H A D | formal_protocol-6.m | 5 /* Test defining a protocol, and accessing it using @protocol */ 7 @protocol Evaluating 11 /* Without a class adopting the protocol - this doesn't work 16 Protocol *protocol = @protocol (Evaluating); 18 if (strcmp ([protocol name], "Evaluating"))
|
| H A D | bycopy-3.m | 17 @protocol MyProtocol 37 Protocol *protocol; 42 /* Get the protocol object */ 43 protocol = @protocol (MyProtocol); 45 /* Ask to the protocol for the description of the method bycopyMethod */ 46 method = [protocol descriptionForClassMethod: @selector (bycopyMethod)]; 49 printf ("Could not find method bycopyMethod in protocol!\n");
|
| /openbsd-src/regress/sys/net/pf_divert/ |
| H A D | remote.pl | 65 my($af, $domain, $protocol); 72 $protocol = $args{protocol}; 73 $protocol = $protocol->({ %args, af => $af, domain => $domain, }) 74 if ref $protocol eq 'CODE'; 115 protocol => $protocol, 154 protocol => $protocol, 211 my $port = $protocol =~ /^(tcp|udp)$/ ? 217 print $pf "pass in log $af proto $protocol ". 222 my $port = $protocol =~ /^(tcp|udp)$/ ? 226 print $pf "pass out log $af proto $protocol ".
|
| H A D | Client.pm | 40 $self->{protocol} 44 $self->{connectport} || $self->{protocol} !~ /^(tcp|udp)$/ 58 Proto => $self->{protocol}, 70 Proto => $self->{protocol}, 96 Proto => $self->{protocol}, 113 if ($self->{protocol} eq "tcp") {
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/objc.dg/ |
| H A D | proto-lossage-3.m | 2 a protocol with no instance/class methods respectively. 9 @protocol NoInstanceMethods 13 @protocol NoClassMethods 20 [@protocol(NoInstanceMethods) descriptionForInstanceMethod: @selector(name)]; 21 [@protocol(NoInstanceMethods) descriptionForClassMethod: @selector(name)]; 22 [@protocol(NoClassMethods) descriptionForInstanceMethod: @selector(name)]; 23 [@protocol(NoClassMethods) descriptionForClassMethod: @selector(name)];
|
| H A D | fwd-proto-1.m | 8 @protocol Bar; 9 @protocol Boo; 11 @protocol Foo 13 - (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */ 16 @protocol Bar <Boo> 18 - (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */ 26 @protocol Boo <Bar> /* { /*dg*/-error "has circular dependency" } */
|
| H A D | proto-hier-1.m | 1 /* Test for handling of protocol hierarchies. */ 8 @protocol NSObj 12 @protocol NSCopying 24 @protocol Booing <NSObj> 28 @interface Boo: NSObject <Booing> // protocol has only one parent 35 @protocol Fooing <NSCopying, NSObj> // Fooing has two parent protocols 51 [stupidVar anotherMsg]; /* { dg-warning "not implemented by protocol" } */
|
| H A D | proto-lossage-1.m | 1 /* Test for situations in which protocol conformance information 9 @protocol NSObject 16 @protocol PlateMethods 38 int i = [plate1 someValue]; /* { dg-warning "not implemented by protocol" } */ 39 int j = [(id <NSObject>)plate1 someValue]; /* { dg-bogus "not implemented by protocol" } */ 40 int k = [(id)plate1 someValue]; /* { dg-bogus "not implemented by protocol" } */
|
| /openbsd-src/usr.sbin/dhcpd/ |
| H A D | icmp.c | 70 int protocol = 1, state; in icmp_startup() local 79 protocol = proto->p_proto; in icmp_startup() 82 if ((icmp_protocol_fd = socket(AF_INET, SOCK_RAW, protocol)) == -1) in icmp_startup() 129 icmp_echoreply(struct protocol *protocol) in icmp_echoreply() argument 140 status = recvfrom(protocol->fd, icbuf, sizeof(icbuf), 0, in icmp_echoreply() 159 if (protocol->local) { in icmp_echoreply() 161 protocol->local); in icmp_echoreply()
|
| /openbsd-src/lib/librthread/ |
| H A D | rthread_mutexattr.c | 73 pthread_mutexattr_setprotocol(pthread_mutexattr_t *attrp, int protocol) in pthread_mutexattr_setprotocol() argument 75 if (protocol < PTHREAD_PRIO_NONE || protocol > PTHREAD_PRIO_PROTECT) in pthread_mutexattr_setprotocol() 77 (*attrp)->ma_protocol = protocol; in pthread_mutexattr_setprotocol() 82 pthread_mutexattr_getprotocol(pthread_mutexattr_t *attrp, int *protocol) in pthread_mutexattr_getprotocol() argument 84 *protocol = (*attrp)->ma_protocol; in pthread_mutexattr_getprotocol()
|
| /openbsd-src/usr.sbin/dhcrelay6/ |
| H A D | dhcpd.h | 122 struct protocol { struct 123 struct protocol *next; argument 125 void (*handler)(struct protocol *); argument 155 void (*)(struct protocol *)); 157 void got_one(struct protocol *); 158 void add_protocol(char *, int, void (*)(struct protocol *), void *); 159 void remove_protocol(struct protocol *);
|
| /openbsd-src/usr.sbin/dhcrelay/ |
| H A D | dhcpd.h | 125 struct protocol { struct 126 struct protocol *next; argument 128 void (*handler)(struct protocol *); argument 158 void (*)(struct protocol *), int isserver); 160 void got_one(struct protocol *); 161 void add_protocol(char *, int, void (*)(struct protocol *), void *); 162 void remove_protocol(struct protocol *);
|
| /openbsd-src/etc/examples/ |
| H A D | relayd.conf | 39 http protocol https { 55 protocol https 65 protocol sshtcp { 73 protocol sshtcp 82 http protocol httpfilter { 109 protocol httpfilter
|
| /openbsd-src/gnu/usr.bin/perl/cpan/IO-Socket-IP/lib/IO/Socket/ |
| H A D | IP.pm | 83 This module provides a protocol-independent way to use IPv4 and IPv6 sockets, 239 The IP protocol to use for the socket (e.g. C<'tcp'>, C<IPPROTO_TCP>, 311 two listening sockets, one bound to each protocol. 446 defined $protonum or croak "Unrecognised protocol $proto"; 450 $hints{protocol} = $proto; 455 if( !defined $hints{socktype} and !defined $hints{protocol} ) { 457 $hints{protocol} = IPPROTO_TCP; 460 # Some OSes (NetBSD) don't seem to like just a protocol hint without a 462 if( !defined $hints{socktype} and defined $hints{protocol} ) { 463 $hints{socktype} = SOCK_STREAM if $hints{protocol} [all...] |
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | server.c | 2485 static struct buffer *protocol; variable 2857 protocol = fd_buffer_initialize (protocol_pipe[1], 0, 2907 buf_output0 (protocol, supported_response ("MT") ? "MT text " : "M "); 2908 buf_append_buffer (protocol, saved_output); 2909 buf_output (protocol, "\n", 1); 2910 buf_send_counted (protocol); 2919 buf_free (protocol); 3462 buf_output0 (protocol, server_dir); 3463 buf_output0 (protocol, "/"); 3466 buf_output0 (protocol, "."); [all …]
|
| /openbsd-src/usr.sbin/npppctl/ |
| H A D | parser.h | 32 enum protocol { enum 46 enum protocol protocol; member 52 enum protocol parse_protocol(const char *);
|
| /openbsd-src/etc/ |
| H A D | protocols | 4 # https://www.iana.org/assignments/protocol-numbers/protocol-numbers.txt 7 ip 0 IP HOPOPT # internet protocol, pseudo protocol number 8 icmp 1 ICMP # internet control message protocol 10 ggp 3 GGP # gateway-gateway protocol 13 tcp 6 TCP # transmission control protocol 15 egp 8 EGP # exterior gateway protocol 19 pup 12 PUP # PARC universal packet protocol 24 udp 17 UDP # user datagram protocol 27 hmp 20 HMP # host monitoring protocol 34 rdp 27 RDP # "reliable datagram" protocol [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/config/ |
| H A D | gdbserver.exp | 112 set protocol [target_info gdb_protocol]; 114 set protocol "remote"; 169 return [list $protocol $gdbport]; 211 set protocol [lindex $res 0] 219 gdb_target_cmd $protocol $gdbport
|
| /openbsd-src/gnu/usr.bin/perl/dist/IO/lib/IO/ |
| H A D | Socket.pm | 80 my($sock,$domain,$type,$protocol) = @_; 82 socket($sock,$domain,$type,$protocol) or 88 # "A value of 0 for protocol will let the system select an 89 # appropriate protocol" 92 ${*$sock}{'io_socket_proto'} = $protocol if $protocol; 99 my($class,$domain,$type,$protocol) = @_; 103 socketpair($sock1,$sock2,$domain,$type,$protocol) or 107 ${*$sock1}{'io_socket_proto'} = ${*$sock2}{'io_socket_proto'} = $protocol; 388 sub protocol { subroutine [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/IO-Socket-IP/t/ |
| H A D | 17gai-flags.t | 32 protocol => IPPROTO_TCP, 40 [ undef, "80", { flags => AI_PASSIVE|$AI_ADDRCONFIG, socktype => SOCK_STREAM, protocol => IPPROTO_TCP } ], 52 protocol => IPPROTO_TCP, 60 [ undef, "80", { flags => AI_PASSIVE|AI_NUMERICSERV, socktype => SOCK_STREAM, protocol => IPPROTO_TCP } ],
|