mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	gofmt
This commit is contained in:
		
							parent
							
								
									55ee8f1afa
								
							
						
					
					
						commit
						a367f2ca17
					
				
					 2 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -28,9 +28,9 @@ type tunDevice struct {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
type tunDefaultParameters struct {
 | 
			
		||||
	maximumIfMTU	   int
 | 
			
		||||
	maximumIfMTU     int
 | 
			
		||||
	defaultIfMTU     int
 | 
			
		||||
	defaultIfName	   string
 | 
			
		||||
	defaultIfName    string
 | 
			
		||||
	defaultIfTAPMode bool
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,10 +29,10 @@ func getDefaults() tunDefaultParameters {
 | 
			
		|||
// different values
 | 
			
		||||
 | 
			
		||||
type tuninfo struct {
 | 
			
		||||
	tun_mtu     uint16
 | 
			
		||||
	tun_type    uint32
 | 
			
		||||
	tun_flags   uint32
 | 
			
		||||
	tun_dummy   uint16
 | 
			
		||||
	tun_mtu   uint16
 | 
			
		||||
	tun_type  uint32
 | 
			
		||||
	tun_flags uint32
 | 
			
		||||
	tun_dummy uint16
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const TUNSIFINFO = (0x80000000) | ((12 & 0x1fff) << 16) | uint32(byte('t'))<<8 | 91
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue