Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/openbsd/regress/lib/libc/getaddrinfo/
H A Danswer2 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
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
16 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv echo
17 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 7
18 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 7
[all …]
/openbsd/regress/lib/libssl/ssl/
H A Dtestssl56 for protocol in SSLv3 TLSv1.2; do
57 echo "Testing ciphersuites for $protocol"
59 awk "/ $protocol / { print \\$1 }"`; do
68 for protocol in TLSv1.3; do
70 for cipher in `$openssl ciphers -v "$protocol" |
71 awk "/ $protocol / { print \\$1 }"`; do
80 for protocol in TLSv1.3; do
83 awk "/ $protocol / { print \\$1 }"`; do
131 for protocol in SSLv3; do
132 echo "Testing ciphersuites for $protocol"
[all …]
/openbsd/regress/lib/libssl/client/
H A Dclienttest.c342 const int protocol; member
354 .protocol = DTLS1_VERSION,
373 .protocol = DTLS1_VERSION,
388 .protocol = TLS1_VERSION,
395 .protocol = TLS1_1_VERSION,
402 .protocol = TLS1_2_VERSION,
408 .protocol = TLS1_3_VERSION,
417 .protocol = TLS1_2_VERSION,
433 .protocol = TLS1_3_VERSION,
442 .protocol = TLS1_3_VERSION,
[all …]
/openbsd/regress/usr.sbin/relayd/
H A DRelayd.pm38 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";
89 foreach (@protocol) {
92 print $fh map { "\n\t$_" } @protocol;
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/objc/execute/
H A Dformal_protocol-5.m5 /* 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 Dformal_protocol-6.m5 /* 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 Dbycopy-3.m17 @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/regress/sys/net/pf_divert/
H A Dremote.pl65 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 DClient.pm40 $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/gnu/usr.bin/gcc/gcc/testsuite/objc.dg/
H A Dproto-lossage-3.m2 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 Dfwd-proto-1.m8 @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 Dproto-hier-1.m1 /* 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 Dproto-lossage-1.m1 /* 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/usr.sbin/dhcpd/
H A Dicmp.c70 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/lib/librthread/
H A Drthread_mutexattr.c73 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/usr.sbin/dhcrelay6/
H A Ddhcpd.h122 struct protocol { struct
123 struct protocol *next; argument
125 void (*handler)(struct protocol *); argument
156 void (*)(struct protocol *));
158 void got_one(struct protocol *);
159 void add_protocol(char *, int, void (*)(struct protocol *), void *);
160 void remove_protocol(struct protocol *);
/openbsd/usr.sbin/dhcrelay/
H A Ddhcpd.h125 struct protocol { struct
126 struct protocol *next; argument
128 void (*handler)(struct protocol *); argument
164 void (*)(struct protocol *), int isserver);
166 void got_one(struct protocol *);
167 void add_protocol(char *, int, void (*)(struct protocol *), void *);
168 void remove_protocol(struct protocol *);
/openbsd/etc/examples/
H A Drelayd.conf39 http protocol https {
55 protocol https
65 protocol sshtcp {
73 protocol sshtcp
82 http protocol httpfilter {
109 protocol httpfilter
/openbsd/gnu/usr.bin/perl/cpan/IO-Socket-IP/lib/IO/Socket/
H A DIP.pm458 $hints{protocol} = $proto;
463 if( !defined $hints{socktype} and !defined $hints{protocol} ) {
465 $hints{protocol} = IPPROTO_TCP;
470 if( !defined $hints{socktype} and defined $hints{protocol} ) {
471 $hints{socktype} = SOCK_STREAM if $hints{protocol} == IPPROTO_TCP;
472 $hints{socktype} = SOCK_DGRAM if $hints{protocol} == IPPROTO_UDP;
577 next if defined $local->{protocol} and defined $peer->{protocol} and
578 $local->{protocol} != $peer->{protocol};
582 my $protocol = $local->{protocol} || $peer->{protocol} || 0;
587 protocol => $protocol,
[all …]
/openbsd/gnu/usr.bin/cvs/src/
H A Dserver.c2919 buf_free (protocol);
3463 buf_output0 (protocol, "/");
3466 buf_output0 (protocol, ".");
3589 buf_output0 (protocol,
3591 buf_send_counted (protocol);
3615 buf_output0 (protocol, in new_entries_line()
4272 (*protocol->memory_error) (protocol);
6498 buf_send_counted (protocol);
6542 buf = protocol;
6628 buf_send_counted (protocol);
[all …]
/openbsd/usr.sbin/npppctl/
H A Dparser.h32 enum protocol { enum
46 enum protocol protocol; member
52 enum protocol parse_protocol(const char *);
/openbsd/etc/
H A Dprotocols4 # https://www.iana.org/assignments/protocol-numbers/protocol-numbers.txt
7 ip 0 IP HOPOPT # internet protocol, pseudo protocol number
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
67 any 61 any # host internal protocol
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/config/
H A Dgdbserver.exp112 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/gnu/usr.bin/perl/cpan/IO-Socket-IP/t/
H A D17gai-flags.t33 protocol => IPPROTO_TCP,
41 …f, "80", { flags => AI_PASSIVE|$AI_ADDRCONFIG, socktype => SOCK_STREAM, protocol => IPPROTO_TCP } …
53 protocol => IPPROTO_TCP,
61 …f, "80", { flags => AI_PASSIVE|AI_NUMERICSERV, socktype => SOCK_STREAM, protocol => IPPROTO_TCP } …
/openbsd/gnu/usr.bin/perl/dist/IO/lib/IO/
H A DSocket.pm80 my($sock,$domain,$type,$protocol) = @_;
82 socket($sock,$domain,$type,$protocol) or
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

12345678910>>...24