Searched defs:proto (Results 51 - 75 of 180) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c44 static void sub_command_help(char *proto);
104 ret = gettext("delsect\t<section> <proto>");
107 ret = gettext("get\t[-p <property>]... <proto>");
110 ret = gettext("set\t{-p <property>=<value>}... <proto>");
113 ret = gettext("status\t[<proto>]...");
123 char *proto = NULL; local
161 proto = argv[optind];
162 if (!sa_valid_protocol(proto)) {
164 proto);
167 propset = sa_proto_get_properties(proto);
267 char *proto = NULL; local
384 show_status(char *proto) argument
404 valid_proto(char **protos, int num, char *proto) argument
467 char *proto = NULL; local
540 sub_command_help(char *proto) argument
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dsetup.c104 char proto; local
108 proto = *command_character;
112 if (cur_term->_str[i][j] == proto)
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dalgs.c125 alg_has_pkg(ipsec_proto_t *proto, struct ipsecalgent *alg) argument
129 if (proto->proto_algs_pkgs == NULL)
132 for (i = 0; i < proto->proto_algs_npkgs; i++)
133 if (proto->proto_algs_pkgs[i].alg_num == alg->a_alg_num)
134 return (proto->proto_algs_pkgs[i].pkg_name);
377 delipsecalgbyname_common(const char *name, ipsec_proto_t *proto, argument
384 for (i = 0; i < proto->proto_numalgs; i++) {
387 proto->proto_algs[i]->a_names;
397 freeipsecalgent(proto->proto_algs[i]);
402 proto
436 ipsecalg_exists(struct ipsecalgent *newbie, ipsec_proto_t *proto) argument
631 delipsecproto_common(ipsec_proto_t *protos, int num_protos, ipsec_proto_t *proto) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c536 u_short proto; local
541 GETSHORT(proto, p);
544 if (proto == protp->protocol)
554 if (proto == (protp->protocol & ~0x8000))
560 printer(arg, "[proto=0x%x]", proto);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndd.c183 uint_t proto, perm; local
198 proto = atoi(protostr);
203 !(nimap->ipadm_proto & proto))
222 sizeof (tmpstr), proto);
247 uint_t proto, perm = 0, flags = 0; local
255 if ((proto = ndd_str2proto(mod)) == MOD_PROTO_NONE)
265 proto = nimap->ipadm_proto;
275 &proto) != 0) {
300 status = ipadm_get_prop(iph, pname, pvalp, &pvalsz, proto,
331 status = ipadm_set_prop(iph, pname, pvalp, proto,
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dns.c70 interpret_dns(int flags, int proto, const uchar_t *data, int len, int port) argument
83 if (proto == IPPROTO_TCP) {
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddm_platform.c341 char *proto = NULL; local
348 proto = (char *)dmalloc(len + 1);
350 proto[i] = tolower(action[i]);
353 proto[len] = 0;
356 return (proto);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_sadb.c293 * Check key mgmt proto, cookie
453 * proto, should use it.
568 ipsec_outbound_sa(mblk_t *data_mp, ip_xmit_attr_t *ixa, uint_t proto) argument
585 if (proto == IPPROTO_ESP) {
594 ASSERT(proto == IPPROTO_AH);
636 proto, ixa->ixa_tsl);
/illumos-gate/usr/src/stand/lib/sock/
H A Dsocket_impl.h126 uint8_t proto; /* ip protocol */ member in struct:inetboot_socket
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_main.c103 boolean_t BnxeProtoSupport(um_device_t * pUM, int proto) argument
163 return (((proto == LM_PROTO_SUPPORT_ETHERNET) && do_eth) ||
164 ((proto == LM_PROTO_SUPPORT_FCOE) && do_fcoe));
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c122 * map proto (which is an IANA defined ppp network protocol) to
126 sppp_ppp2np(uint16_t proto) argument
128 switch (proto) {
984 uint16_t proto; local
1103 proto = *(uint16_t *)mp->b_cont->b_rptr;
1105 uint32_t npflagpos = sppp_ppp2np(proto);
1107 * Mark proto as blocked in ppa_npflag until the
1108 * corresponding queues for proto have been plumbed.
1119 * reset ppa_npflag and release proto
1122 sppp_release_pkts(ppa, proto);
2149 uint16_t proto; local
2301 sppp_release_pkts(sppa_t *ppa, uint16_t proto) argument
[all...]
H A Dsppp_dlpi.c1096 sppp_dladdether(spppstr_t *sps, mblk_t *mp, t_scalar_t proto) argument
1105 if (proto == PPP_IP) {
1107 } else if (proto == PPP_IPV6) {
1138 sppp_dladdud(spppstr_t *sps, mblk_t *mp, t_scalar_t proto, boolean_t promisc) argument
1164 if (proto == PPP_IP) {
1166 } else if (proto == PPP_IPV6) {
1205 sppp_dlprsendup(spppstr_t *sps, mblk_t *mp, t_scalar_t proto, boolean_t header) argument
1237 dmp = sppp_dladdether(sps, dmp, proto);
1240 dmp = sppp_dladdud(sps, dmp, proto, B_TRUE);
/illumos-gate/usr/src/uts/sun4/os/
H A Dmemlist.c240 diff_memlists(struct memlist *proto, struct memlist *diff, void (*func)()) argument
244 while (proto != NULL) {
246 * find diff item which may overlap with proto item
247 * if none, apply func to all of proto item
250 proto->ml_address >= diff->ml_address + diff->ml_size)
253 (*func)(proto->ml_address, proto->ml_size);
254 proto = proto->ml_next;
257 if (proto
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c811 uint8_t *proto; local
813 proto = (uint8_t *)(void *)
815 if (proto[9] == 6)
818 else if (proto[9] == 17)
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_changelist.c321 changelist_unshare(prop_changelist_t *clp, zfs_share_proto_t *proto) argument
332 if (zfs_unshare_proto(cn->cn_handle, NULL, proto) != 0)
/illumos-gate/usr/src/boot/lib/libstand/
H A Drpc.c380 n_long proto; /* call protocol */ member in struct:args
417 args->proto = htonl(IPPROTO_UDP);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c549 /* proto */
951 char * proto; member in struct:valuelist
971 slp->proto = strdup(sp->s_proto);
972 if ((slp->name == NULL) || (slp->proto == NULL)) {
974 if (slp->proto) free(slp->proto);
995 free(slp->proto);
1085 cgetservbyport(u_int16_t port, const char *proto) { /*%< Host byte order. */ argument
1094 if (strcasecmp(lp->proto, proto)
1113 cgetprotobynumber(int proto) argument
1151 res_servicename(u_int16_t port, const char *proto) argument
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c215 * valid_protocol(proto)
223 valid_protocol(char *proto) argument
228 if (strcmp(proto, plugin->plugin_ops->sa_protocol) == 0)
234 * sa_extract_pgroup(root, handle, pg, nodetype, proto, sectype)
243 char *nodetype, char *proto, char *sectype)
260 if (proto != NULL)
261 (void) xmlSetProp(node, (xmlChar *)"type", (xmlChar *)proto);
713 char *proto; local
734 proto = strchr(id, '_');
735 if (proto
241 sa_extract_pgroup(xmlNodePtr root, scfutilhandle_t *handle, scf_propertygroup_t *pg, char *nodetype, char *proto, char *sectype) argument
877 char *proto; local
1820 char *proto; local
1890 char *proto; local
1910 char *proto; local
[all...]
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c49 _clean_trash(ipsec_proto_t *proto, int num) argument
53 if (proto == NULL)
57 free(proto[num].proto_name);
58 free(proto[num].proto_pkg);
59 for (alg_offset = 0; alg_offset < proto[num].proto_numalgs;
61 freeipsecalgent(proto[num].proto_algs[alg_offset]);
62 free(proto[num].proto_algs);
63 for (alg_offset = 0; alg_offset < proto[num].proto_algs_npkgs;
65 free(proto[num].proto_algs_pkgs[alg_offset].pkg_name);
66 free(proto[nu
816 ipsec_proto_t *proto; local
845 ipsec_proto_t *proto; local
890 ipsec_proto_t *proto; local
921 ipsec_proto_t *proto; local
936 ipsec_proto_t *proto; local
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c106 uint_t proto; local
111 proto = strcmp(tp, "udp") == 0 ? IPPROTO_UDP : IPPROTO_TCP;
112 sport = pmap_getport(raddr, prog, vers, proto);
422 rpcprot_t proto)
432 return (pmap_getport(&addr, prognum, versnum, proto));
421 getrpcport(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcprot_t proto) argument
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c465 int flags, proto, alg, len, dlen; local
485 * flags, proto, alg stored as decimal (or hex numbers FIXME).
534 if (fscanf(fp, "%d %d %d", &flags, &proto, &alg) != 3) {
535 EREPORT(("dst_read_public_key(): Can not read flag/proto/alg field from %s\n"
569 /* return dst_store_public_key(in_name, alg, proto, 666, flags, deckey,
571 return dst_buffer_to_key(in_name, alg, flags, proto, deckey, dlen);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c988 const char *proto; local
1039 proto = "udp";
1042 proto = "tcp";
1045 proto = NULL;
1049 if ((sp = getservbyname(servname, proto)) == NULL)
/illumos-gate/usr/src/lib/libipadm/common/
H A Dlibipadm.c602 uint_t proto; local
623 proto = ipadm_str2proto(protostr);
624 return (ipadm_set_ifprop(iph, ifname, pname, pval, proto,
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_proc.c390 char proto[32]; local
420 newreq.proto,
424 sprintf(proto, "%u", newreq.proto);
452 oldreq.proto,
457 sprintf(proto, "%u", oldreq.proto);
478 transid, proto, name, pmap);
481 pdomain, "-C", transid, proto,
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c100 int proto; /* argv[3] */ member in struct:__anon149
183 param->proto = IPPROTO_TCP;
186 param->proto = IPPROTO_UDP;
330 if ((sd = socket(af, SOCK_STREAM, param->proto)) == -1)
652 if ((send_sd = socket(af, SOCK_DGRAM, param->proto)) == -1)

Completed in 127 milliseconds

12345678