Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/ctld/ctld.hh
| Show First 20 Lines • Show All 263 Lines • ▼ Show 20 Lines | |||||
| struct port { | struct port { | ||||
| port(struct target *target); | port(struct target *target); | ||||
| virtual ~port() = default; | virtual ~port() = default; | ||||
| struct target *target() const { return p_target; } | struct target *target() const { return p_target; } | ||||
| virtual struct auth_group *auth_group() const { return nullptr; } | virtual struct auth_group *auth_group() const { return nullptr; } | ||||
| virtual struct portal_group *portal_group() const { return nullptr; } | virtual struct portal_group *portal_group() const { return nullptr; } | ||||
| virtual bool is_dummy() const { return true; } | virtual bool is_dummy() const { return false; } | ||||
| virtual void clear_references(); | virtual void clear_references(); | ||||
| bool kernel_add(); | bool kernel_add(); | ||||
| bool kernel_update(const port *oport); | bool kernel_update(const port *oport); | ||||
| bool kernel_remove(); | bool kernel_remove(); | ||||
| virtual bool kernel_create_port() = 0; | virtual bool kernel_create_port() = 0; | ||||
| ▲ Show 20 Lines • Show All 357 Lines • Show Last 20 Lines | |||||