github.com/Andyfoo/golang/x/net@v0.0.0-20190901054642-57c1bf301704/route/zsys_dragonfly.go (about) 1 // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 // cgo -godefs defs_dragonfly.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_MAXID = 0x4 19 ) 20 21 const ( 22 sysCTL_MAXNAME = 0xc 23 24 sysCTL_UNSPEC = 0x0 25 sysCTL_KERN = 0x1 26 sysCTL_VM = 0x2 27 sysCTL_VFS = 0x3 28 sysCTL_NET = 0x4 29 sysCTL_DEBUG = 0x5 30 sysCTL_HW = 0x6 31 sysCTL_MACHDEP = 0x7 32 sysCTL_USER = 0x8 33 sysCTL_P1003_1B = 0x9 34 sysCTL_LWKT = 0xa 35 sysCTL_MAXID = 0xb 36 ) 37 38 const ( 39 sysRTM_VERSION = 0x6 40 41 sysRTM_ADD = 0x1 42 sysRTM_DELETE = 0x2 43 sysRTM_CHANGE = 0x3 44 sysRTM_GET = 0x4 45 sysRTM_LOSING = 0x5 46 sysRTM_REDIRECT = 0x6 47 sysRTM_MISS = 0x7 48 sysRTM_LOCK = 0x8 49 sysRTM_OLDADD = 0x9 50 sysRTM_OLDDEL = 0xa 51 sysRTM_RESOLVE = 0xb 52 sysRTM_NEWADDR = 0xc 53 sysRTM_DELADDR = 0xd 54 sysRTM_IFINFO = 0xe 55 sysRTM_NEWMADDR = 0xf 56 sysRTM_DELMADDR = 0x10 57 sysRTM_IFANNOUNCE = 0x11 58 sysRTM_IEEE80211 = 0x12 59 60 sysRTA_DST = 0x1 61 sysRTA_GATEWAY = 0x2 62 sysRTA_NETMASK = 0x4 63 sysRTA_GENMASK = 0x8 64 sysRTA_IFP = 0x10 65 sysRTA_IFA = 0x20 66 sysRTA_AUTHOR = 0x40 67 sysRTA_BRD = 0x80 68 sysRTA_MPLS1 = 0x100 69 sysRTA_MPLS2 = 0x200 70 sysRTA_MPLS3 = 0x400 71 72 sysRTAX_DST = 0x0 73 sysRTAX_GATEWAY = 0x1 74 sysRTAX_NETMASK = 0x2 75 sysRTAX_GENMASK = 0x3 76 sysRTAX_IFP = 0x4 77 sysRTAX_IFA = 0x5 78 sysRTAX_AUTHOR = 0x6 79 sysRTAX_BRD = 0x7 80 sysRTAX_MPLS1 = 0x8 81 sysRTAX_MPLS2 = 0x9 82 sysRTAX_MPLS3 = 0xa 83 sysRTAX_MAX = 0xb 84 ) 85 86 const ( 87 sizeofIfMsghdrDragonFlyBSD4 = 0xb0 88 sizeofIfaMsghdrDragonFlyBSD4 = 0x14 89 sizeofIfmaMsghdrDragonFlyBSD4 = 0x10 90 sizeofIfAnnouncemsghdrDragonFlyBSD4 = 0x18 91 92 sizeofRtMsghdrDragonFlyBSD4 = 0x98 93 sizeofRtMetricsDragonFlyBSD4 = 0x70 94 95 sizeofSockaddrStorage = 0x80 96 sizeofSockaddrInet = 0x10 97 sizeofSockaddrInet6 = 0x1c 98 )