Deleted Added
full compact
29c29
< * $FreeBSD: stable/10/usr.sbin/ctld/ctld.h 279003 2015-02-19 14:33:46Z mav $
---
> * $FreeBSD: stable/10/usr.sbin/ctld/ctld.h 279006 2015-02-19 14:52:01Z mav $
121a122
> TAILQ_HEAD(, port) pg_ports;
126a128,140
> struct port {
> TAILQ_ENTRY(port) p_next;
> TAILQ_ENTRY(port) p_pgs;
> TAILQ_ENTRY(port) p_ts;
> struct conf *p_conf;
> char *p_name;
> struct auth_group *p_auth_group;
> struct portal_group *p_portal_group;
> struct target *p_target;
>
> uint32_t p_ctl_port;
> };
>
155c169
< struct portal_group *t_portal_group;
---
> TAILQ_HEAD(, port) t_ports;
159,160d172
<
< uint32_t t_ctl_port;
174a187
> TAILQ_HEAD(, port) conf_ports;
201a215
> struct port *conn_port;
319a334,340
> struct port *port_new(struct conf *conf, struct target *target,
> struct portal_group *pg);
> struct port *port_find(const struct conf *conf, const char *name);
> struct port *port_find_in_pg(const struct portal_group *pg,
> const char *target);
> void port_delete(struct port *port);
>
326,327d346
< void target_set_ctl_port(struct target *target,
< uint32_t value);
354,356c373,375
< int kernel_port_add(struct target *targ);
< int kernel_port_update(struct target *targ);
< int kernel_port_remove(struct target *targ);
---
> int kernel_port_add(struct port *port);
> int kernel_port_update(struct port *port);
> int kernel_port_remove(struct port *port);