Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/ctld/ctld.h
Show First 20 Lines • Show All 181 Lines • ▼ Show 20 Lines | struct target { | ||||
TAILQ_ENTRY(target) t_next; | TAILQ_ENTRY(target) t_next; | ||||
struct conf *t_conf; | struct conf *t_conf; | ||||
struct lun *t_luns[MAX_LUNS]; | struct lun *t_luns[MAX_LUNS]; | ||||
struct auth_group *t_auth_group; | struct auth_group *t_auth_group; | ||||
TAILQ_HEAD(, port) t_ports; | TAILQ_HEAD(, port) t_ports; | ||||
char *t_name; | char *t_name; | ||||
char *t_alias; | char *t_alias; | ||||
char *t_redirection; | char *t_redirection; | ||||
char *t_max_conn; | |||||
}; | }; | ||||
struct isns { | struct isns { | ||||
TAILQ_ENTRY(isns) i_next; | TAILQ_ENTRY(isns) i_next; | ||||
struct conf *i_conf; | struct conf *i_conf; | ||||
char *i_addr; | char *i_addr; | ||||
struct addrinfo *i_ai; | struct addrinfo *i_ai; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 200 Lines • ▼ Show 20 Lines | |||||
struct option *option_find(const struct options *os, const char *name); | struct option *option_find(const struct options *os, const char *name); | ||||
void option_set(struct option *o, const char *value); | void option_set(struct option *o, const char *value); | ||||
void kernel_init(void); | void kernel_init(void); | ||||
int kernel_lun_add(struct lun *lun); | int kernel_lun_add(struct lun *lun); | ||||
int kernel_lun_modify(struct lun *lun); | int kernel_lun_modify(struct lun *lun); | ||||
int kernel_lun_remove(struct lun *lun); | int kernel_lun_remove(struct lun *lun); | ||||
void kernel_handoff(struct connection *conn); | void kernel_handoff(struct connection *conn); | ||||
int kernel_maxconn(struct connection *conn); | |||||
void kernel_limits(const char *offload, | void kernel_limits(const char *offload, | ||||
size_t *max_data_segment_length); | size_t *max_data_segment_length); | ||||
int kernel_port_add(struct port *port); | int kernel_port_add(struct port *port); | ||||
int kernel_port_update(struct port *port, struct port *old); | int kernel_port_update(struct port *port, struct port *old); | ||||
int kernel_port_remove(struct port *port); | int kernel_port_remove(struct port *port); | ||||
void kernel_capsicate(void); | void kernel_capsicate(void); | ||||
#ifdef ICL_KERNEL_PROXY | #ifdef ICL_KERNEL_PROXY | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |