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

12345

/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_cto.c47 socket(int domain, int type, int protocol) { argument
63 ret = (*fptr) (domain, type, protocol);
/illumos-gate/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
/illumos-gate/usr/src/cmd/getent/
H A Ddogetproto.c72 int protocol = atoi(*list); local
73 if (protocol != 0)
74 pp = getprotobynumber(protocol);
H A Ddogetserv.c63 * port/protocol
65 * name/protocol
81 const char *protocol = NULL; local
87 /* Split at a '/' to extract protocol number */
90 protocol = cp + 1;
94 sp = getservbyport(port, protocol);
96 sp = getservbyname(key, protocol);
/illumos-gate/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...]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dsharemgr_main.c42 char *protocol = NULL; variable
71 * parse enough of command line to get protocol, if any.
120 rval = run_command(command, argc, argv, protocol, handle);
135 * preprocessing done earlier. Need to find the protocol
136 * that is being affected. If no protocol, then it is ALL
139 * We don't currently use the protocol here at this point. It
141 * protocol specific sub-commands.
/illumos-gate/usr/src/cmd/listen/
H A Dnsaddr.h40 #define KEEP 8 /* keep protocol field */
51 char *protocol; member in struct:address
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_update.h35 int protocol; /* semantics of update svc */ member in struct:rdc_update_s
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dl2_packet.c117 l2_packet_init(const char *ifname, unsigned short protocol, argument
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsockmod_sdp.c74 socksdp_create(struct sockparams *sp, int family, int type, int protocol, argument
81 family, protocol, type));
110 sonode_init(so, sp, family, type, protocol, &sosdp_sonodeops);
123 * if a protocol desires it can change the value later
H A Dsockmod_sctp.c119 socksctp_create(struct sockparams *sp, int family, int type, int protocol, argument
154 sonode_init(so, sp, family, type, protocol,
157 sonode_init(so, sp, family, type, protocol,
175 * if a protocol desires it can change the value later
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnssrv.c59 const char *protocol,
74 * service.protocol.realm
84 if ( strlen(service) + strlen(protocol) + realm->length + 6
87 sprintf(host, "%s.%s.%.*s", service, protocol, (int) realm->length,
57 krb5int_make_srv_query_realm(const krb5_data *realm, const char *service, const char *protocol, struct srv_dns_entry **answers) argument
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_net.c59 smb_socreate(int domain, int type, int protocol) argument
64 err = ksocket_socket(&sock, domain, type, protocol, KSOCKET_SLEEP,
/illumos-gate/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...]
/illumos-gate/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
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon_y.y62 %type <opt> protocol result rule srcip srcport logtag matching
102 | protocol { $$ = $1; }
172 protocol: label
267 { "protocol", IPM_PROTOCOL },
/illumos-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)
163 char *protocol;
265 if (wrap_status == WR_YES && STR_EQ(protocol, "rpc/tcp"))
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dgssapi_krb5.h150 OM_uint32 protocol; /* 0: rfc1964, member in struct:gss_krb5_lucid_context_v1
153 * if (protocol == 0) rfc1964_kd should be used
155 * if (protocol == 1) cfx_kd should be used
/illumos-gate/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...]
/illumos-gate/usr/src/lib/librstp/common/
H A Dstp_bpdu.h66 unsigned char protocol[2]; member in struct:bpdu_header_t

Completed in 229 milliseconds

12345