github.com/lianghucheng/zrddz@v0.0.0-20200923083010-c71f680932e2/src/golang.org/x/net/route/zsys_freebsd_amd64.go (about) 1 // Created by cgo -godefs - DO NOT EDIT 2 // cgo -godefs defs_freebsd.go 3 4 package route 5 6 const ( 7 sysAF_UNSPEC = 0x0 8 sysAF_INET = 0x2 9 sysAF_ROUTE = 0x11 10 sysAF_LINK = 0x12 11 sysAF_INET6 = 0x1c 12 13 sysSOCK_RAW = 0x3 14 15 sysNET_RT_DUMP = 0x1 16 sysNET_RT_FLAGS = 0x2 17 sysNET_RT_IFLIST = 0x3 18 sysNET_RT_IFMALIST = 0x4 19 sysNET_RT_IFLISTL = 0x5 20 ) 21 22 const ( 23 sysCTL_MAXNAME = 0x18 24 25 sysCTL_UNSPEC = 0x0 26 sysCTL_KERN = 0x1 27 sysCTL_VM = 0x2 28 sysCTL_VFS = 0x3 29 sysCTL_NET = 0x4 30 sysCTL_DEBUG = 0x5 31 sysCTL_HW = 0x6 32 sysCTL_MACHDEP = 0x7 33 sysCTL_USER = 0x8 34 sysCTL_P1003_1B = 0x9 35 ) 36 37 const ( 38 sysRTM_VERSION = 0x5 39 40 sysRTM_ADD = 0x1 41 sysRTM_DELETE = 0x2 42 sysRTM_CHANGE = 0x3 43 sysRTM_GET = 0x4 44 sysRTM_LOSING = 0x5 45 sysRTM_REDIRECT = 0x6 46 sysRTM_MISS = 0x7 47 sysRTM_LOCK = 0x8 48 sysRTM_RESOLVE = 0xb 49 sysRTM_NEWADDR = 0xc 50 sysRTM_DELADDR = 0xd 51 sysRTM_IFINFO = 0xe 52 sysRTM_NEWMADDR = 0xf 53 sysRTM_DELMADDR = 0x10 54 sysRTM_IFANNOUNCE = 0x11 55 sysRTM_IEEE80211 = 0x12 56 57 sysRTA_DST = 0x1 58 sysRTA_GATEWAY = 0x2 59 sysRTA_NETMASK = 0x4 60 sysRTA_GENMASK = 0x8 61 sysRTA_IFP = 0x10 62 sysRTA_IFA = 0x20 63 sysRTA_AUTHOR = 0x40 64 sysRTA_BRD = 0x80 65 66 sysRTAX_DST = 0x0 67 sysRTAX_GATEWAY = 0x1 68 sysRTAX_NETMASK = 0x2 69 sysRTAX_GENMASK = 0x3 70 sysRTAX_IFP = 0x4 71 sysRTAX_IFA = 0x5 72 sysRTAX_AUTHOR = 0x6 73 sysRTAX_BRD = 0x7 74 sysRTAX_MAX = 0x8 75 ) 76 77 const ( 78 sizeofIfMsghdrlFreeBSD10 = 0xb0 79 sizeofIfaMsghdrFreeBSD10 = 0x14 80 sizeofIfaMsghdrlFreeBSD10 = 0xb0 81 sizeofIfmaMsghdrFreeBSD10 = 0x10 82 sizeofIfAnnouncemsghdrFreeBSD10 = 0x18 83 84 sizeofRtMsghdrFreeBSD10 = 0x98 85 sizeofRtMetricsFreeBSD10 = 0x70 86 87 sizeofIfMsghdrFreeBSD7 = 0xa8 88 sizeofIfMsghdrFreeBSD8 = 0xa8 89 sizeofIfMsghdrFreeBSD9 = 0xa8 90 sizeofIfMsghdrFreeBSD10 = 0xa8 91 sizeofIfMsghdrFreeBSD11 = 0xa8 92 93 sizeofIfDataFreeBSD7 = 0x98 94 sizeofIfDataFreeBSD8 = 0x98 95 sizeofIfDataFreeBSD9 = 0x98 96 sizeofIfDataFreeBSD10 = 0x98 97 sizeofIfDataFreeBSD11 = 0x98 98 99 sizeofIfMsghdrlFreeBSD10Emu = 0xb0 100 sizeofIfaMsghdrFreeBSD10Emu = 0x14 101 sizeofIfaMsghdrlFreeBSD10Emu = 0xb0 102 sizeofIfmaMsghdrFreeBSD10Emu = 0x10 103 sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18 104 105 sizeofRtMsghdrFreeBSD10Emu = 0x98 106 sizeofRtMetricsFreeBSD10Emu = 0x70 107 108 sizeofIfMsghdrFreeBSD7Emu = 0xa8 109 sizeofIfMsghdrFreeBSD8Emu = 0xa8 110 sizeofIfMsghdrFreeBSD9Emu = 0xa8 111 sizeofIfMsghdrFreeBSD10Emu = 0xa8 112 sizeofIfMsghdrFreeBSD11Emu = 0xa8 113 114 sizeofIfDataFreeBSD7Emu = 0x98 115 sizeofIfDataFreeBSD8Emu = 0x98 116 sizeofIfDataFreeBSD9Emu = 0x98 117 sizeofIfDataFreeBSD10Emu = 0x98 118 sizeofIfDataFreeBSD11Emu = 0x98 119 120 sizeofSockaddrStorage = 0x80 121 sizeofSockaddrInet = 0x10 122 sizeofSockaddrInet6 = 0x1c 123 )