Documentation ¶
Overview ¶
@@ @ Author : Eacher @ Date : 2023-06-29 15:13:47 @ LastEditTime : 2023-07-08 16:12:33 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /networkmanager/socket/rtnetlink/rtnetlink.go @@
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetlinkMessage ¶
type NetlinkMessage struct { Notify <-chan struct{} Message []*syscall.NetlinkMessage // contains filtered or unexported fields }
type RtnetlinkConn ¶
func NewRtnetlinkConn ¶
func NewRtnetlinkConn(dev string, ifi *net.Interface) (*RtnetlinkConn, error)
func (*RtnetlinkConn) Close ¶
func (rt *RtnetlinkConn) Close()
func (*RtnetlinkConn) Exchange ¶
func (rt *RtnetlinkConn) Exchange(wait, proto, flags uint16, data []byte) (*NetlinkMessage, error)
Click to show internal directories.
Click to hide internal directories.