github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/net/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 // +build ignore 7 8 // +godefs map struct_in_addr [4]byte /* in_addr */ 9 10 package ipv4 11 12 /* 13 #include <netinet/in.h> 14 */ 15 import "C" 16 17 const ( 18 sizeofIPMreq = C.sizeof_struct_ip_mreq 19 ) 20 21 type ipMreq C.struct_ip_mreq