require '_h2ph_pre.ph';

unless(defined(&_LINUX_IN6_H)) {
    eval 'sub _LINUX_IN6_H () {1;}' unless defined(&_LINUX_IN6_H);
    require 'linux/types.ph';
    eval 'sub s6_addr () { ($in6_u->{u6_addr8});}' unless defined(&s6_addr);
    eval 'sub s6_addr16 () { ($in6_u->{u6_addr16});}' unless defined(&s6_addr16);
    eval 'sub s6_addr32 () { ($in6_u->{u6_addr32});}' unless defined(&s6_addr32);
    eval 'sub IPV6_FL_A_GET () {0;}' unless defined(&IPV6_FL_A_GET);
    eval 'sub IPV6_FL_A_PUT () {1;}' unless defined(&IPV6_FL_A_PUT);
    eval 'sub IPV6_FL_A_RENEW () {2;}' unless defined(&IPV6_FL_A_RENEW);
    eval 'sub IPV6_FL_F_CREATE () {1;}' unless defined(&IPV6_FL_F_CREATE);
    eval 'sub IPV6_FL_F_EXCL () {2;}' unless defined(&IPV6_FL_F_EXCL);
    eval 'sub IPV6_FL_S_NONE () {0;}' unless defined(&IPV6_FL_S_NONE);
    eval 'sub IPV6_FL_S_EXCL () {1;}' unless defined(&IPV6_FL_S_EXCL);
    eval 'sub IPV6_FL_S_PROCESS () {2;}' unless defined(&IPV6_FL_S_PROCESS);
    eval 'sub IPV6_FL_S_USER () {3;}' unless defined(&IPV6_FL_S_USER);
    eval 'sub IPV6_FL_S_ANY () {255;}' unless defined(&IPV6_FL_S_ANY);
    eval 'sub IPV6_FLOWINFO_FLOWLABEL () {0xfffff;}' unless defined(&IPV6_FLOWINFO_FLOWLABEL);
    eval 'sub IPV6_FLOWINFO_PRIORITY () {0xff00000;}' unless defined(&IPV6_FLOWINFO_PRIORITY);
    eval 'sub IPV6_PRIORITY_UNCHARACTERIZED () {0x;}' unless defined(&IPV6_PRIORITY_UNCHARACTERIZED);
    eval 'sub IPV6_PRIORITY_FILLER () {0x100;}' unless defined(&IPV6_PRIORITY_FILLER);
    eval 'sub IPV6_PRIORITY_UNATTENDED () {0x200;}' unless defined(&IPV6_PRIORITY_UNATTENDED);
    eval 'sub IPV6_PRIORITY_RESERVED1 () {0x300;}' unless defined(&IPV6_PRIORITY_RESERVED1);
    eval 'sub IPV6_PRIORITY_BULK () {0x400;}' unless defined(&IPV6_PRIORITY_BULK);
    eval 'sub IPV6_PRIORITY_RESERVED2 () {0x500;}' unless defined(&IPV6_PRIORITY_RESERVED2);
    eval 'sub IPV6_PRIORITY_INTERACTIVE () {0x600;}' unless defined(&IPV6_PRIORITY_INTERACTIVE);
    eval 'sub IPV6_PRIORITY_CONTROL () {0x700;}' unless defined(&IPV6_PRIORITY_CONTROL);
    eval 'sub IPV6_PRIORITY_8 () {0x800;}' unless defined(&IPV6_PRIORITY_8);
    eval 'sub IPV6_PRIORITY_9 () {0x900;}' unless defined(&IPV6_PRIORITY_9);
    eval 'sub IPV6_PRIORITY_10 () {0xa00;}' unless defined(&IPV6_PRIORITY_10);
    eval 'sub IPV6_PRIORITY_11 () {0xb00;}' unless defined(&IPV6_PRIORITY_11);
    eval 'sub IPV6_PRIORITY_12 () {0xc00;}' unless defined(&IPV6_PRIORITY_12);
    eval 'sub IPV6_PRIORITY_13 () {0xd00;}' unless defined(&IPV6_PRIORITY_13);
    eval 'sub IPV6_PRIORITY_14 () {0xe00;}' unless defined(&IPV6_PRIORITY_14);
    eval 'sub IPV6_PRIORITY_15 () {0xf00;}' unless defined(&IPV6_PRIORITY_15);
    eval 'sub IPPROTO_HOPOPTS () {0;}' unless defined(&IPPROTO_HOPOPTS);
    eval 'sub IPPROTO_ROUTING () {43;}' unless defined(&IPPROTO_ROUTING);
    eval 'sub IPPROTO_FRAGMENT () {44;}' unless defined(&IPPROTO_FRAGMENT);
    eval 'sub IPPROTO_ICMPV6 () {58;}' unless defined(&IPPROTO_ICMPV6);
    eval 'sub IPPROTO_NONE () {59;}' unless defined(&IPPROTO_NONE);
    eval 'sub IPPROTO_DSTOPTS () {60;}' unless defined(&IPPROTO_DSTOPTS);
    eval 'sub IPV6_TLV_PAD0 () {0;}' unless defined(&IPV6_TLV_PAD0);
    eval 'sub IPV6_TLV_PADN () {1;}' unless defined(&IPV6_TLV_PADN);
    eval 'sub IPV6_TLV_ROUTERALERT () {5;}' unless defined(&IPV6_TLV_ROUTERALERT);
    eval 'sub IPV6_TLV_JUMBO () {194;}' unless defined(&IPV6_TLV_JUMBO);
    eval 'sub IPV6_ADDRFORM () {1;}' unless defined(&IPV6_ADDRFORM);
    eval 'sub IPV6_PKTINFO () {2;}' unless defined(&IPV6_PKTINFO);
    eval 'sub IPV6_HOPOPTS () {3;}' unless defined(&IPV6_HOPOPTS);
    eval 'sub IPV6_DSTOPTS () {4;}' unless defined(&IPV6_DSTOPTS);
    eval 'sub IPV6_RTHDR () {5;}' unless defined(&IPV6_RTHDR);
    eval 'sub IPV6_PKTOPTIONS () {6;}' unless defined(&IPV6_PKTOPTIONS);
    eval 'sub IPV6_CHECKSUM () {7;}' unless defined(&IPV6_CHECKSUM);
    eval 'sub IPV6_HOPLIMIT () {8;}' unless defined(&IPV6_HOPLIMIT);
    eval 'sub IPV6_NEXTHOP () {9;}' unless defined(&IPV6_NEXTHOP);
    eval 'sub IPV6_AUTHHDR () {10;}' unless defined(&IPV6_AUTHHDR);
    eval 'sub IPV6_FLOWINFO () {11;}' unless defined(&IPV6_FLOWINFO);
    eval 'sub IPV6_UNICAST_HOPS () {16;}' unless defined(&IPV6_UNICAST_HOPS);
    eval 'sub IPV6_MULTICAST_IF () {17;}' unless defined(&IPV6_MULTICAST_IF);
    eval 'sub IPV6_MULTICAST_HOPS () {18;}' unless defined(&IPV6_MULTICAST_HOPS);
    eval 'sub IPV6_MULTICAST_LOOP () {19;}' unless defined(&IPV6_MULTICAST_LOOP);
    eval 'sub IPV6_ADD_MEMBERSHIP () {20;}' unless defined(&IPV6_ADD_MEMBERSHIP);
    eval 'sub IPV6_DROP_MEMBERSHIP () {21;}' unless defined(&IPV6_DROP_MEMBERSHIP);
    eval 'sub IPV6_ROUTER_ALERT () {22;}' unless defined(&IPV6_ROUTER_ALERT);
    eval 'sub IPV6_MTU_DISCOVER () {23;}' unless defined(&IPV6_MTU_DISCOVER);
    eval 'sub IPV6_MTU () {24;}' unless defined(&IPV6_MTU);
    eval 'sub IPV6_RECVERR () {25;}' unless defined(&IPV6_RECVERR);
    eval 'sub IPV6_PMTUDISC_DONT () {0;}' unless defined(&IPV6_PMTUDISC_DONT);
    eval 'sub IPV6_PMTUDISC_WANT () {1;}' unless defined(&IPV6_PMTUDISC_WANT);
    eval 'sub IPV6_PMTUDISC_DO () {2;}' unless defined(&IPV6_PMTUDISC_DO);
    eval 'sub IPV6_FLOWLABEL_MGR () {32;}' unless defined(&IPV6_FLOWLABEL_MGR);
    eval 'sub IPV6_FLOWINFO_SEND () {33;}' unless defined(&IPV6_FLOWINFO_SEND);
}
1;
