1package netlink
2
3import "net"
4
5// SocketID identifies a single socket.
6type SocketID struct {
7	SourcePort      uint16
8	DestinationPort uint16
9	Source          net.IP
10	Destination     net.IP
11	Interface       uint32
12	Cookie          [2]uint32
13}
14
15// Socket represents a netlink socket.
16type Socket struct {
17	Family  uint8
18	State   uint8
19	Timer   uint8
20	Retrans uint8
21	ID      SocketID
22	Expires uint32
23	RQueue  uint32
24	WQueue  uint32
25	UID     uint32
26	INode   uint32
27}
28