Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_sg.c74 ilbd_sg_t *d_sg; in i_ilbd_alloc_sg() local
76 d_sg = calloc(sizeof (*d_sg), 1); in i_ilbd_alloc_sg()
77 if (d_sg == NULL) in i_ilbd_alloc_sg()
80 (void) strlcpy(d_sg->isg_name, name, sizeof (d_sg->isg_name)); in i_ilbd_alloc_sg()
82 list_create(&d_sg->isg_srvlist, sizeof (ilbd_srv_t), in i_ilbd_alloc_sg()
84 list_create(&d_sg->isg_rulelist, sizeof (ilbd_rule_t), in i_ilbd_alloc_sg()
87 list_insert_tail(&ilbd_sg_hlist, d_sg); in i_ilbd_alloc_sg()
89 return (d_sg); in i_ilbd_alloc_sg()
93 i_ilbd_save_sg(ilbd_sg_t *d_sg, ilbd_scf_cmd_t scf_cmd, const char *prop_name, in i_ilbd_save_sg() argument
98 return (ilbd_create_pg(ILBD_SCF_SG, (void *)d_sg)); in i_ilbd_save_sg()
[all …]