golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/ipv4/zsys_freebsd_arm64.go (about) 1 // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 // cgo -godefs defs_freebsd.go 3 4 package ipv4 5 6 const ( 7 sizeofSockaddrStorage = 0x80 8 sizeofSockaddrInet = 0x10 9 10 sizeofIPMreq = 0x8 11 sizeofIPMreqSource = 0xc 12 sizeofGroupReq = 0x88 13 sizeofGroupSourceReq = 0x108 14 ) 15 16 type sockaddrStorage struct { 17 Len uint8 18 Family uint8 19 X__ss_pad1 [6]uint8 20 X__ss_align int64 21 X__ss_pad2 [112]uint8 22 } 23 24 type sockaddrInet struct { 25 Len uint8 26 Family uint8 27 Port uint16 28 Addr [4]byte /* in_addr */ 29 Zero [8]uint8 30 } 31 32 type ipMreq struct { 33 Multiaddr [4]byte /* in_addr */ 34 Interface [4]byte /* in_addr */ 35 } 36 37 type ipMreqSource struct { 38 Multiaddr [4]byte /* in_addr */ 39 Sourceaddr [4]byte /* in_addr */ 40 Interface [4]byte /* in_addr */ 41 } 42 43 type groupReq struct { 44 Interface uint32 45 Group sockaddrStorage 46 } 47 48 type groupSourceReq struct { 49 Interface uint32 50 Group sockaddrStorage 51 Source sockaddrStorage 52 }