2019-08-06 11:37:38 +02:00
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
2017-06-04 14:07:03 +02:00
|
|
|
// cgo -godefs defs_openbsd.go
|
|
|
|
|
|
|
|
package ipv4
|
|
|
|
|
|
|
|
const (
|
|
|
|
sysIP_OPTIONS = 0x1
|
|
|
|
sysIP_HDRINCL = 0x2
|
|
|
|
sysIP_TOS = 0x3
|
|
|
|
sysIP_TTL = 0x4
|
|
|
|
sysIP_RECVOPTS = 0x5
|
|
|
|
sysIP_RECVRETOPTS = 0x6
|
|
|
|
sysIP_RECVDSTADDR = 0x7
|
|
|
|
sysIP_RETOPTS = 0x8
|
|
|
|
sysIP_RECVIF = 0x1e
|
|
|
|
sysIP_RECVTTL = 0x1f
|
|
|
|
|
|
|
|
sysIP_MULTICAST_IF = 0x9
|
|
|
|
sysIP_MULTICAST_TTL = 0xa
|
|
|
|
sysIP_MULTICAST_LOOP = 0xb
|
|
|
|
sysIP_ADD_MEMBERSHIP = 0xc
|
|
|
|
sysIP_DROP_MEMBERSHIP = 0xd
|
|
|
|
|
2017-06-04 14:47:24 +02:00
|
|
|
sizeofIPMreq = 0x8
|
2017-06-04 14:07:03 +02:00
|
|
|
)
|
|
|
|
|
2017-06-04 14:47:24 +02:00
|
|
|
type ipMreq struct {
|
2017-06-04 14:07:03 +02:00
|
|
|
Multiaddr [4]byte /* in_addr */
|
|
|
|
Interface [4]byte /* in_addr */
|
|
|
|
}
|