Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_hc.c45 size_t ic_sz; in ilb_create_hc() local
52 if ((ic = i_ilb_alloc_req(ILBD_CREATE_HC, &ic_sz)) == NULL) in ilb_create_hc()
57 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in ilb_create_hc()
78 size_t ic_sz; in ilb_destroy_hc() local
83 if ((ic = i_ilb_alloc_req(ILBD_DESTROY_HC, &ic_sz)) == NULL) in ilb_destroy_hc()
88 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in ilb_destroy_hc()
108 size_t ic_sz, rbufsz; in ilb_get_hc_info() local
113 if ((ic = i_ilb_alloc_req(ILBD_GET_HC_INFO, &ic_sz)) == NULL) in ilb_get_hc_info()
123 rc = i_ilb_do_comm(h, ic, ic_sz, rbuf, &rbufsz); in ilb_get_hc_info()
193 size_t ic_sz; in ilb_get_hc_srvs() local
[all …]
H A Dilb_sg.c41 size_t ic_sz; in i_ilb_addrem_sg() local
49 if ((ic = i_ilb_alloc_req(cmd, &ic_sz)) == NULL) in i_ilb_addrem_sg()
54 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in i_ilb_addrem_sg()
86 size_t ic_sz; in i_ilb_addrem_server_to_group() local
96 if ((ic = i_ilb_alloc_req(cmd, &ic_sz)) == NULL) in i_ilb_addrem_server_to_group()
119 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in i_ilb_addrem_server_to_group()
179 size_t ic_sz; in i_ilb_retrieve_sg_hosts() local
181 if ((ic = i_ilb_alloc_req(ILBD_RETRIEVE_SG_HOSTS, &ic_sz)) == NULL) in i_ilb_retrieve_sg_hosts()
191 rc = i_ilb_do_comm(h, ic, ic_sz, tmp_rbuf, rbufsz); in i_ilb_retrieve_sg_hosts()
333 size_t ic_sz; in ilb_Xable_server() local
[all …]
H A Dilb_rules.c99 size_t ic_sz; in ilb_create_rule() local
105 if ((ic = i_ilb_alloc_req(ILBD_CREATE_RULE, &ic_sz)) == NULL) in ilb_create_rule()
138 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in ilb_create_rule()
155 size_t ic_sz; in i_ilb_rule_action() local
160 if ((ic = i_ilb_alloc_req(cmd, &ic_sz)) == NULL) in i_ilb_rule_action()
170 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in i_ilb_rule_action()
235 size_t ic_sz, rbufsz; in i_ilb_walk_one_rule() local
238 if ((ic = i_ilb_alloc_req(ILBD_RETRIEVE_RULE, &ic_sz)) == NULL) in i_ilb_walk_one_rule()
247 rc = i_ilb_do_comm(h, ic, ic_sz, rbuf, &rbufsz); in i_ilb_walk_one_rule()
H A Dilb_comm.c170 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() argument
206 r = send(s, ic, ic_sz, 0); in i_ilb_do_comm()
207 if (r < ic_sz) { in i_ilb_do_comm()
H A Dilb_subr.c373 i_ilb_alloc_req(ilbd_cmd_t cmd, size_t *ic_sz) in i_ilb_alloc_req() argument
420 *ic_sz = sz; in i_ilb_alloc_req()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c319 ilbd_check_req_size(ilb_comm_t *ic, size_t ic_sz) in ilbd_check_req_size() argument
333 if (ic_sz < ilbd_cmd_size(ic) + sg_info->sg_srvcount * in ilbd_check_req_size()
343 if (ic_sz < ilbd_cmd_size(ic) + nlist->ilbl_count * in ilbd_check_req_size()
359 consume_common_struct(ilb_comm_t *ic, size_t ic_sz, ilbd_client_t *cli, in consume_common_struct() argument
380 if (ic_sz < ilbd_cmd_size(ic)) { in consume_common_struct()
407 if ((rc = ilbd_check_req_size(ic, ic_sz)) != ILB_STATUS_OK) in consume_common_struct()
414 if ((rc = ilbd_check_req_size(ic, ic_sz)) != ILB_STATUS_OK) in consume_common_struct()
421 if ((rc = ilbd_check_req_size(ic, ic_sz)) != ILB_STATUS_OK) in consume_common_struct()
428 if ((rc = ilbd_check_req_size(ic, ic_sz)) != ILB_STATUS_OK) in consume_common_struct()