mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-04 07:49:35 +00:00 
			
		
		
		
	This commit changes vishvananda/netlink binds godep version to: 49a735373919c4c9a53aff1f9f63da73a243f32d And adds vishvananda/netns with version: 8ba1072b58e0c2a240eb5f6120165c7776c3e7b8
		
			
				
	
	
		
			15 lines
		
	
	
		
			282 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			282 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package netlink
 | 
						|
 | 
						|
// ideally golang.org/x/sys/unix would define IfReq but it only has
 | 
						|
// IFNAMSIZ, hence this minimalistic implementation
 | 
						|
const (
 | 
						|
	SizeOfIfReq = 40
 | 
						|
	IFNAMSIZ    = 16
 | 
						|
)
 | 
						|
 | 
						|
type ifReq struct {
 | 
						|
	Name  [IFNAMSIZ]byte
 | 
						|
	Flags uint16
 | 
						|
	pad   [SizeOfIfReq - IFNAMSIZ - 2]byte
 | 
						|
}
 |