/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/ |
H A D | svc-forwarding | 39 proto="$2" 41 if [ -z "$proto" ]; then 52 if [ "$proto" = "ipv6" -a "$numv6ifs" = 0 ]; then 57 /usr/sbin/ipadm set-prop -p forwarding=on $proto 58 [ "$proto" = "ipv6" ] && /usr/sbin/ipadm set-prop \ 62 /usr/sbin/ipadm set-prop -p forwarding=off $proto 63 [ "$proto" = "ipv6" ] && /usr/sbin/ipadm set-prop \
|
H A D | svc-legacy-routing | 44 proto="$2" 50 echo "${proto}-routing-daemon not specified by routeadm." 55 echo "${proto}-routing-stop-cmd not specified by routeadm."
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppproto.c | 28 * 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...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | plugin.c | 80 * would have modules with names of the form libshare_<proto>.so. 88 struct sa_proto_plugin *proto; local 141 proto = (struct sa_proto_plugin *) 143 if (proto == NULL) { 149 proto->plugin_ops = plugin_ops; 150 proto->plugin_handle = dlhandle; 152 proto->plugin_next = sap_proto_list; 153 sap_proto_list = proto; 241 * find_protocol(proto) 248 find_protocol(char *proto) argument 274 sa_proto_share(char *proto, sa_share_t share) argument 291 sa_proto_unshare(sa_share_t share, char *proto, char *path) argument 311 sa_proto_share_resource(char *proto, sa_resource_t resource) argument 333 sa_proto_unshare_resource(char *proto, sa_resource_t resource) argument 354 sa_proto_valid_prop(sa_handle_t handle, char *proto, sa_property_t prop, sa_optionset_t opt) argument 372 sa_proto_valid_space(char *proto, char *token) argument 389 sa_proto_space_alias(char *proto, char *space) argument 407 sa_proto_security_prop(char *proto, char *token) argument 425 sa_proto_legacy_opts(char *proto, sa_group_t group, char *options) argument 443 sa_proto_legacy_format(char *proto, sa_group_t group, int hier) argument 472 sa_proto_get_properties(char *proto) argument 489 sa_proto_set_property(char *proto, sa_property_t prop) argument 507 sa_valid_protocol(char *proto) argument 518 sa_get_protocol_status(char *proto) argument 535 sa_proto_update_legacy(char *proto, sa_share_t share) argument 554 sa_proto_delete_legacy(char *proto, sa_share_t share) argument 579 sa_proto_delete_section(char *proto, char *section) argument 603 sa_proto_change_notify(sa_share_t share, char *proto) argument 625 sa_proto_notify_resource(sa_resource_t resource, char *proto) argument 649 sa_proto_get_featureset(char *proto) argument 676 sa_proto_get_transients(sa_handle_t handle, char *proto) argument 697 sa_proto_rename_resource(sa_handle_t handle, char *proto, sa_resource_t resource, char *newname) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_misc.c | 54 * we set the endpoint 'proto' to 'nc_netid' (i.e., "udp6" or "tcp6") 71 ep->proto = strdup(nc->nc_netid); 73 ep->proto = strdup(nc->nc_proto); 87 return (strcmp(nc->nc_netid, ep->proto) == 0 || 88 strcmp(nc->nc_proto, ep->proto) == 0); 90 return (strcmp(nc->nc_proto, ep->proto) == 0);
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | getserv.c | 79 if (e1->key.serv.proto == NULL && e2->key.serv.proto) 81 if (e1->key.serv.proto && e2->key.serv.proto == NULL) 83 if (e1->key.serv.proto) { 84 l1 = strlen(e1->key.serv.proto); 85 l2 = strlen(e2->key.serv.proto); 86 res = strncmp(e1->key.serv.proto, e2->key.serv.proto, 113 check_null(argp->key.serv.proto)); [all...] |
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | portnum.c | 19 int portnum(name, proto, port, linenum) 20 char *name, *proto; 36 if (proto != NULL && strcasecmp(proto, "tcp/udp") != 0) { 37 sp = getservbyname(name, proto);
|
H A D | getportproto.c | 9 int getportproto(name, proto) 11 int proto; 30 p = getprotobynumber(proto);
|
H A D | ports.c | 17 int ports(seg, proto, pp, cp, tp, linenum) 19 char *proto; 32 if (portnum(**seg, proto, pp, linenum) == 0) 51 if (portnum(**seg, proto, tp, linenum) == 0) 72 if (portnum(**seg, proto, pp, linenum) == 0)
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getservent.c | 49 getservbyname(const char *nam, const char *proto) argument 55 res = getservbyname_r(nam, proto, 62 getservbyport(int port, const char *proto) argument 68 res = getservbyport_r(port, proto,
|
H A D | getservbyname_r.c | 59 getservbyname_r(const char *name, const char *proto, struct servent *result, argument 73 nssin.arg.nss.serv.proto = proto; 93 getservbyport_r(int port, const char *proto, struct servent *result, argument 107 nssin.arg.nss.serv.proto = proto;
|
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | getrpcport.c | 35 getrpcport(char *host, int prognum, int versnum, int proto) argument 45 return (pmap_getport(&addr, prognum, versnum, proto));
|
/illumos-gate/usr/src/cmd/idmap/nltest/ |
H A D | Run.sh | 27 ROOT=${CODEMGR_WS}/proto/root_i386
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | cdefs.h | 71 # define SM_DEAD(proto) volatile proto 74 # define SM_DEAD(proto) proto __attribute__((__noreturn__)) 78 # define SM_DEAD(proto) proto
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | lpfsck.c | 50 static void proto (int, int, ...); 76 proto (D, 0, Lp_A, NULL, 0775, Lp_Uid, Lp_Gid); 77 proto (D, 1, Lp_A_Classes, NULL, 0775, Lp_Uid, Lp_Gid); 78 proto (D, 1, Lp_A_Forms, NULL, 0775, Lp_Uid, Lp_Gid); 79 proto (D, 1, Lp_A_Interfaces, NULL, 0775, Lp_Uid, Lp_Gid); 80 proto (D, 1, Lp_A_Printers, NULL, 0775, Lp_Uid, Lp_Gid); 81 proto (D, 1, Lp_A_PrintWheels, NULL, 0775, Lp_Uid, Lp_Gid); 82 proto (D, 0, "/var/lp", NULL, 0775, Lp_Uid, Lp_Gid); 83 proto (D, 1, Lp_Logs, NULL, 0775, Lp_Uid, Lp_Gid); 84 proto ( 217 proto(int type, int rm_ok, ...) function [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_pr.c | 51 struct protoent proto; member in struct:pvt 112 if (pvt->proto.p_aliases) 113 free(pvt->proto.p_aliases); 125 struct protoent *proto; local 131 proto = parse_hes_list(this, hes_list); 133 return (proto); 140 struct protoent *proto; local 148 proto = parse_hes_list(this, hes_list); 150 return (proto); 218 pvt->proto [all...] |
H A D | getservent.c | 58 getservbyname(const char *name, const char *proto) { argument 61 return (getservbyname_p(name, proto, net_data)); 65 getservbyport(int port, const char *proto) { argument 68 return (getservbyport_p(port, proto, net_data)); 98 getservbyname_p(const char *name, const char *proto, argument 106 if (!proto || !strcmp(net_data->sv_last->s_proto, proto)) { 114 net_data->sv_last = (*sv->byname)(sv, name, proto); 121 getservbyport_p(int port, const char *proto, struct net_data *net_data) { argument 128 ( !proto || [all...] |
/illumos-gate/usr/src/cmd/ipf/examples/ |
H A D | BASIC_1.FW | 25 block in log proto tcp all flags S/SA head 101 group 100 28 block in log proto tcp all flags S/SA head 201 group 200 29 block in log proto udp all head 202 group 200 60 pass in quick proto udp from any to any port = 53 keep state group 202 65 #pass in quick proto udp from any to w.x.y.z/32 port = 53 keep state group 202 66 #pass out quick on ppp0 proto udp from a.b.c.d/32 to any port = 53 keep state 70 pass in quick proto tcp from any to any port = ftp keep state group 201 71 pass in quick proto tcp from any to any port = ftp-data keep state group 201 72 pass in quick proto tcp from any port = ftp-data to any port > 1023 keep state group 101 76 pass in quick proto ud [all...] |
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/ |
H A D | sharectl.c | 44 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/libsocket/socket/ |
H A D | _soutil.c | 50 static struct netconfig *_s_match_netconf(int family, int type, int proto, 176 _s_match_netconf(int family, int type, int proto, void **nethandle) argument 184 proto < 0 || proto >= IPPROTO_MAX) { 188 if (proto) { 189 if (proto >= (int)sizeof (proto_sw) / (int)sizeof (char *)) 192 oproto = proto_sw[proto]; 215 if (proto) {
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | getrpcport.c | 37 getrpcport(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcprot_t proto) argument 47 return (pmap_getport(&addr, prognum, versnum, proto));
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getservent.c | 53 const char *proto = args->key.serv.proto; local 56 if (proto != 0 && strcmp(serv->s_proto, proto) != 0) { 86 if (argp->key.serv.proto == NULL) 105 if ((keyp = argp->key.serv.proto) == NULL) { 158 const char *proto = argp->key.serv.proto; local 173 if (proto == 0) { 177 int len = strlen(name) + strlen(proto) 278 const char *proto = argp->key.serv.proto; local [all...] |
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | udp_sum.c | 41 uint8_t proto; /* protocol used */ member in struct:pseudo_udp 51 const struct in_addr *dst, uint8_t proto) 70 ck.proto = proto; 50 udp_chksum(struct udphdr *udph, const struct in_addr *src, const struct in_addr *dst, uint8_t proto) argument
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ilb_ip.h | 92 #define ILB_SUPP_L4(proto) \ 93 ((proto) == IPPROTO_TCP || (proto) == IPPROTO_UDP || \ 94 (proto) == IPPROTO_ICMP || (proto) == IPPROTO_ICMPV6)
|
/illumos-gate/usr/src/cmd/mdb/tools/scripts/ |
H A D | mdb.sh | 42 # If we select the user's workspace, we also set $root to their proto area 45 if [ -n "$CODEMGR_WS" -a -x $CODEMGR_WS/proto/root_$mach/usr/bin/mdb ]; then 46 mdb_exec=$CODEMGR_WS/proto/root_$mach/usr/bin/mdb 47 root=$CODEMGR_WS/proto/root_$mach 63 elif [ -x $mdb_ws/proto/root_$mach/usr/bin/mdb ]; then 64 mdb_exec=$mdb_ws/proto/root_$mach/usr/bin/mdb 110 echo "\t-s<rel> Use proto area for specified release" 112 echo "\t-s<bld> Use proto area for specified build" 114 echo "\t-[0-9]+ Use proto area for specified build of $os_name" 115 echo "\t-B Use proto are [all...] |