 b69bbe25ac
			
		
	
	b69bbe25ac
	
	
	
		
			
			* Bump k8s.io/cri-api to latest version - v0.23.0-alpha.4 * Vendor github.com/vishvananda/netlink for network stats Signed-off-by: David Porter <porterdavid@google.com>
		
			
				
	
	
		
			28 lines
		
	
	
		
			464 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			464 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package netlink
 | |
| 
 | |
| import "net"
 | |
| 
 | |
| // SocketID identifies a single socket.
 | |
| type SocketID struct {
 | |
| 	SourcePort      uint16
 | |
| 	DestinationPort uint16
 | |
| 	Source          net.IP
 | |
| 	Destination     net.IP
 | |
| 	Interface       uint32
 | |
| 	Cookie          [2]uint32
 | |
| }
 | |
| 
 | |
| // Socket represents a netlink socket.
 | |
| type Socket struct {
 | |
| 	Family  uint8
 | |
| 	State   uint8
 | |
| 	Timer   uint8
 | |
| 	Retrans uint8
 | |
| 	ID      SocketID
 | |
| 	Expires uint32
 | |
| 	RQueue  uint32
 | |
| 	WQueue  uint32
 | |
| 	UID     uint32
 | |
| 	INode   uint32
 | |
| }
 |