golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/ipv6/zsys_linux_ppc.go (about) 1 // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 // cgo -godefs defs_linux.go 3 4 package ipv6 5 6 const ( 7 sizeofKernelSockaddrStorage = 0x80 8 sizeofSockaddrInet6 = 0x1c 9 sizeofInet6Pktinfo = 0x14 10 sizeofIPv6Mtuinfo = 0x20 11 sizeofIPv6FlowlabelReq = 0x20 12 13 sizeofIPv6Mreq = 0x14 14 sizeofGroupReq = 0x84 15 sizeofGroupSourceReq = 0x104 16 17 sizeofICMPv6Filter = 0x20 18 ) 19 20 type kernelSockaddrStorage struct { 21 Family uint16 22 X__data [126]uint8 23 } 24 25 type sockaddrInet6 struct { 26 Family uint16 27 Port uint16 28 Flowinfo uint32 29 Addr [16]byte /* in6_addr */ 30 Scope_id uint32 31 } 32 33 type inet6Pktinfo struct { 34 Addr [16]byte /* in6_addr */ 35 Ifindex int32 36 } 37 38 type ipv6Mtuinfo struct { 39 Addr sockaddrInet6 40 Mtu uint32 41 } 42 43 type ipv6FlowlabelReq struct { 44 Dst [16]byte /* in6_addr */ 45 Label uint32 46 Action uint8 47 Share uint8 48 Flags uint16 49 Expires uint16 50 Linger uint16 51 X__flr_pad uint32 52 } 53 54 type ipv6Mreq struct { 55 Multiaddr [16]byte /* in6_addr */ 56 Ifindex int32 57 } 58 59 type groupReq struct { 60 Interface uint32 61 Group kernelSockaddrStorage 62 } 63 64 type groupSourceReq struct { 65 Interface uint32 66 Group kernelSockaddrStorage 67 Source kernelSockaddrStorage 68 } 69 70 type icmpv6Filter struct { 71 Data [8]uint32 72 }