Documentation
¶
Overview ¶
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HookMulti ¶
type HookMulti struct {
WithState
// contains filtered or unexported fields
}
HookMulti is a Task that runs 2 SingleHook
func NewMultiHook ¶
Creates a new MultiHook
type TaskBlackhole ¶
type TaskBlackhole struct {
WithState
// contains filtered or unexported fields
}
TaskBlackhole
func NewTaskBlackhole ¶
func NewTaskBlackhole(table_name string) *TaskBlackhole
Create a new TaskBlackhole
type TaskDummyIface ¶
type TaskDummyIface struct {
WithState
// contains filtered or unexported fields
}
TaskDummyIface
func NewTaskDummyIface ¶
func NewTaskDummyIface(name string) *TaskDummyIface
Create a new Task for DummyIface
func (*TaskDummyIface) RunInit ¶
func (t *TaskDummyIface) RunInit() error
Create and set up the Iface
type TaskIPRule ¶
type TaskIPRule struct {
WithState
// contains filtered or unexported fields
}
TaskIPRule
func NewTaskIP4Rule ¶
func NewTaskIP4Rule(prefix string, tablename string) *TaskIPRule
Create a new Task for IPRule
func NewTaskIP6Rule ¶
func NewTaskIP6Rule(prefix string, tablename string) *TaskIPRule
Create a new Task for IPRule
type TaskLinuxEndpoint ¶
type TaskLinuxEndpoint struct {
WithState
// contains filtered or unexported fields
}
TaskLinuxEndpoint creates a new linux endpoint
func NewTaskLinuxEndpoint ¶
func NewTaskLinuxEndpoint(endpoint *config.Endpoint, table_name string, iface_name string) *TaskLinuxEndpoint
Create a new TaskLinuxEndpoint
type TaskLinuxHeadend ¶
type TaskLinuxHeadend struct {
WithState
// contains filtered or unexported fields
}
TaskLinuxHeadend creates a new linux headend
func NewTaskLinuxHeadend ¶
func NewTaskLinuxHeadend(headend *config.Headend, table_name string, iface_name string) *TaskLinuxHeadend
Create a new TaskLinuxHeadend
type TaskLinuxHeadendSetSourceAddress ¶
type TaskLinuxHeadendSetSourceAddress struct {
WithState
// contains filtered or unexported fields
}
TaskLinuxHeadendSetSourceAddress
func NewTaskLinuxHeadendSetSourceAddress ¶
func NewTaskLinuxHeadendSetSourceAddress(address string) *TaskLinuxHeadendSetSourceAddress
Create a new TaskLinuxHeadendSetSourceAddress
func (*TaskLinuxHeadendSetSourceAddress) RunExit ¶
func (t *TaskLinuxHeadendSetSourceAddress) RunExit() error
Exit
func (*TaskLinuxHeadendSetSourceAddress) RunInit ¶
func (t *TaskLinuxHeadendSetSourceAddress) RunInit() error
Init
type TaskNextMNEndpoint ¶
type TaskNextMNEndpoint struct {
WithState
// contains filtered or unexported fields
}
TaskNextMNEndpoint creates a new endpoint
func NewTaskNextMNEndpoint ¶
func NewTaskNextMNEndpoint(endpoint *config.Endpoint, table_name string, iface_name string, registry app_api.Registry, debug bool) *TaskNextMNEndpoint
Create a new TaskNextMNEndpoint
type TaskNextMNHeadend ¶
type TaskNextMNHeadend struct {
WithState
// contains filtered or unexported fields
}
TaskNextMNHeadend creates a new headend
func NewTaskNextMNHeadend ¶
func NewTaskNextMNHeadend(headend *config.Headend, table_name string, iface_name string, registry app_api.Registry, debug bool) *TaskNextMNHeadend
Create a new TaskNextMNHeadend
type TaskTunIface ¶
type TaskTunIface struct {
WithState
// contains filtered or unexported fields
}
TaskTunIface
func NewTaskTunIface ¶
func NewTaskTunIface(name string, registry app_api.Registry) *TaskTunIface
Create a new Task for TunIface