/openbsd-current/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-current/gnu/usr.bin/perl/cpan/Socket/ |
H A D | Socket.pm | 137 IP protocol constants to use as the third argument to socket(), the level 357 protocol and port number, and then returns a list of address structures 364 Given just a service name, this function attempts to resolve it to a protocol 388 =item protocol => INT 390 Restrict to only generating addresses for this protocol 414 =item protocol => INT 416 The protocol (e.g. C<IPPROTO_TCP>) 579 $candidate->socket($ai->{family}, $ai->{socktype}, $ai->{protocol}) 654 socket type and protocol. Without this most OSes return three combinations, 979 my ( $family, $socktype, $protocol, [all...] |
/openbsd-current/usr.sbin/relayd/ |
H A D | relay_udp.c | 47 struct protocol *); 70 struct protocol *proto = rlay->rl_proto; 83 fatalx("unsupported udp protocol"); 90 struct protocol *proto) 109 struct protocol *proto) 181 struct protocol *proto = rlay->rl_proto; 215 struct protocol *proto = rlay->rl_proto;
|
H A D | relayd.h | 231 /* protocol-specific descriptor */ 731 struct protocol { struct 765 TAILQ_ENTRY(protocol) entry; 767 TAILQ_HEAD(protolist, protocol); 820 struct protocol *rl_proto; 1111 struct protocol sc_proto_default; 1245 int relay_test(struct protocol *, struct ctl_relay_event *); 1274 struct protocol *); 1318 struct protocol *proto_find(struct relayd *, objid_t); 1368 int rule_add(struct protocol *, struc [all...] |
H A D | relay.c | 64 struct protocol *, int, int); 66 struct protocol *); 68 struct protocol *, int); 269 struct protocol *proto = rlay->rl_proto; 272 fprintf(stderr, "protocol %d: name %s\n", 540 struct protocol *proto, int fd, int reuseport) 642 struct protocol *proto, int fd) 663 struct protocol *proto) 688 struct protocol *proto = rlay->rl_proto; 758 fatalx("%s: unknown protocol", __func_ [all...] |
/openbsd-current/sys/arch/alpha/alpha/ |
H A D | dec_6600.c | 202 diskboot = (strncasecmp(b->protocol, "SCSI", 4) == 0) || 203 (strncasecmp(b->protocol, "IDE", 3) == 0); 204 netboot = (strncasecmp(b->protocol, "BOOTP", 5) == 0) || 205 (strncasecmp(b->protocol, "MOP", 3) == 0);
|
H A D | dec_2100_a50.c | 194 diskboot = (strncasecmp(b->protocol, "SCSI", 4) == 0); 195 netboot = (strncasecmp(b->protocol, "BOOTP", 5) == 0) || 196 (strncasecmp(b->protocol, "MOP", 3) == 0);
|
/openbsd-current/gnu/llvm/lldb/examples/interposing/darwin/fd_interposing/ |
H A D | FDInterposing.cpp | 527 extern "C" int socket$__interposed__(int domain, int type, int protocol) { argument 531 const int fd = ::socket(domain, type, protocol); 535 description_sp->printf("pid=%i: socket (domain = %i, type = %i, protocol " 537 pid, domain, type, protocol, fd, 541 "pid=%i: socket (domain = %i, type = %i, protocol = %i) => fd=%i", 542 pid, domain, type, protocol, fd); 549 return ::socket(domain, type, protocol); 554 extern "C" int socketpair$__interposed__(int domain, int type, int protocol, argument 561 const int err = socketpair(domain, type, protocol, fds); 564 new String("pid=%i: socketpair (domain=%i, type=%i, protocol [all...] |
/openbsd-current/sys/net/ |
H A D | pipex.c | 318 session->protocol = req->pr_protocol; 379 /* protocol options */ 438 if (pipex_lookup_by_session_id_locked(session->protocol, 468 switch (session->protocol) { 509 switch (session->protocol) { 668 pipex_lookup_by_session_id_locked(int protocol, int session_id) argument 677 if (session->protocol == protocol && 693 pipex_lookup_by_session_id(int protocol, int session_id) argument 699 session = pipex_lookup_by_session_id_locked(protocol, session_i 2597 pipex_mppe_output(struct mbuf *m0, struct pipex_session *session, uint16_t protocol) argument 2603 uint16_t protocol; member in struct:mppe_header [all...] |
H A D | if_pflow.c | 216 pflowif->sc_tmpl_ipfix.ipv4_tmpl.protocol.field_id = 218 pflowif->sc_tmpl_ipfix.ipv4_tmpl.protocol.len = htons(1); 258 pflowif->sc_tmpl_ipfix.ipv6_tmpl.protocol.field_id = 260 pflowif->sc_tmpl_ipfix.ipv6_tmpl.protocol.len = htons(1); 755 flow1->protocol = flow2->protocol = sk->proto; 792 flow1->protocol = flow2->protocol = sk->proto; 831 flow1->protocol = flow2->protocol [all...] |
/openbsd-current/usr.sbin/npppctl/ |
H A D | parser.c | 87 { KEYWORD, "protocol", CLEAR_SESSION, t_protocol }, 98 { KEYWORD, "protocol", MONITOR_SESSION, t_protocol }, 109 { KEYWORD, "protocol", NONE, t_protocol }, 247 if ((res.protocol = parse_protocol(word)) == 322 enum protocol
|
/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | privsep.c | 68 int protocol; member in struct:PRIVSEP_SOCKET_ARG 249 priv_socket(int domain, int type, int protocol) argument 255 a.protocol = protocol; 618 a->protocol)) == -1) 1018 arg->protocol == AF_UNSPEC) 1023 arg->protocol == IPPROTO_GRE) 1028 arg->protocol == PF_KEY_V2)
|
H A D | parse.y | 215 n->protocol = $4; 220 switch (curr_tunnconf->protocol) { 272 curr_tunnconf->protocol)); 293 switch (curr_tunnconf->protocol) { 329 "for specified protocol.\n"); 334 switch (curr_tunnconf->protocol) { 343 "for specified protocol.\n"); 1168 { "protocol", PROTOCOL}, 1559 switch (tun->protocol) { 1606 tunnconf_init(struct tunnconf *tun, int protocol) [all...] |
/openbsd-current/usr.sbin/pppd/ |
H A D | fsm.c | 327 f->protocol)); 335 f->protocol)); 340 f->protocol)); 347 f->protocol, f->state)); 427 * to protocol-specific code for checking. 687 * fsm_protreject - Peer doesn't speak this protocol. 811 MAKEHEADER(outp, f->protocol);
|
/openbsd-current/lib/libc/rpc/ |
H A D | svc.c | 293 int protocol) 314 if (protocol) { 315 return (pmap_set(prog, vers, protocol, xprt->xp_port)); 292 svc_register(SVCXPRT *xprt, u_long prog, u_long vers, void (*dispatch)(), int protocol) argument
|
/openbsd-current/gnu/usr.bin/gcc/contrib/ |
H A D | gcc_build | 67 [-p protocol] 217 # The CVS protocol to use.
|
/openbsd-current/usr.sbin/eigrpd/ |
H A D | eigrp.h | 19 /* EIGRP protocol definitions */ 175 uint8_t protocol; member in struct:classic_emetric
|
/openbsd-current/usr.bin/ldap/ |
H A D | aldap.h | 94 int protocol; member in struct:aldap_url
|
/openbsd-current/libexec/login_ldap/ |
H A D | aldap.h | 96 int protocol; member in struct:aldap_url
|
/openbsd-current/usr.sbin/ypldap/ |
H A D | aldap.h | 97 int protocol; member in struct:aldap_url
|
/openbsd-current/sys/dev/pckbc/ |
H A D | pms.c | 175 const struct pms_protocol *protocol; member in struct:pms_softc 225 * ALPS protocol. 229 { 0x7326, 0, 0 }, /* XXX Uses unknown v3 protocol */ 549 sc->protocol = &pms_protocols[0]; 553 sc->protocol = &pms_protocols[i]; 558 DPRINTF("%s: protocol type %d\n", DEVNAME(sc), sc->protocol->type); 676 switch (sc->protocol->type) { 702 if (sc->protocol->type == PMS_INTELLI) 770 /* See if the device understands an extended (touchpad) protocol [all...] |
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/lib/ |
H A D | mi-support.exp | 449 set protocol [lindex $res 0] 452 if { [mi_gdb_target_cmd $protocol $gdbport] != 0 } { 475 } elseif { [target_info protocol] == "sim" } {
|
/openbsd-current/gnu/usr.bin/gcc/gcc/objc/ |
H A D | objc-act.c | 185 class_names, /* class, category, protocol, module names */ 548 ; /* An identifier...if we could not find a protocol. */ 565 /* Make sure the protocol is supported by the object on the rhs. */ 588 ; /* An identifier...if we could not find a protocol. */ 606 Warnings about classes/protocols not implementing a protocol are 645 <Protocol>'; make sure the protocol on the lhs is 655 ("object does not conform to the `%s' protocol", 664 protocol on the lhs is supported by the object on 667 /* Check if the protocol on the lhs is supported by the 677 /* Check failed - check if the protocol o 6460 tree protocol = make_node (PROTOCOL_INTERFACE_TYPE); local 6478 tree protocol; local [all...] |
/openbsd-current/usr.sbin/ldapd/ |
H A D | parse.y | 126 %type <v.number> port ssl boolean comp_level legacy protocol 150 protocol : /* empty */ { $$ = 0; } label 156 ssl : legacy protocol { $$ = $1 | $2; } 1235 u_int8_t protocol) 1265 if (protocol & F_LEGACY) {
|
/openbsd-current/usr.sbin/tcpdump/ |
H A D | addrtoname.c | 23 * Internet, ethernet, port, and protocol string to address 642 char protocol[BUFSIZ]; local 645 while (priv_getserventry(service, sizeof(service), &port, protocol, 646 sizeof(protocol)) != 0) { 649 if (strcmp(protocol, "tcp") == 0) 651 else if (strcmp(protocol, "udp") == 0)
|