Home
last modified time | relevance | path

Searched refs:hc_info (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_hc.c125 ilbadm_print_hc(ilb_handle_t h, ilb_hc_info_t *hc_info, void *arg) in ilbadm_print_hc() argument
129 ofmt_print(ofmt_h, hc_info); in ilbadm_print_hc()
161 ilb_hc_info_t hc_info; in ilbadm_show_hc() local
165 rclib = ilb_get_hc_info(h, argv[i], &hc_info); in ilbadm_show_hc()
167 ofmt_print(ofmt_h, &hc_info); in ilbadm_show_hc()
354 ilb_hc_info_t hc_info; in ilbadm_create_hc() local
360 hc_info.hci_def_ping = B_TRUE; in ilbadm_create_hc()
363 ret = ilbadm_hc_parse_arg(optarg, &hc_info); in ilbadm_create_hc()
367 hc_info.hci_def_ping = B_FALSE; in ilbadm_create_hc()
389 if (((strcasecmp(hc_info.hci_test, ILB_HC_STR_UDP) == 0) || in ilbadm_create_hc()
[all …]
H A Dilbadm_subr.c838 ilb_hc_info_t *hc_info = NULL; in i_store_val() local
873 hc_info = (ilb_hc_info_t *)store; in i_store_val()
1041 (void) strlcpy(hc_info->hci_test, (char *)val, in i_store_val()
1042 sizeof (hc_info->hci_test)); in i_store_val()
1046 hc_info->hci_count = atoi(val); in i_store_val()
1052 hc_info->hci_interval = atoi(val); in i_store_val()
1058 hc_info->hci_timeout = atoi(val); in i_store_val()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_hc.c203 ilbd_create_hc(const ilb_hc_info_t *hc_info, int ev_port, in ilbd_create_hc() argument
216 ilbd_audit_hc_event(NULL, hc_info, ILBD_CREATE_HC, in ilbd_create_hc()
222 if (hc_info->hci_name[0] == '\0') { in ilbd_create_hc()
224 ilbd_audit_hc_event(NULL, hc_info, ILBD_CREATE_HC, in ilbd_create_hc()
229 hc = ilbd_get_hc(hc_info->hci_name); in ilbd_create_hc()
232 " exists", hc_info->hci_name); in ilbd_create_hc()
233 ilbd_audit_hc_event(NULL, hc_info, ILBD_CREATE_HC, in ilbd_create_hc()
243 if (strcasecmp(hc_info->hci_test, ILB_HC_STR_TCP) != 0 && in ilbd_create_hc()
244 strcasecmp(hc_info->hci_test, ILB_HC_STR_UDP) != 0 && in ilbd_create_hc()
245 strcasecmp(hc_info->hci_test, ILB_HC_STR_PING) != 0 && in ilbd_create_hc()
[all …]
H A Dilbd_scf.c997 ilb_hc_info_t *hc_info; member
1002 #define hc_data data.hc_info
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_hc.c146 ilb_hc_info_t hc_info; in ilb_walk_hc() local
167 rc = ilb_get_hc_info(h, hc_names->ilbl_name[i], &hc_info); in ilb_walk_hc()
179 rc = func(h, &hc_info, arg); in ilb_walk_hc()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c145 static const topo_modinfo_t hc_info = variable
235 if (topo_mod_register(mod, &hc_info, TOPO_VERSION) != 0) { in hc_init()