Home
last modified time | relevance | path

Searched refs:proto_name (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dwait.c55 char *proto_name; member
184 char *proto_name) in register_method() argument
220 if (proto_name != NULL) { in register_method()
221 if ((me->proto_name = strdup(proto_name)) == NULL) { in register_method()
228 me->proto_name = NULL; in register_method()
241 if (me->proto_name != NULL) in register_method()
242 free(me->proto_name); in register_method()
256 if (me->proto_name != NULL) in register_method()
257 free(me->proto_name); in register_method()
287 if (me->proto_name != NULL) in unregister_method()
[all …]
H A Dinetd.c834 poll_bound_fds(instance_t *instance, boolean_t listen, char *proto_name) in poll_bound_fds() argument
843 if (proto_name == NULL || in poll_bound_fds()
844 strcmp(pi->proto, proto_name) == 0) { in poll_bound_fds()
2174 process_start_term(instance_t *inst, char *proto_name) in process_start_term() argument
2213 if (proto_name == NULL || in process_start_term()
2214 strcmp(pi->proto, proto_name) == 0) in process_start_term()
2219 if (poll_bound_fds(inst, B_TRUE, proto_name) != in process_start_term()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c570 if (proto_name == NULL) { in new_alg()
757 proto_name, ipsecalgs_diag(rc)); in new_proto()
767 if (proto_name == NULL) { in remove_alg()
808 if (proto_name == NULL) { in remove_proto()
832 if (proto_name == NULL) { in set_exec_mode()
840 proto_name); in set_exec_mode()
924 char *proto_name; in dump_proto() local
930 proto_id, proto_name != NULL ? proto_name : gettext("<unknown>")); in dump_proto()
950 free(proto_name); in dump_proto()
1081 if (proto_name != NULL) in main()
[all …]
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dalgs.c229 protos[i].proto_num, protos[i].proto_name)); in write_new_algfile()
637 free(proto->proto_name); in delipsecproto_common()
650 addipsecproto(const char *proto_name, int proto_num, in addipsecproto() argument
665 if ((strcmp(proto_name, current_proto->proto_name) == 0) && in addipsecproto()
680 if (strcmp(protos[i].proto_name, proto_name) == 0) { in addipsecproto()
703 new_proto->proto_name = strdup(proto_name); in addipsecproto()
704 if (new_proto->proto_name == NULL) { in addipsecproto()
736 delipsecprotobyname(const char *proto_name) in delipsecprotobyname() argument
740 proto_num = getipsecprotobyname(proto_name); in delipsecprotobyname()
H A Dipsec_util.h278 char *proto_name; member
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c57 free(proto[num].proto_name); in _clean_trash()
193 char *proto_name, *params_string; in build_list() local
247 proto_name = token; in build_list()
275 new_proto->proto_name = strdup(proto_name); in build_list()
276 if (new_proto->proto_name == NULL) in build_list()
780 if (strcasecmp(protos[i].proto_name, name) == 0) in findprotobyname()
918 getipsecprotobyname(const char *proto_name) in getipsecprotobyname() argument
926 proto = findprotobyname(proto_name); in getipsecprotobyname()
944 rc = strdup(proto->proto_name); in getipsecprotobynum()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dfsm.h128 char *proto_name; /* String name for protocol (for messages) */ member
H A Dipcp.c1990 char *proto_name = ipcp_protent.name; local
1993 (void) flprintf(strptr, "%s disabled\n", proto_name);
1997 (void) flprintf(strptr, "%s state: %s", proto_name,
1999 (void) flprintf(strptr, "%s local %I remote %I", proto_name, go->ouraddr,
H A Dfsm.c48 #define PROTO_NAME(f) ((f)->callbacks->proto_name)