Documentation ¶
Overview ¶
@@ @ Author : Eacher @ Date : 2023-06-29 15:13:47 @ LastEditTime : 2023-07-07 10:57:23 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /networkmanager/socket/dhcpv4/dhcpv4.go @@
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DhcpV4Conn ¶
func NewDhcpV4Conn ¶
func NewDhcpV4Conn(dev string, addr packet.IPv4) (*DhcpV4Conn, error)
func (*DhcpV4Conn) Discover ¶
func (v4 *DhcpV4Conn) Discover() (offer *packet.DhcpV4Packet, err error)
func (*DhcpV4Conn) Request ¶
func (v4 *DhcpV4Conn) Request(offer packet.DhcpV4Packet) (ack *packet.DhcpV4Packet, err error)
Click to show internal directories.
Click to hide internal directories.