Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements a DHCP server that runs in the container network namespace.
func NewServer ¶
func NewServer(config *network.ContainerSideNetwork) *Server
NewServer returns an initialized instance of Server.
func (*Server) SetupListener ¶
SetupListener sets up a DHCP4 listener that listens on the default DHCP port and the specified IP address.
Click to show internal directories.
Click to hide internal directories.