Lines Matching defs:proto_options
2492 } proto_options[] = {
2578 for (i = 0; proto_options[i].tag != NULL; i++) {
2580 if (strcasecmp(proto_options[i].name, name) == 0)
2583 if (strcasecmp(proto_options[i].tag, name) == 0)
2642 prop = sa_create_property(proto_options[index].name, value);
2725 for (i = 0; proto_options[i].tag != NULL; i++) {
2730 (void) strncpy(name, proto_options[i].name, PATH_MAX);
2732 ptype = getscftype(proto_options[i].type);
2733 svc_name = getsvcname(proto_options[i].svcs);
2763 for (i = 0; proto_options[i].tag != NULL; i++) {
2766 proto_options[i].name);
2769 switch (proto_options[i].type) {
2772 proto_options[i].defvalue.intval);
2773 prop = sa_create_property(proto_options[i].name,
2778 prop = sa_create_property(proto_options[i].name,
2779 proto_options[i].defvalue.intval ?
2784 prop = sa_create_property(proto_options[i].name,
2785 proto_options[i].defvalue.intval ?
2791 prop = sa_create_property(proto_options[i].name,
2994 if (proto_options[index].other != NULL) {
2997 prop = sa_get_property(opts, proto_options[index].other);
3007 if (proto_options[index].compare ==
3010 } else if (proto_options[index].compare ==
3032 * value as well as specified in the proto_options members other and
3044 switch (proto_options[index].type) {
3051 if (val < proto_options[index].minval ||
3052 val > proto_options[index].maxval)
3155 sctype = getscftype(proto_options[index].type);
3156 svc_name = getsvcname(proto_options[index].svcs);
3168 restart_service(proto_options[index].svcs);