mirror of
https://github.com/sigcn/pg.git
synced 2025-10-06 16:37:05 +08:00
netlink: add func AddrSubscribe on darwin
This commit is contained in:
9
netlink/addr.go
Normal file
9
netlink/addr.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package netlink
|
||||
|
||||
import "net"
|
||||
|
||||
type AddrUpdate struct {
|
||||
New bool
|
||||
Addr net.IPNet
|
||||
LinkIndex int
|
||||
}
|
Reference in New Issue
Block a user