Home
last modified time | relevance | path

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

12345678910>>...13

/onnv-gate/usr/src/lib/libsocket/socket/
H A Dsocket.c56 _socket(int family, int type, int protocol) in _socket() argument
58 return (_socket_create(family, type, protocol, SOV_DEFAULT)); in _socket()
65 _socket_bsd(int family, int type, int protocol) in _socket_bsd() argument
67 return (_socket_create(family, type, protocol, SOV_SOCKBSD)); in _socket_bsd()
71 _socket_svr4(int family, int type, int protocol) in _socket_svr4() argument
73 return (_socket_create(family, type, protocol, SOV_SOCKSTREAM)); in _socket_svr4()
77 __xnet_socket(int family, int type, int protocol) in __xnet_socket() argument
79 return (_socket_create(family, type, protocol, SOV_XPG4_2)); in __xnet_socket()
93 _socket_create(int family, int type, int protocol, int version) in _socket_create() argument
107 fd = _so_socket(family, type, protocol, NULL, version); in _socket_create()
[all …]
H A Dsocketpair.c59 _socketpair(int family, int type, int protocol, int sv[2]) in _socketpair() argument
61 return (_socketpair_create(family, type, protocol, sv, SOV_DEFAULT)); in _socketpair()
68 _socketpair_bsd(int family, int type, int protocol, int sv[2]) in _socketpair_bsd() argument
70 return (_socketpair_create(family, type, protocol, sv, SOV_SOCKBSD)); in _socketpair_bsd()
74 _socketpair_svr4(int family, int type, int protocol, int sv[2]) in _socketpair_svr4() argument
76 return (_socketpair_create(family, type, protocol, sv, in _socketpair_svr4()
81 __xnet_socketpair(int family, int type, int protocol, int sv[2]) in __xnet_socketpair() argument
83 return (_socketpair_create(family, type, protocol, sv, in __xnet_socketpair()
88 _socketpair_create(int family, int type, int protocol, int sv[2], int version) in _socketpair_create() argument
97 fd1 = _socket_create(family, type, protocol, version); in _socketpair_create()
[all …]
/onnv-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetservent.c118 ns_ldap_attr_t *names = NULL, *protocol = NULL; in _nss_ldap_services2str() local
182 protocol = __ns_ldap_getAttrStruct(result->entry, _S_PROTOCOL); in _nss_ldap_services2str()
183 if (protocol == NULL || protocol->attrvalue == NULL) { in _nss_ldap_services2str()
193 protoval = protocol->attrvalue[cookie->index++]; in _nss_ldap_services2str()
194 } else if (protocol->value_count > 1 && be->setcalled == 0 && in _nss_ldap_services2str()
203 for (k = 0; k < protocol->value_count; k++) { in _nss_ldap_services2str()
204 if (protocol->attrvalue[k] == NULL) { in _nss_ldap_services2str()
208 if (strcmp(protocol->attrvalue[k], in _nss_ldap_services2str()
210 protoval = protocol->attrvalue[k]; in _nss_ldap_services2str()
227 protoval = protocol->attrvalue[0]; in _nss_ldap_services2str()
[all …]
H A Dgetprotoent.c50 char *protocol; member
97 get_alias(char *protocol) { in get_alias() argument
101 if (strncmp(protocol, "ip", 2) == 0) { in get_alias()
102 for (i = 0; ip_aliases[i].protocol != NULL; i++) { in get_alias()
103 if (strcmp(protocol, ip_aliases[i].protocol) == 0) in get_alias()
109 for (cp = protocol; *cp; cp++) in get_alias()
112 return (protocol); in get_alias()
115 for (cp = protocol; *cp; cp++) in get_alias()
118 return (protocol); in get_alias()
/onnv-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c67 has_protocol(sa_group_t group, char *protocol) in has_protocol() argument
72 optionset = sa_get_optionset(group, protocol); in has_protocol()
456 notify_or_enable_share(sa_share_t share, char *protocol) in notify_or_enable_share() argument
488 (protocol != NULL && strcmp(groupproto, protocol) != 0)) { in notify_or_enable_share()
1061 check_valid_group(sa_group_t group, char *groupname, char *protocol) in check_valid_group() argument
1064 if (protocol != NULL) { in check_valid_group()
1065 if (has_protocol(group, protocol)) { in check_valid_group()
1069 protocol); in check_valid_group()
1072 strcmp(protocol, "nfs") != 0) { in check_valid_group()
1096 enforce_featureset(sa_group_t group, char *protocol, boolean_t dryrun, in enforce_featureset() argument
[all …]
/onnv-gate/usr/src/lib/libc/port/threads/
H A Dpthr_mutex.c45 ap->protocol = PTHREAD_PRIO_NONE; in pthread_mutexattr_init()
137 pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, int protocol) in pthread_mutexattr_setprotocol() argument
143 if (protocol != PTHREAD_PRIO_NONE && in pthread_mutexattr_setprotocol()
144 protocol != PTHREAD_PRIO_INHERIT && in pthread_mutexattr_setprotocol()
145 protocol != PTHREAD_PRIO_PROTECT) in pthread_mutexattr_setprotocol()
147 ap->protocol = protocol; in pthread_mutexattr_setprotocol()
156 pthread_mutexattr_getprotocol(const pthread_mutexattr_t *attr, int *protocol) in pthread_mutexattr_getprotocol() argument
161 protocol == NULL) in pthread_mutexattr_getprotocol()
163 *protocol = ap->protocol; in pthread_mutexattr_getprotocol()
221 type = ap->pshared | ap->type | ap->protocol | ap->robustness; in pthread_mutex_init()
[all …]
/onnv-gate/usr/src/cmd/cmd-inet/etc/
H A Dprotocols29 ip 0 IP # internet protocol, pseudo protocol number
30 icmp 1 ICMP # internet control message protocol
32 ggp 3 GGP # gateway-gateway protocol
34 tcp 6 TCP # transmission control protocol
36 egp 8 EGP # exterior gateway protocol
38 pup 12 PUP # PARC universal packet protocol
39 udp 17 UDP # user datagram protocol
41 hmp 20 HMP # host monitoring protocol
43 rdp 27 RDP # "reliable datagram" protocol
66 ipv6-icmp 58 IPv6-ICMP # IPv6 internet control message protocol
/onnv-gate/usr/src/common/openssl/doc/ssl/
H A DSSL_CTX_set_msg_callback.pod5 …, SSL_set_msg_callback, SSL_get_msg_callback_arg - install callback for observing protocol messages
21 protocol messages (such as handshake messages) that are received or
32 When I<cb> is called by the SSL/TLS library for a protocol message,
39 This flag is B<0> when a protocol message has been received and B<1>
40 when a protocol message has been sent.
44 The protocol version according to which the protocol message is
53 protocol specification (B<change_cipher_spec(20)>, B<alert(21)>,
55 callback will only be called for protocol messages).
59 I<buf> points to a buffer containing the protocol message, which
80 If processing a received protocol message results in an error,
[all …]
H A DSSL_get_version.pod5 SSL_get_version - get the protocol version of a connection.
15 SSL_get_cipher_version() returns the name of the protocol used for the
26 The connection uses the SSLv2 protocol.
30 The connection uses the SSLv3 protocol.
34 The connection uses the TLSv1 protocol.
/onnv-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp331 int family, int socktype, int protocol) in CreateSocket() argument
333 int s = socket(family, socktype, protocol); in CreateSocket()
371 int family, int socktype, int protocol) in ConnectSocket() argument
383 hints.ai_protocol = protocol; in ConnectSocket()
421 int family, int socktype, int protocol, in CreateServerSocket() argument
430 family, socktype, protocol, in CreateServerSocket()
437 int family, int socktype, int protocol, in CreateServerSocket() argument
446 family, socktype, protocol, in CreateServerSocket()
459 int family, int socktype, int protocol, in CreateServerSockets() argument
468 family, socktype, protocol, in CreateServerSockets()
[all …]
H A DATNetworkTool.h399 int socktype = SOCK_STREAM, int protocol = 0);
429 int socktype = SOCK_STREAM, int protocol = 0,
436 int socktype = SOCK_STREAM, int protocol = 0,
455 int socktype = SOCK_STREAM, int protocol = 0,
461 int socktype = SOCK_STREAM, int protocol = 0,
474 int socktype = SOCK_STREAM, int protocol = 0);
498 int socktype = SOCK_STREAM, int protocol = 0);
512 int socktype = SOCK_STREAM, int protocol = 0);
516 int socktype = SOCK_STREAM, int protocol = 0);
529 int socktype = SOCK_STREAM, int protocol = 0);
[all …]
/onnv-gate/usr/src/uts/common/fs/sockfs/
H A Dsockparams.c185 sockparams_create(int family, int type, int protocol, char *modname, in sockparams_create() argument
210 sp->sp_protocol = protocol; in sockparams_create()
359 sockparams_find(list_t *list, int family, int type, int protocol, in sockparams_find() argument
366 if (sp->sp_protocol == protocol) { in sockparams_find()
399 sockparams_hold_ephemeral(int family, int type, int protocol, in sockparams_hold_ephemeral() argument
409 sp = sockparams_find(&sp_ephem_list, family, type, protocol, in sockparams_hold_ephemeral()
434 protocol, NULL, namebuf, namelen, in sockparams_hold_ephemeral()
438 protocol, namebuf, NULL, 0, in sockparams_hold_ephemeral()
465 sp = sockparams_find(&sp_ephem_list, family, type, protocol, in sockparams_hold_ephemeral()
496 sockparams_hold_ephemeral_bydev(int family, int type, int protocol, in sockparams_hold_ephemeral_bydev() argument
[all …]
/onnv-gate/usr/src/lib/libshell/common/scripts/
H A Drssread.sh58 typeset protocol
139 _.protocol="${1%://*}"
179 if [[ "${_.protocol}" == "https" ]] ; then
208 if [[ "${_.protocol}" == "https" ]] ; then
220 if [[ "${_.protocol}" == "file" ]] ; then
223 elif [[ "${_.protocol}" == ~(Elr)http(|s) ]] ; then
229 case "${_.protocol}" in
238 printmsg "protocol=${_.protocol} port=${_.port} host=${_.host} path=${_.path}"
241 [[ "${_.protocol}" != "" ]] || { print -u2 -f "%s: protocol not set.\n" "$0" ; return 1 ; }
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/
H A DSocket.pm78 my($sock,$domain,$type,$protocol) = @_;
80 socket($sock,$domain,$type,$protocol) or
85 ${*$sock}{'io_socket_proto'} = $protocol;
92 my($class,$domain,$type,$protocol) = @_;
96 socketpair($sock1,$sock2,$domain,$type,$protocol) or
100 ${*$sock1}{'io_socket_proto'} = ${*$sock2}{'io_socket_proto'} = $protocol;
296 sub protocol { subroutine
/onnv-gate/usr/src/cmd/getent/
H A Ddogetserv.c81 const char *protocol = NULL; in dogetserv() local
90 protocol = cp + 1; in dogetserv()
94 sp = getservbyport(port, protocol); in dogetserv()
96 sp = getservbyname(key, protocol); in dogetserv()
H A Ddogetproto.c72 int protocol = atoi(*list); in dogetproto() local
73 if (protocol != 0) in dogetproto()
74 pp = getprotobynumber(protocol); in dogetproto()
/onnv-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsocket.c36 socket(family, type, protocol) in socket() argument
39 register int protocol;
43 if ((a = _socket_bsd(family, map[type], protocol)) == -1) {
H A Dsocketpair.c36 socketpair(family, type, protocol, sv) in socketpair() argument
39 register int protocol;
44 if ((ret = _socketpair_bsd(family, map[type], protocol,
/onnv-gate/usr/src/cmd/wbem/provider/c/wbem_disk/common/
H A Dctrl_descriptors.c135 char *protocol; in ctrl_descriptor_toCCIMInstance() local
157 protocol = "11"; in ctrl_descriptor_toCCIMInstance()
159 protocol = "16"; in ctrl_descriptor_toCCIMInstance()
161 protocol = "42"; in ctrl_descriptor_toCCIMInstance()
163 protocol = "10"; in ctrl_descriptor_toCCIMInstance()
165 protocol = "1"; in ctrl_descriptor_toCCIMInstance()
167 protocol = "2"; in ctrl_descriptor_toCCIMInstance()
170 util_doProperty("ProtocolSupported", string, protocol, in ctrl_descriptor_toCCIMInstance()
/onnv-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c144 uint8_t protocol; in do_check_protocol() local
146 protocol = dladm_str2proto(attr_val); in do_check_protocol()
148 if (protocol != 0) { in do_check_protocol()
150 fdesc->fd_protocol = protocol; in do_check_protocol()
319 dladm_proto2str(uint8_t protocol) in dladm_proto2str() argument
321 if (protocol == IPPROTO_TCP) in dladm_proto2str()
323 if (protocol == IPPROTO_UDP) in dladm_proto2str()
325 if (protocol == IPPROTO_SCTP) in dladm_proto2str()
327 if (protocol == IPPROTO_ICMPV6) in dladm_proto2str()
329 if (protocol == IPPROTO_ICMP) in dladm_proto2str()
/onnv-gate/usr/src/cmd/tcpd/
H A Dinetcf.c63 char *protocol; local
111 protocol = strtok((char *) 0, whitespace);
153 inet_chk(protocol, path, arg0, arg1);
162 static void inet_chk(protocol, path, arg0, arg1) in inet_chk() argument
163 char *protocol; in inet_chk()
265 if (wrap_status == WR_YES && STR_EQ(protocol, "rpc/tcp"))
/onnv-gate/usr/src/lib/libnsl/rpc/
H A Dpmap_clnt.c63 pmap_set(rpcprog_t program, rpcvers_t version, rpcprot_t protocol, in pmap_set() argument
71 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP)) in pmap_set()
73 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp"); in pmap_set()
129 rpcvers_t version, rpcprot_t protocol) in pmap_getport() argument
142 parms.pm_prot = protocol; in pmap_getport()
/onnv-gate/usr/src/cmd/lp/model/netpr/
H A Dnetpr.c232 job_data->protocol = BSD; in main()
234 job_data->protocol = TCP; in main()
239 job_data->protocol); in main()
345 if (job_data->protocol == BSD) { in main()
361 if (job_data->protocol == BSD) { in main()
378 (job_data->protocol == TCP && tcp_port == NULL)) { in main()
398 if (job_data->protocol == BSD) { in main()
433 if (job_data->protocol == BSD) { in main()
/onnv-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_cluster.c40 void (*cl_inet_listen)(netstackid_t stack_id, uint8_t protocol,
43 void (*cl_inet_unlisten)(netstackid_t stack_id, uint8_t protocol,
47 int (*cl_inet_connect2)(netstackid_t stack_id, uint8_t protocol,
53 void (*cl_inet_disconnect)(netstackid_t stack_id, uint8_t protocol,
/onnv-gate/usr/src/uts/common/io/hxge/
H A Dhxge_pfc.h134 uint32_t protocol:8; /* 87:80 */ member
144 uint32_t protocol:8; /* 87:80 */
159 uint32_t protocol:8; /* 87:80 */ member
169 uint32_t protocol:8; /* 87:80 */
239 #define ip4_proto_key key.ipv4.protocol
248 #define ip4_proto_mask mask.ipv4.protocol
256 #define ip6_proto_key key.ipv6.protocol
263 #define ip6_proto_mask mask.ipv6.protocol

12345678910>>...13