/titanic_41/usr/src/lib/libilb/common/ |
H A D | libilb.h | 154 typedef struct ilb_handle *ilb_handle_t; typedef 320 typedef ilb_status_t (* sg_walkerfunc_t)(ilb_handle_t, ilb_sg_data_t *, 322 typedef ilb_status_t (* srv_walkerfunc_t)(ilb_handle_t, ilb_server_data_t *, 324 typedef ilb_status_t (* rule_walkerfunc_t)(ilb_handle_t, ilb_rule_data_t *, 326 typedef ilb_status_t (* hc_walkerfunc_t)(ilb_handle_t, ilb_hc_info_t *, 328 typedef ilb_status_t (* hc_srvwalkerfunc_t)(ilb_handle_t, ilb_hc_srv_t *, 335 ilb_status_t ilb_open(ilb_handle_t *); 340 ilb_status_t ilb_close(ilb_handle_t); 343 ilb_status_t ilb_reset_config(ilb_handle_t); 347 ilb_status_t ilb_create_rule(ilb_handle_t, const ilb_rule_data_t *); [all …]
|
H A D | ilb_sg.c | 37 i_ilb_addrem_sg(ilb_handle_t h, const char *sgname, ilbd_cmd_t cmd) in i_ilb_addrem_sg() 66 ilb_destroy_servergroup(ilb_handle_t h, const char *sgname) in ilb_destroy_servergroup() 72 ilb_create_servergroup(ilb_handle_t h, const char *sgname) in ilb_create_servergroup() 78 i_ilb_addrem_server_to_group(ilb_handle_t h, const char *sgname, in i_ilb_addrem_server_to_group() 132 ilb_add_server_to_group(ilb_handle_t h, const char *sgname, in ilb_add_server_to_group() 140 ilb_rem_server_from_group(ilb_handle_t h, const char *sgname, in ilb_rem_server_from_group() 148 i_ilb_retrieve_sg_names(ilb_handle_t h, ilb_comm_t **rbuf, size_t *rbufsz) in i_ilb_retrieve_sg_names() 174 i_ilb_retrieve_sg_hosts(ilb_handle_t h, const char *sgname, ilb_comm_t **rbuf, in i_ilb_retrieve_sg_hosts() 220 i_ilb_walk_one_sg(ilb_handle_t h, void *f, const char *sgname, void *arg, in i_ilb_walk_one_sg() 274 i_walk_sgs(ilb_handle_t h, void *f, const char *sgname, in i_walk_sgs() [all …]
|
H A D | ilb_rules.c | 40 i_drop_hc(ilb_handle_t h, ilb_hc_info_t *hc, void *arg) in i_drop_hc() 47 i_drop_rule(ilb_handle_t h, ilb_rule_data_t *rd, void *arg) in i_drop_rule() 54 i_drop_sg_srvs(ilb_handle_t h, ilb_server_data_t *srv, const char *sgname, in i_drop_sg_srvs() 62 i_drop_sg(ilb_handle_t h, ilb_sg_data_t *sg, void *arg) in i_drop_sg() 74 ilb_reset_config(ilb_handle_t h) in ilb_reset_config() 95 ilb_create_rule(ilb_handle_t h, const ilb_rule_data_t *rd) in ilb_create_rule() 151 i_ilb_rule_action(ilb_handle_t h, const char *name, ilbd_cmd_t cmd) in i_ilb_rule_action() 183 ilb_destroy_rule(ilb_handle_t h, const char *name) in ilb_destroy_rule() 189 ilb_enable_rule(ilb_handle_t h, const char *name) in ilb_enable_rule() 195 ilb_disable_rule(ilb_handle_t h, const char *name) in ilb_disable_rule() [all …]
|
H A D | ilb_comm.c | 41 i_ilb_socket_set_err(ilb_handle_t h, ilb_status_t err) in i_ilb_socket_set_err() 52 ilb_open(ilb_handle_t *hp) in ilb_open() 110 *hp = (ilb_handle_t)hi; in ilb_open() 119 ilb_close(ilb_handle_t h) in ilb_close() 168 i_ilb_do_comm(ilb_handle_t h, ilb_comm_t *ic, size_t ic_sz, ilb_comm_t *rbuf, in i_ilb_do_comm() 232 i_ilb_close_comm(ilb_handle_t h) in i_ilb_close_comm()
|
H A D | ilb_nat.c | 42 static ilb_status_t ilb_show_info(ilb_handle_t, char *, size_t *, boolean_t *, 61 ilb_show_nat(ilb_handle_t h, ilb_nat_info_t buf[], size_t *num, in ilb_show_nat() 83 ilb_show_persist(ilb_handle_t h, ilb_persist_info_t buf[], size_t *num, in ilb_show_persist() 94 ilb_show_info(ilb_handle_t h, char *buf, size_t *num, boolean_t *end, in ilb_show_info()
|
H A D | ilb_hc.c | 41 ilb_create_hc(ilb_handle_t h, const ilb_hc_info_t *hc) in ilb_create_hc() 74 ilb_destroy_hc(ilb_handle_t h, const char *hcname) in ilb_destroy_hc() 104 ilb_get_hc_info(ilb_handle_t h, const char *name, ilb_hc_info_t *hcp) in ilb_get_hc_info() 143 ilb_walk_hc(ilb_handle_t h, hc_walkerfunc_t func, void *arg) in ilb_walk_hc() 188 ilb_get_hc_srvs(ilb_handle_t h, const char *rulename, ilb_comm_t **rbuf, in ilb_get_hc_srvs() 223 ilb_walk_hc_srvs(ilb_handle_t h, hc_srvwalkerfunc_t fn, const char *rulename, in ilb_walk_hc_srvs()
|
H A D | libilb_impl.h | 240 ilb_status_t i_ilb_do_comm(ilb_handle_t, ilb_comm_t *, size_t, ilb_comm_t *, 242 void i_ilb_close_comm(ilb_handle_t); 245 ilb_status_t i_ilb_retrieve_rule_names(ilb_handle_t, ilb_comm_t **,
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_hc.c | 125 ilbadm_print_hc(ilb_handle_t h, ilb_hc_info_t *hc_info, void *arg) in ilbadm_print_hc() 141 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_show_hc() 249 ilbadm_print_hc_result(ilb_handle_t h, ilb_hc_srv_t *srv, void *arg) in ilbadm_print_hc_result() 263 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_show_hc_result() 353 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_create_hc() 418 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_destroy_hc() 455 ilbadm_export_hcinfo(ilb_handle_t h, ilb_hc_info_t *hc_info, void *arg) in ilbadm_export_hcinfo() 507 ilbadm_export_hc(ilb_handle_t h, FILE *fp) in ilbadm_export_hc()
|
H A D | ilbadm_sg.c | 167 ilbadm_list_sg_srv(ilb_handle_t h, ilb_server_data_t *sd, const char *sgname, in ilbadm_list_sg_srv() 223 ilbadm_list_sg(ilb_handle_t h, ilb_sg_data_t *sg, void *arg) in ilbadm_list_sg() 241 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_show_servergroups() 355 i_mod_sg(ilb_handle_t h, ilbadm_sgroup_t *sgp, ilbadm_cmd_t cmd, in i_mod_sg() 437 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_create_servergroup() 518 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_add_server_to_group() 577 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_Xable_server() 656 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_rem_server_from_group() 709 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_destroy_servergroup() 780 ilbadm_export_a_srv(ilb_handle_t h, ilb_server_data_t *srv, const char *sgname, in ilbadm_export_a_srv() [all …]
|
H A D | ilbadm.h | 217 ilbadm_status_t ilbadm_export_servergroups(ilb_handle_t h, FILE *); 218 ilbadm_status_t ilbadm_export_hc(ilb_handle_t h, FILE *); 219 ilbadm_status_t ilbadm_export_rules(ilb_handle_t h, FILE *);
|
H A D | ilbadm_rules.c | 122 ilb_handle_t h; 481 srv2srvID(ilb_handle_t h, ilb_server_data_t *sd, const char *sgname, void *arg) in srv2srvID() 566 ilbadm_show_onerule(ilb_handle_t h, ilb_rule_data_t *rd, void *arg) in ilbadm_show_onerule() 634 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_show_rules() 778 i_show_rl_srv(ilb_handle_t h, ilb_server_data_t *sd, const char *sgname, in i_show_rl_srv() 794 ilbadm_show_rl_servers(ilb_handle_t h, ilb_rule_data_t *rd, void *arg) in ilbadm_show_rl_servers() 846 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_show_server() 952 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_destroy_rule() 1013 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_Xable_rule() 1069 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_create_rule() [all …]
|
H A D | ilbadm_import.c | 337 ilb_handle_t h = ILB_INVALID_HANDLE; in ilb_import_file() 379 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_export()
|
H A D | ilbadm_nat.c | 127 ilb_handle_t h = ILB_INVALID_HANDLE; in ilbadm_show_info()
|