1// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build ignore
6// +build ignore
7
8// +godefs map struct_in6_addr [16]byte /* in6_addr */
9
10package ipv6
11
12/*
13#include <sys/param.h>
14#include <sys/socket.h>
15
16#include <netinet/in.h>
17#include <netinet/icmp6.h>
18*/
19import "C"
20
21const (
22	sizeofSockaddrInet6 = C.sizeof_struct_sockaddr_in6
23	sizeofInet6Pktinfo  = C.sizeof_struct_in6_pktinfo
24	sizeofIPv6Mtuinfo   = C.sizeof_struct_ip6_mtuinfo
25
26	sizeofIPv6Mreq = C.sizeof_struct_ipv6_mreq
27
28	sizeofICMPv6Filter = C.sizeof_struct_icmp6_filter
29)
30
31type sockaddrInet6 C.struct_sockaddr_in6
32
33type inet6Pktinfo C.struct_in6_pktinfo
34
35type ipv6Mtuinfo C.struct_ip6_mtuinfo
36
37type ipv6Mreq C.struct_ipv6_mreq
38
39type icmpv6Filter C.struct_icmp6_filter
40