Home
last modified time | relevance | path

Searched refs:irl (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_rules.c232 i_ilbd_save_rule(ilbd_rule_t *irl, ilbd_scf_cmd_t scf_cmd) in i_ilbd_save_rule() argument
234 boolean_t enable = irl->irl_flags & ILB_FLAGS_RULE_ENABLED; in i_ilbd_save_rule()
238 return (ilbd_create_pg(ILBD_SCF_RULE, (void *)irl)); in i_ilbd_save_rule()
240 return (ilbd_destroy_pg(ILBD_SCF_RULE, irl->irl_name)); in i_ilbd_save_rule()
242 return (ilbd_change_prop(ILBD_SCF_RULE, irl->irl_name, in i_ilbd_save_rule()
320 ilbd_rule_t *irl = NULL; in ilbd_retrieve_rule() local
324 irl = i_find_rule_byname(rl_name); in ilbd_retrieve_rule()
325 if (irl == NULL) in ilbd_retrieve_rule()
330 bcopy(&irl->irl_info, rinfo, sizeof (*rinfo)); in ilbd_retrieve_rule()
362 ilbd_destroy_one_rule(ilbd_rule_t *irl) in ilbd_destroy_one_rule() argument
[all …]
H A Dilbd_sg.c113 i_attach_rule2sg(ilbd_sg_t *sg, ilbd_rule_t *irl) in i_attach_rule2sg() argument
116 list_insert_tail(&sg->isg_rulelist, irl); in i_attach_rule2sg()
634 ilbd_rule_t *irl = list_head(&tmp_sg->isg_rulelist); in ilbd_add_server_to_group() local
636 if (irl != NULL) in ilbd_add_server_to_group()
637 af = GET_AF(&irl->irl_vip); in ilbd_add_server_to_group()
1064 ilbd_rule_t *irl; in ilbd_retrieve_names() local
1067 for (irl = list_head(&ilbd_rule_hlist); in ilbd_retrieve_names()
1068 irl != NULL && tmp_rbufsz >= sizeof (ilbd_name_t); in ilbd_retrieve_names()
1069 irl = list_next(&ilbd_rule_hlist, irl), in ilbd_retrieve_names()
1072 irl->irl_name, sizeof (ilbd_name_t)); in ilbd_retrieve_names()
[all …]
H A Dilbd.h169 #define RULE_HAS_HC(irl) ((irl)->irl_info.rl_hcname[0] != '\0') argument