15 lines
285 B
Go
15 lines
285 B
Go
package netsplit
|
|
|
|
import (
|
|
"go4.org/netipx"
|
|
"net/netip"
|
|
)
|
|
|
|
// Split splits the network defined in a HostSplitter alongside its configuration and performs the subnetting.
|
|
func (h *HostSplitter) Split() (nets []*netip.Prefix, remaining *netipx.IPSet, err error) {
|
|
|
|
// TODO
|
|
|
|
return
|
|
}
|