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

123

/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_changelist.c642 changelist_unshare(prop_changelist_t *clp, zfs_share_proto_t *proto) argument
654 zfs_unshare_proto(cn->cn_handle, NULL, proto) != 0)
H A Dlibzfs_mount.c124 is_shared(const char *mountpoint, zfs_share_proto_t proto) argument
132 sa_prot = proto_table[proto].p_sa_type;
148 switch (proto) {
698 zfs_is_shared_proto(zfs_handle_t *zhp, char **where, zfs_share_proto_t proto) argument
706 if (rc = is_shared(mountpoint, proto)) {
738 zfs_share_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto) argument
765 for (curr_proto = proto; *curr_proto != PROTO_END; curr_proto++) {
826 zfs_share_proto_t *proto)
832 for (curr_proto = proto; *curr_proto != PROTO_END; curr_proto++)
856 zfs_share_proto_t *proto)
825 unshare_one(libzfs_handle_t *hdl, const char *name, const char *mountpoint, zfs_share_proto_t *proto) argument
855 zfs_unshare_proto(zfs_handle_t *zhp, const char *mountpoint, zfs_share_proto_t *proto) argument
896 zfs_unshareall_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto) argument
[all...]
H A Dlibzfs_share.c2410 zfssa_share_prop_get(zfs_handle_t *zhp, sa_proto_t proto, char **propvalp) argument
2417 if (proto == SA_PROT_NFS)
2419 else if (proto == SA_PROT_SMB)
2436 const char *sh_name, sa_proto_t proto, char **propvalp)
2455 rc = zfssa_share_prop_get(zhp, proto, propvalp);
2462 rc = zfssa_share_prop_get(sh_zhp, proto, propvalp);
2472 zfssa_share_prop_set(zfs_handle_t *zhp, sa_proto_t proto, const char *propval) argument
2479 if (proto == SA_PROT_NFS)
2481 else if (proto == SA_PROT_SMB)
2505 const char *sh_name, sa_proto_t proto, cons
2435 zfssa_sharing_get_prop(libzfs_handle_t *hdl, const char *mntpnt, const char *sh_name, sa_proto_t proto, char **propvalp) argument
2504 zfssa_sharing_set_prop(libzfs_handle_t *hdl, const char *mntpnt, const char *sh_name, sa_proto_t proto, const char *propval) argument
4083 sa_proto_t proto = SA_PROT_NONE; local
[all...]
/osnet-11/usr/src/lib/libpp/common/
H A Dppproto.c28 * define PROTOMAIN for standalone proto
32 static const char id[] = "\n@(#)$Id: proto (AT&T Research) 2008-05-11 $\0\n";
51 #define MAGICGEN "/* : : generated by proto : : */\n"
53 #define MAGICDIR "pragma" /* proto magic directive */
54 #define MAGICARG "prototyped" /* proto magic directive arg */
60 struct proto /* proto buffer state */ struct
94 * proto is separate from pp so these undef's are ok
263 p = strcopy(buf, "proto: ");
266 register struct proto* prot local
338 linesync(register struct proto* proto, register char* p, register long n) argument
361 init(struct proto* proto, char* op, int flags) argument
545 lex(register struct proto* proto, register long flags) argument
2106 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto)); local
2127 register struct proto* proto; local
2450 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto)); local
2549 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto)); local
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c648 char *proto = NULL; local
698 proto = NULL;
699 if (getfield(&proto, 0, &p, fieldsep) == NULL) {
706 sv->s_proto = proto;
714 if (proto != NULL) free(proto);
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_upgrade.c517 char *proto; local
530 proto = strchr(id, '_');
531 if (proto == NULL)
533 *proto++ = '\0';
534 if (*proto == '\0')
536 sectype = strchr(proto, '_');
571 if ((prot = sa_upgrade_get_nvlist(node, proto)) == NULL) {
612 if ((ret == SA_OK) && (proto != NULL)) {
616 ret = sa_upgrade_add_nvlist(node, proto, prot);
787 scf_propertygroup_t *pg, char *proto, cha
786 sa_upgrade_extract_group_prop(nvlist_t *group, scfutilhandle_t *handle, scf_propertygroup_t *pg, char *proto, char *sectype) argument
894 char *proto, *sectype, *buff; local
1207 nvlist_t *proto, *dproto, *tmp_proto; local
[all...]
H A Dlibshare.c365 sa_proto_t proto; local
416 proto = sa_val_to_proto(valp);
417 if (proto == SA_PROT_NONE) {
424 ret = saproto_share_parse(proto, prot_props, unset,
433 if (sa_share_get_proto(share_nvl, proto) != NULL) {
443 ret = sa_share_set_proto(share_nvl, proto, prot_nvl);
566 sa_proto_t proto; local
571 proto = sa_val_to_proto(prot_name);
587 if (sa_share_rem_proto(share_nvl, proto) != SA_OK) {
604 if ((dst_prot_nvl = sa_share_get_proto(share_nvl, proto)) !
726 sa_share_validate_name(const char *sh_name, const char *sh_path, sa_validate_flags_t flags, sa_proto_t proto, char *errbuf, size_t buflen) argument
808 sa_proto_t proto; local
1018 sa_proto_tag(sa_proto_t proto, boolean_t allow_all) argument
1048 sa_alloc_return_codes(sa_proto_t proto, int rc, nvlist_t **nvlp) argument
1070 sa_add_return_code(nvlist_t *nvl, sa_proto_t proto, int rc) argument
1146 sa_publish_notify(libshare_handle_t *shdl, nvlist_t *share, sa_proto_t proto, int rc) argument
1164 sa_share_publish(libshare_handle_t *shdl, nvlist_t *share, sa_proto_t proto, int wait, boolean_t check_rename) argument
1261 sa_share_unpublish(libshare_handle_t *shdl, nvlist_t *share, sa_proto_t proto, int wait) argument
1305 sa_share_publish_admin(const char *mntpnt, sa_proto_t proto) argument
1336 sa_share_list_alloc(sa_proto_t proto, int cnt) argument
1453 sa_proto_t proto; local
1704 sa_share_check_name_conflict(libshare_handle_t *shdl, nvlist_t *share, sa_proto_t proto, nvlist_t **share_list, int proto_cnt) argument
1774 sa_fs_publish(libshare_handle_t *shdl, const char *mntpnt, sa_proto_t proto, int wait) argument
1912 sa_fs_unpublish(libshare_handle_t *shdl, const char *mntpnt, sa_proto_t proto, int wait) argument
1999 sa_proto_t p, proto = SA_PROT_NONE; local
2064 sa_share_read_default(const char *sh_path, const char *basename, sa_proto_t proto, nvlist_t **share) argument
2112 sa_share_read_from_props(const char *propstr, const char *sh_path, const char *basename, sa_proto_t proto, nvlist_t **share, char *errbuf, size_t buflen) argument
2431 sa_share_lookup(const char *sh_name, const char *sh_path, sa_proto_t proto, nvlist_t **share) argument
2835 sa_share_find_init(const char *mntpnt, sa_proto_t proto, void **hdl) argument
2872 sa_proto_t proto; local
2889 sa_sharing_prop_enabled(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t proto) argument
2932 sa_sharing_set_prop(libshare_handle_t *shdl, const char *mntpnt, const char *sh_name, sa_proto_t proto, const char *sh_prop) argument
2951 sa_share_set_def_proto(nvlist_t *share, sa_proto_t proto) argument
2970 sa_share_format_props(nvlist_t *proplist, sa_proto_t proto, char **retbuf) argument
3114 sa_proto_t proto; local
3463 get_protocol_string(sa_proto_t proto) argument
3482 sa_get_propdefs(sa_proto_t proto, nvlist_t **props, nvlist_t **default_sublists, char *owner, size_t len) argument
3511 sa_proto_t proto, protos = SA_PROT_NONE; local
[all...]
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_cc.c494 dt_node_t *anp, *proto = NULL; local
549 if (proto != NULL) {
550 dt_printa_validate(proto, anp);
552 proto = anp;
/osnet-11/usr/src/lib/libinetsvc/common/
H A Dinetsvc.h52 #define PR_PROTO_NAME "proto"
184 /* proto string causing this entry */
185 char *proto; member in struct:__anon1745
H A Dinetsvc.c330 * If 'proto' is a valid netid, and no memory allocations fail, returns a
334 create_rpc_info(const char *proto, int pnum, int low_ver, int high_ver) argument
352 if ((ret->netid = strdup(proto)) == NULL) {
359 * fails, we check to see whether it was the result of a v6 proto
364 if ((nconf = getnetconfigent(proto)) != NULL) {
368 } else if (!v6_proto(proto)) {
406 create_tlx_info(const char *proto, uu_list_pool_t *conn_ind_pool) argument
428 if (proto[0] != '/') {
429 sz = strlen("/dev/") + strlen(proto) + 1;
432 (void) snprintf(ret->dev_name, sz, "/dev/%s", proto);
449 v6_proto(const char *proto) argument
460 v6_socket_proto(const char *proto) argument
468 valid_socket_proto(const char *proto) argument
582 char *proto = NULL; local
1721 get_netids(char *proto) argument
[all...]
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_prop.c297 i_ipadm_get_propdesc_table(uint_t proto) argument
299 switch (proto) {
318 i_ipadm_get_prop_desc(const char *pname, uint_t proto, int *errp) argument
324 if ((ipdtbl = i_ipadm_get_propdesc_table(proto)) == NULL) {
331 if (ipdp->ipd_proto == proto)
349 ipadm_proto2str(uint_t proto) argument
351 switch (proto) {
398 ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags)
413 proto, MOD_PROP_DEFAULT);
428 s = (proto
397 i_ipadm_set_mtu(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
437 i_ipadm_set_metric(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
470 i_ipadm_set_usesrc(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
548 i_ipadm_set_hostmodel(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
566 i_ipadm_get_hostmodel(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
606 i_ipadm_set_group(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
631 i_ipadm_get_group(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
711 i_ipadm_set_ifprop_flags(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
784 i_ipadm_set_eprivport(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
835 i_ipadm_set_cong_enabled(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
908 i_ipadm_get_cong_enabled(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
940 i_ipadm_set_cong_default(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
958 i_ipadm_get_cong_default(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
986 i_ipadm_set_forwarding(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
1026 i_ipadm_set_ecnsack(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
1049 i_ipadm_get_ecnsack(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1118 i_ipadm_get_forwarding(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1161 i_ipadm_get_mtu(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1191 i_ipadm_get_metric(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1221 i_ipadm_get_usesrc(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *ipd, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1258 i_ipadm_get_ifprop_flags(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1332 i_ipadm_get_prop(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1390 uint_t proto = pdp->ipd_proto; local
1452 i_ipadm_getprop_common(ipadm_handle_t iph, const char *ifname, const char *pname, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1573 ipadm_get_prop(ipadm_handle_t iph, const char *pname, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1599 ipadm_get_ifprop(ipadm_handle_t iph, const char *ifname, const char *pname, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
1634 i_ipadm_set_prop(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument
1699 i_ipadm_setprop_common(ipadm_handle_t iph, const char *ifname, const char *pname, const char *buf, uint_t proto, uint_t pflags) argument
1807 ipadm_set_ifprop(ipadm_handle_t iph, const char *ifname, const char *pname, const char *buf, uint_t proto, uint_t pflags) argument
1846 ipadm_set_prop(ipadm_handle_t iph, const char *pname, const char *buf, uint_t proto, uint_t pflags) argument
1875 i_ipadm_walk_proptbl(ipadm_prop_desc_t *pdtbl, uint_t proto, uint_t class, ipadm_prop_wfunc_t *func, void *arg) argument
1904 ipadm_walk_proptbl(uint_t proto, uint_t class, ipadm_prop_wfunc_t *func, void *arg) argument
1955 ipadm_walk_prop(const char *pname, uint_t proto, uint_t class, ipadm_prop_wfunc_t *func, void *arg) argument
1997 i_ipadm_get_onoff(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *dp, char *buf, uint_t *bufsize, uint_t proto, uint_t valtype) argument
2073 i_ipadm_validate_if(ipadm_handle_t iph, const char *ifname, uint_t proto, uint_t flags) argument
2104 i_ipadm_reset_one_prop(void *arg, const char *pname, uint_t proto) argument
2264 ipadm_legacy2new_propname(const char *oname, char *nname, uint_t nnamelen, uint_t *proto) argument
2334 ipadm_new2legacy_propname(const char *oname, char *nname, uint_t nnamelen, uint_t proto) argument
[all...]
H A Dlibipadm.c746 uint_t proto; local
755 proto = ipadm_str2proto(protostr);
768 status = ipadm_set_ifprop(iph, ifname, pname, pval, proto,
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dtcp.c111 grub_uint8_t proto; member in struct:tcp_pseudohdr
121 grub_uint8_t proto; member in struct:tcp6_pseudohdr
412 grub_uint16_t proto,
430 ph.proto = proto;
441 ph.proto = proto;
411 grub_net_ip_transport_checksum(struct grub_net_buff *nb, grub_uint16_t proto, const grub_net_network_level_address_t *src, const grub_net_network_level_address_t *dst) argument
H A Dnet.c70 link_layer_find_entry (const grub_net_network_level_address_t *proto, argument
80 proto) == 0)
1185 grub_net_app_level_t proto; local
1224 FOR_NET_APP_LEVEL (proto)
1226 if (grub_memcmp (proto->name, protname, protnamelen) == 0
1227 && proto->name[protnamelen] == 0)
1232 ret->protocol = proto;
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dnet.h301 grub_net_app_level_register (grub_net_app_level_t proto) argument
304 GRUB_AS_LIST (proto));
309 grub_net_app_level_unregister (grub_net_app_level_t proto) argument
312 GRUB_AS_LIST (proto));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dpp_sort.c1448 char *proto = SvPV((SV*)cv, n_a); local
1449 if (proto && strEQ(proto, "$$")) {
H A Dpp_sys.c4977 char *proto = POPpbytex; local
4980 if (proto && !*proto)
4981 proto = Nullch;
4983 sent = PerlSock_getservbyname(name, proto);
4990 char *proto = POPpbytex; local
4993 if (proto && !*proto)
4994 proto = Nullch;
4999 sent = PerlSock_getservbyport(port, proto);
[all...]
H A Dop.c4086 Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) argument
4090 if (proto)
4091 SAVEFREEOP(proto);
4100 Perl_newSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *block) argument
4102 return Perl_newATTRSUB(aTHX_ floor, o, proto, Nullop, block);
4106 Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) argument
4112 char *ps = proto ? SvPVx(((SVOP*)proto)->op_sv, n_a) : Nullch;
4133 if (proto)
4134 SAVEFREEOP(proto);
4663 Perl_newANONSUB(pTHX_ I32 floor, OP *proto, OP *block) argument
4669 Perl_newANONATTRSUB(pTHX_ I32 floor, OP *proto, OP *attrs, OP *block) argument
6097 char *proto = 0; local
[all...]
H A Dperlio.c54 /* Missing proto on LynxOS */
612 PerlIO_clone_list(pTHX_ PerlIO_list_t *proto, CLONE_PARAMS *param) argument
615 if (proto) {
618 for (i=0; i < proto->cur; i++) {
620 if (proto->array[i].arg)
621 arg = PerlIO_sv_dup(aTHX_ proto->array[i].arg,param);
622 PerlIO_list_push(aTHX_ list, proto->array[i].funcs, arg);
629 PerlIO_clone(pTHX_ PerlInterpreter *proto, CLONE_PARAMS *param) argument
632 PerlIO **table = &proto->Iperlio;
635 PL_known_layers = PerlIO_clone_list(aTHX_ proto
[all...]
H A Dtoke.c1897 char *proto = SvPVX(cv); local
1898 if (proto) {
1899 if (*proto == ';')
1900 proto++;
1901 if (*proto == '*')
4079 char *proto = SvPV((SV*)cv, len); local
4082 if (strEQ(proto, "$"))
4084 while (*proto == ';')
4085 proto++;
4086 if (*proto
[all...]
/osnet-11/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c529 args->arg.nss.serv.proto,
541 char *proto = (strcmp(nconf->nc_proto, local
555 proto, ndbuf4switch->result,
636 char *proto = (strcmp(nconf->nc_proto, local
655 proto, ndbuf4switch->result,
757 if (args->arg.nss.serv.proto == NULL) {
760 * The caller wild-carded proto -- i.e. will
768 args->arg.nss.serv.proto = "tcp";
772 args->arg.nss.serv.proto = "udp";
794 args->arg.nss.serv.proto,
913 char *proto = local
1386 _switch_getservbyname_r(const char *name, const char *proto, struct servent *result, char *buffer, int buflen) argument
1403 _switch_getservbyport_r(int port, const char *proto, struct servent *result, char *buffer, int buflen) argument
2299 ndaddr2srent(const char *name, const char *proto, ushort_t port, struct servent *result, char *buffer, int buflen) argument
2406 ndhostserv2srent(int port, const char *proto, struct nd_hostservlist *addrs, struct servent *result, char *buffer, int buflen) argument
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c318 struct di_devlink_handle *hdp, proto = {0}; local
411 proto.dev_dir = dev_dir;
412 proto.db_dir = db_dir;
413 proto.flags = flags;
414 proto.lock_fd = -1;
421 if (HDL_RDWR(&proto)) {
422 if (enter_db_lock(&proto, root_dir) != 1) {
427 DB(&proto)->db_fd = -1;
434 *hdp = proto;
438 * in the dev_dir field (obtained from the proto handl
[all...]

Completed in 155 milliseconds

123