golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/ipv4/defs_dragonfly.go (about) 1 // Copyright 2014 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build ignore 6 7 // +godefs map struct_in_addr [4]byte /* in_addr */ 8 9 package ipv4 10 11 /* 12 #include <netinet/in.h> 13 */ 14 import "C" 15 16 const ( 17 sizeofIPMreq = C.sizeof_struct_ip_mreq 18 ) 19 20 type ipMreq C.struct_ip_mreq