github.com/lianghucheng/zrddz@v0.0.0-20200923083010-c71f680932e2/src/golang.org/x/net/ipv4/zsys_netbsd.go (about) 1 // Created by cgo -godefs - DO NOT EDIT 2 // cgo -godefs defs_netbsd.go 3 4 package ipv4 5 6 const ( 7 sysIP_OPTIONS = 0x1 8 sysIP_HDRINCL = 0x2 9 sysIP_TOS = 0x3 10 sysIP_TTL = 0x4 11 sysIP_RECVOPTS = 0x5 12 sysIP_RECVRETOPTS = 0x6 13 sysIP_RECVDSTADDR = 0x7 14 sysIP_RETOPTS = 0x8 15 sysIP_RECVIF = 0x14 16 sysIP_RECVTTL = 0x17 17 18 sysIP_MULTICAST_IF = 0x9 19 sysIP_MULTICAST_TTL = 0xa 20 sysIP_MULTICAST_LOOP = 0xb 21 sysIP_ADD_MEMBERSHIP = 0xc 22 sysIP_DROP_MEMBERSHIP = 0xd 23 24 sizeofIPMreq = 0x8 25 ) 26 27 type ipMreq struct { 28 Multiaddr [4]byte /* in_addr */ 29 Interface [4]byte /* in_addr */ 30 }