/freebsd-10.3-release/lib/libkse/thread/ |
H A D | thr_mutex_protocol.c | 47 _pthread_mutexattr_getprotocol(pthread_mutexattr_t *mattr, int *protocol) argument 54 *protocol = (*mattr)->m_protocol; 60 _pthread_mutexattr_setprotocol(pthread_mutexattr_t *mattr, int protocol) argument 65 (protocol < PTHREAD_PRIO_NONE) || (protocol > PTHREAD_PRIO_PROTECT)) 68 (*mattr)->m_protocol = protocol;
|
/freebsd-10.3-release/contrib/ipfilter/rules/ |
H A D | ipmon.conf | 11 match { protocol = udp, result = block; } 14 match { protocol = tcp, result = block, dstport = 25; } 23 protocol = udp, srcip = 10.1.0.0/16, dstip = 192.168.1.0/24; }
|
/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/net/getaddrinfo/ |
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 [all...] |
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 | 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 [all...] |
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_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
|
H A D | unsup_fam.exp | 1 arg: flags 0x2 family 99 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
|
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 [all...] |
H A D | scoped.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host fe80::1%lo0 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host fe80::1%lo0 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host fe80::1%lo0 serv http
|
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 [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 [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 [all...] |
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 5 [all...] |
/freebsd-10.3-release/crypto/heimdal/appl/gssmask/ |
H A D | Makefile.am | 7 gssmask_SOURCES = gssmask.c common.c common.h protocol.h 9 gssmaestro_SOURCES = gssmaestro.c common.c common.h protocol.h
|
/freebsd-10.3-release/share/examples/printing/ |
H A D | netprint | 14 ($ignore, $ignore, $protocol) = getprotobyname('tcp'); 20 socket(PRINTER, &PF_INET, &SOCK_STREAM, $protocol)
|
/freebsd-10.3-release/tools/regression/sockets/fstat/ |
H A D | fstat.c | 43 dotest(int domain, int type, int protocol) argument 48 sock = socket(domain, type, protocol); 50 err(-1, "socket(%d, %d, %d)", domain, type, protocol); 54 protocol);
|
/freebsd-10.3-release/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 46 int *protocol, 61 *protocol = protoent->p_proto; 70 *protocol = IPPROTO_TCP; 74 *protocol = IPPROTO_UDP; 80 *protocol = IPPROTO_TCP; 84 *protocol = IPPROTO_UDP; 104 add_one (int port, int protocol, int socktype, argument 119 a->ai_protocol = protocol; 181 int port, int protocol, int socktype, 210 ret = add_one (port, protocol, socktyp 43 get_port_protocol_socktype(const char *servname, const struct addrinfo *hints, int *port, int *protocol, int *socktype) argument 180 get_null(const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 223 add_hostent(int port, int protocol, int socktype, struct addrinfo ***current, int (*func)(struct addrinfo *, void *data, int port), struct hostent *he, int *flags) argument 271 get_number(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 311 get_nodes(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 376 int protocol = 0; local [all...] |
/freebsd-10.3-release/contrib/ofed/libsdp/src/ |
H A D | socket.c | 89 int protocol 134 fprintf(fd, "SOCKET: <%s> domain <%d> type <%d> protocol <%d>\n", 135 program_invocation_short_name, domain, type, protocol); 144 call[2] = protocol; 164 return orig_socket(domain, type, protocol);
|
/freebsd-10.3-release/lib/libc/rpc/ |
H A D | pmap_clnt.c | 63 pmap_set(u_long program, u_long version, int protocol, int port) argument 70 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP)) { 73 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp");
|
H A D | pmap_getport.c | 69 pmap_getport(address, program, version, protocol) 73 u_int protocol; 88 parms.pm_prot = protocol;
|
/freebsd-10.3-release/contrib/tcp_wrappers/ |
H A D | inetcf.c | 65 char *protocol; local 113 protocol = strtok((char *) 0, whitespace); 155 inet_chk(protocol, path, arg0, arg1); 164 static void inet_chk(protocol, path, arg0, arg1) 165 char *protocol; 271 if (wrap_status == WR_YES && STR_EQ(protocol, "rpc/tcp"))
|
/freebsd-10.3-release/lib/libthr/thread/ |
H A D | thr_mutexattr.c | 199 _pthread_mutexattr_getprotocol(pthread_mutexattr_t *mattr, int *protocol) argument 206 *protocol = (*mattr)->m_protocol; 212 _pthread_mutexattr_setprotocol(pthread_mutexattr_t *mattr, int protocol) argument 217 (protocol < PTHREAD_PRIO_NONE) || (protocol > PTHREAD_PRIO_PROTECT)) 220 (*mattr)->m_protocol = protocol;
|
/freebsd-10.3-release/sys/dev/isci/scil/ |
H A D | sati_passthrough.c | 241 * @brief This method will verify that the T_DIR bit matches the protocol bit. 256 if ((sequence->protocol == PASSTHROUGH_PIO_DATA_IN) || 257 (sequence->protocol == PASSTHROUGH_UDMA_DATA_IN)) 268 else if ((sequence->protocol == PASSTHROUGH_PIO_DATA_OUT) || 269 (sequence->protocol == PASSTHROUGH_UDMA_DATA_OUT)) 319 sequence->protocol = PASSTHROUGH_CDB_PROTOCOL (cdb); 323 * CAM will send passthrough commands with protocol set to multiword 330 if (sequence->protocol == PASSTHROUGH_DMA) 334 sequence->protocol = PASSTHROUGH_UDMA_DATA_IN; 338 sequence->protocol [all...] |
/freebsd-10.3-release/sys/dev/iscsi/ |
H A D | icl_proxy.c | 109 int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa); 110 static int icl_listen_add_rdma(struct icl_listen *il, int domain, int socktype, int protocol, 116 int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa) 122 error = socreate(domain, &so, socktype, protocol, 171 int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa) 176 return (icl_conn_connect_rdma(ic, domain, socktype, protocol, from_sa, to_sa)); 183 return (icl_conn_connect_tcp(ic, domain, socktype, protocol, from_sa, to_sa)); 279 * reference count. Otherwise, if the protocol calls sofree(), 310 int protocol, struct sockaddr *sa, int portal_id) 317 error = socreate(domain, &so, socktype, protocol, 115 icl_conn_connect_tcp(struct icl_conn *ic, int domain, int socktype, int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa) argument 170 icl_conn_connect(struct icl_conn *ic, bool rdma, int domain, int socktype, int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa) argument 309 icl_listen_add_tcp(struct icl_listen *il, int domain, int socktype, int protocol, struct sockaddr *sa, int portal_id) argument 373 icl_listen_add(struct icl_listen *il, bool rdma, int domain, int socktype, int protocol, struct sockaddr *sa, int portal_id) argument [all...] |