David K. Bainbridge | 215e024 | 2017-09-05 23:18:24 -0700 | [diff] [blame^] | 1 | // Created by 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 | } |