github.com/binkynet/BinkyNet@v1.12.1-0.20240421190447-da4e34c20be0/proto_vendor/golang.org/x/net/ipv4/zsys_dragonfly.go (about)

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs defs_dragonfly.go
     3  
     4  package ipv4
     5  
     6  const (
     7  	sysIP_OPTIONS     = 0x1
     8  	sysIP_HDRINCL     = 0x2
     9  	sysIP_TOS         = 0x3
    10  	sysIP_TTL         = 0x4
    11  	sysIP_RECVOPTS    = 0x5
    12  	sysIP_RECVRETOPTS = 0x6
    13  	sysIP_RECVDSTADDR = 0x7
    14  	sysIP_RETOPTS     = 0x8
    15  	sysIP_RECVIF      = 0x14
    16  	sysIP_RECVTTL     = 0x41
    17  
    18  	sysIP_MULTICAST_IF    = 0x9
    19  	sysIP_MULTICAST_TTL   = 0xa
    20  	sysIP_MULTICAST_LOOP  = 0xb
    21  	sysIP_MULTICAST_VIF   = 0xe
    22  	sysIP_ADD_MEMBERSHIP  = 0xc
    23  	sysIP_DROP_MEMBERSHIP = 0xd
    24  
    25  	sizeofIPMreq = 0x8
    26  )
    27  
    28  type ipMreq struct {
    29  	Multiaddr [4]byte /* in_addr */
    30  	Interface [4]byte /* in_addr */
    31  }