Searched defs:protocol (Results 1 - 25 of 46) sorted by relevance

12

/osnet-11/usr/src/lib/libnisdb/
H A Dldap_cto.c47 socket(int domain, int type, int protocol) { argument
63 ret = (*fptr) (domain, type, protocol);
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dudp.h13 uint8_t protocol; member in struct:udp_pseudo_hdr
H A Dif_arp.h19 uint16_t protocol; member in struct:arprequest
H A Dip.h16 uint8_t protocol; member in struct:iphdr
/osnet-11/usr/src/lib/libsocket/socket/
H A D_soutil.c60 * proto_sw contains protocol entries for which there is a corresponding
62 * desired protocol.
117 * Lookup family/type/protocol in /etc/netconfig.
122 _s_netconfig_path(int family, int type, int protocol, argument
129 net = _s_match_netconf(family, type, protocol, &nethandle);
136 *prototype = protocol;
172 * Match config entry for protocol
H A Dsocket.c56 _socket(int family, int type, int protocol) argument
58 return (_socket_create(family, type, protocol, SOV_DEFAULT));
65 _socket_bsd(int family, int type, int protocol) argument
67 return (_socket_create(family, type, protocol, SOV_SOCKBSD));
71 _socket_svr4(int family, int type, int protocol) argument
73 return (_socket_create(family, type, protocol, SOV_SOCKSTREAM));
77 __xnet_socket(int family, int type, int protocol) argument
79 return (_socket_create(family, type, protocol, SOV_XPG4_2));
85 * that could be returned due to invalid <family, type, protocol>
93 _socket_create(int family, int type, int protocol, in argument
[all...]
H A Dsocketpair.c59 _socketpair(int family, int type, int protocol, int sv[2]) argument
61 return (_socketpair_create(family, type, protocol, sv, SOV_DEFAULT));
68 _socketpair_bsd(int family, int type, int protocol, int sv[2]) argument
70 return (_socketpair_create(family, type, protocol, sv, SOV_SOCKBSD));
74 _socketpair_svr4(int family, int type, int protocol, int sv[2]) argument
76 return (_socketpair_create(family, type, protocol, sv,
81 __xnet_socketpair(int family, int type, int protocol, int sv[2]) argument
83 return (_socketpair_create(family, type, protocol, sv,
88 _socketpair_create(int family, int type, int protocol, int sv[2], int version) argument
97 fd1 = _socket_create(family, type, protocol, versio
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnssrv.c61 const char *protocol,
77 * service.protocol.realm
88 krb5int_buf_add_fmt(&buf, "%s.%s.", service, protocol);
59 krb5int_make_srv_query_realm(const krb5_data *realm, const char *service, const char *protocol, struct srv_dns_entry **answers) argument
/osnet-11/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
297 @_ == 1 or croak 'usage: $sock->protocol()';
427 =item protocol
429 Returns the numerical number for the protocol bein
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dpmap_clnt.c63 pmap_set(rpcprog_t program, rpcvers_t version, rpcprot_t protocol, argument
71 if ((protocol != IPPROTO_UDP) && (protocol != IPPROTO_TCP))
73 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp");
129 rpcvers_t version, rpcprot_t protocol)
142 parms.pm_prot = protocol;
128 pmap_getport(struct sockaddr_in *address, rpcprog_t program, rpcvers_t version, rpcprot_t protocol) argument
/osnet-11/usr/src/lib/libinetutil/common/
H A Dinetutil.c275 ipproto2str(uint_t family, uint_t protocol) argument
282 switch (protocol) {
/osnet-11/usr/src/lib/libc/port/threads/
H A Dpthr_mutex.c45 ap->protocol = PTHREAD_PRIO_NONE;
134 * pthread_mutexattr_setprotocol: sets the protocol attribute.
137 pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, int protocol) argument
143 if (protocol != PTHREAD_PRIO_NONE &&
144 protocol != PTHREAD_PRIO_INHERIT &&
145 protocol != PTHREAD_PRIO_PROTECT)
147 ap->protocol = protocol;
152 * pthread_mutexattr_getprotocol: gets the protocol attribute.
156 pthread_mutexattr_getprotocol(const pthread_mutexattr_t *attr, int *protocol) argument
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_shadow.c47 * appropriate protocol, and pass down the path to the shadow filesystem.
74 const char **protocol, const char **mntopts, char **path)
87 *protocol = MNTTYPE_LOFS;
147 *protocol = MNTTYPE_NFS;
181 *protocol = MNTTYPE_SMBFS;
199 "unknown shadow protocol"));
209 const char *protocol; local
216 if (zfs_shadow_parse(hdl, shadow, &protocol, &mntopts, &path) != 0)
73 zfs_shadow_parse(libzfs_handle_t *hdl, const char *shadow, const char **protocol, const char **mntopts, char **path) argument
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetprotoent.c50 char *protocol; member in struct:protocol_alias
81 * But some protocol does have different aliases.
97 get_alias(char *protocol) { argument
101 if (strncmp(protocol, "ip", 2) == 0) {
102 for (i = 0; ip_aliases[i].protocol != NULL; i++) {
103 if (strcmp(protocol, ip_aliases[i].protocol) == 0)
109 for (cp = protocol; *cp; cp++)
112 return (protocol);
115 for (cp = protocol; *c
[all...]
H A Dgetservent.c118 ns_ldap_attr_t *names = NULL, *protocol = NULL; local
124 * getservent_r with multiple protocol values and the entry
132 * getservent_r with single protocol value or multiple values
181 /* Get protocol */
182 protocol = __ns_ldap_getAttrStruct(result->entry, _S_PROTOCOL);
183 if (protocol == NULL || protocol->attrvalue == NULL) {
193 protoval = protocol->attrvalue[cookie->index++];
194 } else if (protocol->value_count > 1 && be->setcalled == 0 &&
200 * it needs to match protocol to
324 char protocol[SEARCHFILTERLEN]; local
380 char protocol[SEARCHFILTERLEN]; local
[all...]
/osnet-11/usr/src/lib/librstp/common/
H A Dstp_bpdu.h66 unsigned char protocol[2]; member in struct:bpdu_header_t
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_netlogon.c26 * This module handles the primary domain controller location protocol.
27 * The document claims to be version 1.15 of the browsing protocol. It also
28 * claims to specify the mailslot protocol.
30 * The NETLOGON protocol uses \MAILSLOT\NET mailslots. The protocol
33 * doesn't mention the NETLOGON_SAMLOGON version of the protocol.
71 * request is sent using the specified protocol on the specified network.
83 int protocol = NETLOGON_PROTO_NETLOGON; local
96 protocol = NETLOGON_PROTO_SAMLOGON;
99 if (protocol
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dflowattr.c150 uint8_t protocol; local
152 protocol = dladm_str2proto(attr_val);
154 if (protocol != 0) {
156 fdesc->fd_protocol = protocol;
267 * Make sure protocol is specified if either local or
328 dladm_proto2str(uint8_t protocol) argument
330 if (protocol == IPPROTO_TCP)
332 if (protocol == IPPROTO_UDP)
334 if (protocol == IPPROTO_SCTP)
336 if (protocol
[all...]
/osnet-11/usr/src/lib/libexacct/demo/
H A Dexdump.c150 { EXD_FLOW_PROTOCOL, "protocol" },
215 * Display protocol information, if available.
218 disp_proto(uint8_t protocol) argument
222 proto_ent = getprotobynumber(protocol);
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dusbdesc.h47 grub_uint8_t protocol; member in struct:grub_usb_desc_device
79 grub_uint8_t protocol;
93 grub_uint8_t protocol; member in struct:grub_usb_desc_if
/osnet-11/usr/src/lib/sun_sas/common/
H A Ddevtree_hba_disco.c89 add_hba_port_info(di_node_t portNode, struct sun_sas_hba *hba_ptr, int protocol) argument
185 SASPort->PortProtocol = protocol;
309 int protocol = 0; local
325 "supported-protocol", &propIntData)) == -1) {
327 "Unable to get supported-protocol from HBA node.");
329 protocol = *propIntData;
341 if (add_hba_port_info(portNode, hba_ptr, protocol)
368 int protocol = 0; local
488 "supported-protocol", &propIntData)) == -1) {
490 "Unable to get supported-protocol fro
[all...]
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_print.c334 /* XXX protocol format checking? */
455 u_int keyflags, protocol, algorithm, key_id; local
465 protocol = *rdata++;
468 keyflags, protocol, algorithm));
1119 * 0 for protocol format error
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dip.c38 grub_uint8_t protocol; member in struct:iphdr
56 grub_uint8_t protocol; member in struct:ip6hdr
165 iph->protocol = proto;
210 iph->protocol = proto;
442 return handle_dgram (nb, card, src_hwaddress, hwaddress, iph->protocol,
448 && rsm->id == iph->ident && rsm->proto == iph->protocol)
458 rsm->proto = iph->protocol;
601 iph->protocol = proto;
682 return handle_dgram (nb, card, src_hwaddress, hwaddress, iph->protocol,
/osnet-11/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c78 const int flags, const int protocol,
154 * protocol: the dns protocol of the key
162 const int protocol, const int bits)
179 new_key->dk_proto = protocol;
484 * domain.name [ttl] [IN] KEY &lt;flags&gt; &lt;protocol&gt; &lt;algorithm&gt; &lt;key&gt;
760 const int protocol, /*!< dns protocol */
774 dkey = dst_s_get_key_struct(key_name, alg, flags, protocol, -1);
935 *\par protocol
161 dst_s_get_key_struct(const char *name, const int alg, const int flags, const int protocol, const int bits) argument
757 dst_buffer_to_key(const char *key_name, const int alg, const int flags, const int protocol, const u_char *key_buf, const int key_len) argument
951 dst_generate_key(const char *name, const int bits, const int exp, const int flags, const int protocol, const int alg) argument
[all...]
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_util.c564 " or protocol not installed"));
581 "protocol specified more than once"));
589 return (dgettext(TEXT_DOMAIN, "missing share protocol"));
594 "share not configured for protocol"));
620 return (dgettext(TEXT_DOMAIN, "invalid protocol specified"));
652 return (dgettext(TEXT_DOMAIN, "not shared for protocol"));
681 return (dgettext(TEXT_DOMAIN, "protocol not installed"));
974 sa_protocol_valid(char *protocol) argument
979 if (protocol == NULL)
982 if ((proto = sa_val_to_proto(protocol))
[all...]

Completed in 79 milliseconds

12