Home
last modified time | relevance | path

Searched refs:sstate (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c71 shut_down_scf(scf_state_t *sstate) in shut_down_scf() argument
73 scf_instance_destroy(sstate->ss_inst); in shut_down_scf()
74 (void) scf_handle_unbind(sstate->ss_handle); in shut_down_scf()
75 scf_handle_destroy(sstate->ss_handle); in shut_down_scf()
99 scf_state_t *sstate) in bind_instance() argument
103 (void) memset(sstate, 0, sizeof (*sstate)); in bind_instance()
105 if ((sstate->ss_handle = scf_handle_create(SCF_VERSION)) == NULL) in bind_instance()
108 if (scf_handle_bind(sstate->ss_handle) != 0) in bind_instance()
110 sstate->ss_inst = scf_instance_create(sstate->ss_handle); in bind_instance()
111 if (sstate->ss_inst == NULL) in bind_instance()
[all …]
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c234 static struct select_state sstate;
472 FD_SET(s4, &sstate.rfds); in setup_tcp_listener_ports()
473 if (s4 >= sstate.max) in setup_tcp_listener_ports()
474 sstate.max = s4 + 1; in setup_tcp_listener_ports()
483 FD_SET(s6, &sstate.rfds); in setup_tcp_listener_ports()
484 if (s6 >= sstate.max) in setup_tcp_listener_ports()
485 sstate.max = s6 + 1; in setup_tcp_listener_ports()
565 FD_SET (sock, &sstate.rfds); in setup_udp_port()
566 if (sock >= sstate.max) in setup_udp_port()
567 sstate.max = sock + 1; in setup_udp_port()
[all …]
/titanic_41/usr/src/lib/libsip/common/
H A Dsip_dialog.c892 const sip_str_t *sstate; in sip_complete_dialog() local
920 sstate = sip_get_substate((sip_msg_t)sip_msg, &error); in sip_complete_dialog()
921 if (sstate == NULL || error != 0) { in sip_complete_dialog()
925 if ((sstate->sip_str_len != strlen("pending") && in sip_complete_dialog()
926 sstate->sip_str_len != strlen("active")) || in sip_complete_dialog()
927 ((sstate->sip_str_len == strlen("pending") && in sip_complete_dialog()
928 strncasecmp(sstate->sip_str_ptr, "pending", in sip_complete_dialog()
930 (sstate->sip_str_len == strlen("active") && in sip_complete_dialog()
931 strncasecmp(sstate->sip_str_ptr, "active", in sip_complete_dialog()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dupap.c127 static const char *sstate[] = { UPAPSS__NAMES }; local
130 if (serverstate < 0 || serverstate >= Dim(sstate)) {
134 return (sstate[serverstate]);
H A Dchap.c141 static const char *sstate[] = { CHAPSS__LIST }; in chap_sstate() local
144 if (serverstate < 0 || serverstate >= Dim(sstate)) { in chap_sstate()
148 return sstate[serverstate]; in chap_sstate()