| // Copyright 2014 The Go Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file. | |
| //go:build ignore | |
| // +godefs map struct_in_addr [4]byte /* in_addr */ | |
| package ipv4 | |
| /* | |
| #include <netinet/in.h> | |
| */ | |
| import "C" | |
| const ( | |
| sizeofIPMreq = C.sizeof_struct_ip_mreq | |
| ) | |
| type ipMreq C.struct_ip_mreq |