/freebsd-10.0-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.0-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.0-release/share/examples/printing/ |
H A D | netprint | 14 ($ignore, $ignore, $protocol) = getprotobyname('tcp'); 20 socket(PRINTER, &PF_INET, &SOCK_STREAM, $protocol)
|
/freebsd-10.0-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.0-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...] |
H A D | getaddrinfo_hostspec.c | 55 int protocol; member in struct:hst 72 hints.ai_protocol = hstp->protocol;
|
/freebsd-10.0-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.0-release/lib/libc/rpc/ |
H A D | pmap_clnt.c | 64 pmap_set(u_long program, u_long version, int protocol, int port) argument 71 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP)) { 74 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp");
|
H A D | pmap_getport.c | 70 pmap_getport(address, program, version, protocol) 74 u_int protocol; 89 parms.pm_prot = protocol;
|
/freebsd-10.0-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...] |
H A D | sati_atapi.c | 106 //set sat protocol. 108 sequence->protocol = SAT_PROTOCOL_PACKET_NON_DATA; 110 sequence->protocol = SAT_PROTOCOL_PACKET_DMA_DATA_IN; 112 sequence->protocol = SAT_PROTOCOL_PACKET_DMA_DATA_OUT; 140 //set the sequence->protocol to DATA_IN anyway; 141 sequence->protocol = SAT_PROTOCOL_PACKET_DMA_DATA_IN;
|
H A D | sati_synchronize_cache.c | 100 sequence->protocol = SAT_PROTOCOL_NON_DATA;
|
H A D | sati_move.c | 108 * count extended field. This method also sets protocol and 136 sequence->protocol = SAT_PROTOCOL_UDMA_DATA_IN; 138 sequence->protocol = SAT_PROTOCOL_UDMA_DATA_OUT; 145 * This method also sets protocol and command fields. 172 sequence->protocol = SAT_PROTOCOL_UDMA_DATA_IN; 174 sequence->protocol = SAT_PROTOCOL_UDMA_DATA_OUT; 416 * - the SATI_TRANSLATOR_SEQUENCE::protocol field is set 442 sequence->protocol = SAT_PROTOCOL_FPDMA; 532 sequence->protocol = SAT_PROTOCOL_FPDMA;
|
/freebsd-10.0-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"))
|
H A D | rfc931.c | 46 static FILE *fsocket(domain, type, protocol) 49 int protocol; 54 if ((s = socket(domain, type, protocol)) < 0) { 219 * protocol, not part of the data.
|
/freebsd-10.0-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.0-release/sys/dev/iscsi/ |
H A D | icl_proxy.c | 107 int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa); 108 static int icl_listen_add_rdma(struct icl_listen *il, int domain, int socktype, int protocol, 114 int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa) 120 error = socreate(domain, &so, socktype, protocol, 169 int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa) 174 return (icl_conn_connect_rdma(ic, domain, socktype, protocol, from_sa, to_sa)); 181 return (icl_conn_connect_tcp(ic, domain, socktype, protocol, from_sa, to_sa)); 277 * reference count. Otherwise, if the protocol calls sofree(), 306 icl_listen_add_tcp(struct icl_listen *il, int domain, int socktype, int protocol, argument 314 error = socreate(domain, &so, socktype, protocol, 113 icl_conn_connect_tcp(struct icl_conn *ic, int domain, int socktype, int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa) argument 168 icl_conn_connect(struct icl_conn *ic, bool rdma, int domain, int socktype, int protocol, struct sockaddr *from_sa, struct sockaddr *to_sa) argument 369 icl_listen_add(struct icl_listen *il, bool rdma, int domain, int socktype, int protocol, struct sockaddr *sa) argument [all...] |
/freebsd-10.0-release/sys/compat/svr4/ |
H A D | svr4_sockmod.h | 58 int protocol; member in struct:svr4_si_sockparms
|
/freebsd-10.0-release/usr.sbin/nscd/ |
H A D | Makefile | 8 config.c query.c mp_ws_query.c mp_rs_query.c singletons.c protocol.c \
|
/freebsd-10.0-release/sys/dev/streams/ |
H A D | streams.c | 194 int family, type, protocol; local 204 protocol = IPPROTO_UDP; 210 protocol = IPPROTO_TCP; 217 protocol = IPPROTO_IP; 223 protocol = IPPROTO_ICMP; 229 protocol = 0; 236 protocol = 0; 251 error = socreate(family, &so, type, protocol, td->td_ucred, td);
|
/freebsd-10.0-release/contrib/apr/network_io/unix/ |
H A D | sockets.c | 52 static void set_socket_vars(apr_socket_t *sock, int family, int type, int protocol) argument 55 sock->protocol = protocol; 85 apr_status_t apr_socket_protocol_get(apr_socket_t *sock, int *protocol) argument 87 *protocol = sock->protocol; 92 int protocol, apr_pool_t *cont) 111 (*new)->socketdes = socket(family, type|flags, protocol); 113 /* For some reason BeOS R5 has an unconventional protocol numbering, 115 switch (protocol) { 91 apr_socket_create(apr_socket_t **new, int ofamily, int type, int protocol, apr_pool_t *cont) argument [all...] |
/freebsd-10.0-release/lib/libipsec/ |
H A D | policy_parse.y | 42 * protocol/mode/src-dst/level 43 * protocol/mode/src-dst parsed as protocol/mode/src-dst/default 44 * protocol/mode/src-dst/ parsed as protocol/mode/src-dst/default 45 * protocol/transport parsed as protocol/mode/any-any/default 46 * protocol/transport//level parsed as protocol/mode/any-any/level 147 : protocol SLAS [all...] |
/freebsd-10.0-release/sys/security/mac_portacl/ |
H A D | mac_portacl.c | 137 * idtype:id:protocol:portnumber, and constitutes granting of permission 182 char *idtype, *id, *protocol, *portnumber, *p; local 212 protocol = strsep(&element, ":"); 213 if (protocol == NULL) { 217 if (strcmp(protocol, TCP_STRING) == 0) 219 else if (strcmp(protocol, UDP_STRING) == 0) 277 const char *idtype, *protocol; 292 protocol = TCP_STRING; 295 protocol = UDP_STRING; 298 panic("rule_printf: unknown protocol ( [all...] |
/freebsd-10.0-release/contrib/wpa/src/l2_packet/ |
H A D | l2_packet.h | 47 * @protocol: Ethernet protocol number in host byte order 60 const char *ifname, const u8 *own_addr, unsigned short protocol,
|
/freebsd-10.0-release/usr.bin/iscsictl/ |
H A D | token.l | 64 protocol { return PROTOCOL; }
|