// 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.// +build ignore// +godefs map struct_in_addr [4]byte /* in_addr */packageipv4/*#include <netinet/in.h>*/import"C"const(sysIP_OPTIONS=C.IP_OPTIONSsysIP_HDRINCL=C.IP_HDRINCLsysIP_TOS=C.IP_TOSsysIP_TTL=C.IP_TTLsysIP_RECVOPTS=C.IP_RECVOPTSsysIP_RECVRETOPTS=C.IP_RECVRETOPTSsysIP_RECVDSTADDR=C.IP_RECVDSTADDRsysIP_RETOPTS=C.IP_RETOPTSsysIP_RECVIF=C.IP_RECVIFsysIP_RECVTTL=C.IP_RECVTTLsysIP_MULTICAST_IF=C.IP_MULTICAST_IFsysIP_MULTICAST_TTL=C.IP_MULTICAST_TTLsysIP_MULTICAST_LOOP=C.IP_MULTICAST_LOOPsysIP_MULTICAST_VIF=C.IP_MULTICAST_VIFsysIP_ADD_MEMBERSHIP=C.IP_ADD_MEMBERSHIPsysIP_DROP_MEMBERSHIP=C.IP_DROP_MEMBERSHIPsizeofIPMreq=C.sizeof_struct_ip_mreq)typeipMreqC.struct_ip_mreq