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