Searched refs:proto (Results 1 - 25 of 270) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Dsvc-forwarding39 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 \
/illumos-gate/usr/src/lib/libpp/common/
H A Dppproto.c28 * define PROTOMAIN for standalone proto
49 #define MAGICGEN "/* : : generated by proto : : */\n"
51 #define MAGICDIR "pragma" /* proto magic directive */
52 #define MAGICARG "prototyped" /* proto magic directive arg */
58 struct proto /* proto buffer state */ struct
92 * proto is separate from pp so these undef's are ok
261 p = strcopy(buf, "proto: ");
264 register struct proto* proto local
336 linesync(register struct proto* proto, register char* p, register long n) argument
359 init(struct proto* proto, char* op, int flags) argument
543 lex(register struct proto* proto, register long flags) argument
2104 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto)); local
2125 register struct proto* proto; local
2448 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto)); local
2547 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto)); local
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dplugin.c80 * 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 Dnis_misc.c54 * 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 Dgetserv.c79 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 Dportnum.c19 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 Dgetportproto.c9 int getportproto(name, proto)
11 int proto;
30 p = getprotobynumber(proto);
H A Dports.c17 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 Dgetservent.c49 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 Dgetservbyname_r.c59 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 Dgetrpcport.c35 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 DRun.sh27 ROOT=${CODEMGR_WS}/proto/root_i386
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dcdefs.h71 # 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 Dlpfsck.c48 static void proto (int, int, ...);
74 proto (D, 0, Lp_A, NULL, 0775, Lp_Uid, Lp_Gid);
75 proto (D, 1, Lp_A_Classes, NULL, 0775, Lp_Uid, Lp_Gid);
76 proto (D, 1, Lp_A_Forms, NULL, 0775, Lp_Uid, Lp_Gid);
77 proto (D, 1, Lp_A_Interfaces, NULL, 0775, Lp_Uid, Lp_Gid);
78 proto (D, 1, Lp_A_Printers, NULL, 0775, Lp_Uid, Lp_Gid);
79 proto (D, 1, Lp_A_PrintWheels, NULL, 0775, Lp_Uid, Lp_Gid);
80 proto (D, 0, "/var/lp", NULL, 0775, Lp_Uid, Lp_Gid);
81 proto (D, 1, Lp_Logs, NULL, 0775, Lp_Uid, Lp_Gid);
82 proto (
215 proto(int type, int rm_ok, ...) function
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns_pr.c47 struct protoent proto; member in struct:pvt
108 if (pvt->proto.p_aliases)
109 free(pvt->proto.p_aliases);
121 struct protoent *proto; local
127 proto = parse_hes_list(this, hes_list);
129 return (proto);
136 struct protoent *proto; local
144 proto = parse_hes_list(this, hes_list);
146 return (proto);
214 pvt->proto
[all...]
H A Dgetservent.c54 getservbyname(const char *name, const char *proto) { argument
57 return (getservbyname_p(name, proto, net_data));
61 getservbyport(int port, const char *proto) { argument
64 return (getservbyport_p(port, proto, net_data));
94 getservbyname_p(const char *name, const char *proto, argument
102 if (!proto || !strcmp(net_data->sv_last->s_proto, proto)) {
110 net_data->sv_last = (*sv->byname)(sv, name, proto);
117 getservbyport_p(int port, const char *proto, struct net_data *net_data) { argument
124 ( !proto ||
[all...]
/illumos-gate/usr/src/cmd/ipf/examples/
H A DBASIC_1.FW25 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 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/libsocket/socket/
H A D_soutil.c50 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 Dgetrpcport.c37 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/test/libc-tests/tests/select/
H A Dselect_test.c54 fd_set check, proto; local
69 FD_ZERO(&proto);
97 FD_SET(i, &proto);
112 print_set(&proto, 80);
114 memcpy(&check, &proto, sizeof (check));
119 if (memcmp(&check, &proto, sizeof (check)) != 0) {
120 diff_sets(&check, &proto, sizeof (check));
121 warnx("fd set mismatch: check: %p proto: %p", &check, &proto);
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A DRun.sh19 # using binaries from the proto area.
26 ROOT=${CODEMGR_WS}/proto/root_i386
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetservent.c53 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 Dudp_sum.c41 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 Dilb_ip.h92 #define ILB_SUPP_L4(proto) \
93 ((proto) == IPPROTO_TCP || (proto) == IPPROTO_UDP || \
94 (proto) == IPPROTO_ICMP || (proto) == IPPROTO_ICMPV6)

Completed in 506 milliseconds

1234567891011