Source file src/vendor/golang.org/x/net/route/zsys_freebsd_386.go

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs defs_freebsd.go
     3  
     4  package route
     5  
     6  const (
     7  	sizeofIfMsghdrlFreeBSD10        = 0x68
     8  	sizeofIfaMsghdrFreeBSD10        = 0x14
     9  	sizeofIfaMsghdrlFreeBSD10       = 0x6c
    10  	sizeofIfmaMsghdrFreeBSD10       = 0x10
    11  	sizeofIfAnnouncemsghdrFreeBSD10 = 0x18
    12  
    13  	sizeofRtMsghdrFreeBSD10  = 0x5c
    14  	sizeofRtMetricsFreeBSD10 = 0x38
    15  
    16  	sizeofIfMsghdrFreeBSD7  = 0x60
    17  	sizeofIfMsghdrFreeBSD8  = 0x60
    18  	sizeofIfMsghdrFreeBSD9  = 0x60
    19  	sizeofIfMsghdrFreeBSD10 = 0x64
    20  	sizeofIfMsghdrFreeBSD11 = 0xa8
    21  
    22  	sizeofIfDataFreeBSD7  = 0x50
    23  	sizeofIfDataFreeBSD8  = 0x50
    24  	sizeofIfDataFreeBSD9  = 0x50
    25  	sizeofIfDataFreeBSD10 = 0x54
    26  	sizeofIfDataFreeBSD11 = 0x98
    27  
    28  	// MODIFIED BY HAND FOR 386 EMULATION ON AMD64
    29  	// 386 EMULATION USES THE UNDERLYING RAW DATA LAYOUT
    30  
    31  	sizeofIfMsghdrlFreeBSD10Emu        = 0xb0
    32  	sizeofIfaMsghdrFreeBSD10Emu        = 0x14
    33  	sizeofIfaMsghdrlFreeBSD10Emu       = 0xb0
    34  	sizeofIfmaMsghdrFreeBSD10Emu       = 0x10
    35  	sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18
    36  
    37  	sizeofRtMsghdrFreeBSD10Emu  = 0x98
    38  	sizeofRtMetricsFreeBSD10Emu = 0x70
    39  
    40  	sizeofIfMsghdrFreeBSD7Emu  = 0xa8
    41  	sizeofIfMsghdrFreeBSD8Emu  = 0xa8
    42  	sizeofIfMsghdrFreeBSD9Emu  = 0xa8
    43  	sizeofIfMsghdrFreeBSD10Emu = 0xa8
    44  	sizeofIfMsghdrFreeBSD11Emu = 0xa8
    45  
    46  	sizeofIfDataFreeBSD7Emu  = 0x98
    47  	sizeofIfDataFreeBSD8Emu  = 0x98
    48  	sizeofIfDataFreeBSD9Emu  = 0x98
    49  	sizeofIfDataFreeBSD10Emu = 0x98
    50  	sizeofIfDataFreeBSD11Emu = 0x98
    51  
    52  	sizeofSockaddrStorage = 0x80
    53  	sizeofSockaddrInet    = 0x10
    54  	sizeofSockaddrInet6   = 0x1c
    55  )
    56  

View as plain text