Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/ctld/ctld.h
Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | struct port { | ||||
TAILQ_ENTRY(port) p_ts; | TAILQ_ENTRY(port) p_ts; | ||||
struct conf *p_conf; | struct conf *p_conf; | ||||
char *p_name; | char *p_name; | ||||
struct auth_group *p_auth_group; | struct auth_group *p_auth_group; | ||||
struct portal_group *p_portal_group; | struct portal_group *p_portal_group; | ||||
struct pport *p_pport; | struct pport *p_pport; | ||||
struct target *p_target; | struct target *p_target; | ||||
int p_ioctl_port; | |||||
int p_ioctl_pp; | |||||
int p_ioctl_vp; | |||||
uint32_t p_ctl_port; | uint32_t p_ctl_port; | ||||
}; | }; | ||||
struct option { | struct option { | ||||
TAILQ_ENTRY(option) o_next; | TAILQ_ENTRY(option) o_next; | ||||
char *o_name; | char *o_name; | ||||
char *o_value; | char *o_value; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 200 Lines • ▼ Show 20 Lines | |||||
struct pport *pport_new(struct conf *conf, const char *name, | struct pport *pport_new(struct conf *conf, const char *name, | ||||
uint32_t ctl_port); | uint32_t ctl_port); | ||||
struct pport *pport_find(const struct conf *conf, const char *name); | struct pport *pport_find(const struct conf *conf, const char *name); | ||||
struct pport *pport_copy(struct pport *pport, struct conf *conf); | struct pport *pport_copy(struct pport *pport, struct conf *conf); | ||||
void pport_delete(struct pport *pport); | void pport_delete(struct pport *pport); | ||||
struct port *port_new(struct conf *conf, struct target *target, | struct port *port_new(struct conf *conf, struct target *target, | ||||
struct portal_group *pg); | struct portal_group *pg); | ||||
struct port *port_new_ioctl(struct conf *conf, struct target *target, | |||||
int pp, int vp); | |||||
struct port *port_new_pp(struct conf *conf, struct target *target, | struct port *port_new_pp(struct conf *conf, struct target *target, | ||||
struct pport *pp); | struct pport *pp); | ||||
struct port *port_find(const struct conf *conf, const char *name); | struct port *port_find(const struct conf *conf, const char *name); | ||||
struct port *port_find_in_pg(const struct portal_group *pg, | struct port *port_find_in_pg(const struct portal_group *pg, | ||||
const char *target); | const char *target); | ||||
void port_delete(struct port *port); | void port_delete(struct port *port); | ||||
int port_is_dummy(struct port *port); | int port_is_dummy(struct port *port); | ||||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |