require '_h2ph_pre.ph';

unless(defined(&_IPV6_H)) {
    eval 'sub _IPV6_H () {1;}' unless defined(&_IPV6_H);
    require 'linux/in6.ph';
    require 'asm/byteorder.ph';
    eval 'sub IPV6_MIN_MTU () {1280;}' unless defined(&IPV6_MIN_MTU);
    eval 'sub IPV6_SRCRT_STRICT () {0x1;}' unless defined(&IPV6_SRCRT_STRICT);
    eval 'sub IPV6_SRCRT_TYPE_0 () {0;}' unless defined(&IPV6_SRCRT_TYPE_0);
    eval 'sub ipv6_destopt_hdr () { &ipv6_opt_hdr;}' unless defined(&ipv6_destopt_hdr);
    eval 'sub ipv6_hopopt_hdr () { &ipv6_opt_hdr;}' unless defined(&ipv6_hopopt_hdr);
    eval 'sub rt0_type () { ($rt_hdr->{type});;}' unless defined(&rt0_type);
    if(defined( &__LITTLE_ENDIAN_BITFIELD)) {
    }
 elsif(defined( &__BIG_ENDIAN_BITFIELD)) {
    } else {
	die("Please fix <asm/byteorder.h>");
    }
}
1;
