require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETINET_IP_CARP_H_)) {
    eval 'sub _NETINET_IP_CARP_H_ () {1;}' unless defined(&_NETINET_IP_CARP_H_);
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : undef) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : undef)) {
    }
    if((defined(&BYTE_ORDER) ? &BYTE_ORDER : undef) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : undef)) {
    }
    if(defined(&__CTASSERT)) {
    }
    eval 'sub CARP_DFLTTL () {255;}' unless defined(&CARP_DFLTTL);
    eval 'sub CARP_VERSION () {2;}' unless defined(&CARP_VERSION);
    eval 'sub CARP_ADVERTISEMENT () {0x1;}' unless defined(&CARP_ADVERTISEMENT);
    eval 'sub CARP_KEY_LEN () {20;}' unless defined(&CARP_KEY_LEN);
    eval 'sub CARP_DFLTINTV () {1;}' unless defined(&CARP_DFLTINTV);
    eval 'sub CARP_STAT_IPACKETS () {0;}' unless defined(&CARP_STAT_IPACKETS);
    eval 'sub CARP_STAT_IPACKETS6 () {1;}' unless defined(&CARP_STAT_IPACKETS6);
    eval 'sub CARP_STAT_BADIF () {2;}' unless defined(&CARP_STAT_BADIF);
    eval 'sub CARP_STAT_BADTTL () {3;}' unless defined(&CARP_STAT_BADTTL);
    eval 'sub CARP_STAT_HDROPS () {4;}' unless defined(&CARP_STAT_HDROPS);
    eval 'sub CARP_STAT_BADSUM () {5;}' unless defined(&CARP_STAT_BADSUM);
    eval 'sub CARP_STAT_BADVER () {6;}' unless defined(&CARP_STAT_BADVER);
    eval 'sub CARP_STAT_BADLEN () {7;}' unless defined(&CARP_STAT_BADLEN);
    eval 'sub CARP_STAT_BADAUTH () {8;}' unless defined(&CARP_STAT_BADAUTH);
    eval 'sub CARP_STAT_BADVHID () {9;}' unless defined(&CARP_STAT_BADVHID);
    eval 'sub CARP_STAT_BADADDRS () {10;}' unless defined(&CARP_STAT_BADADDRS);
    eval 'sub CARP_STAT_OPACKETS () {11;}' unless defined(&CARP_STAT_OPACKETS);
    eval 'sub CARP_STAT_OPACKETS6 () {12;}' unless defined(&CARP_STAT_OPACKETS6);
    eval 'sub CARP_STAT_ONOMEM () {13;}' unless defined(&CARP_STAT_ONOMEM);
    eval 'sub CARP_STAT_OSTATES () {14;}' unless defined(&CARP_STAT_OSTATES);
    eval 'sub CARP_STAT_PREEMPT () {15;}' unless defined(&CARP_STAT_PREEMPT);
    eval 'sub CARP_NSTATS () {16;}' unless defined(&CARP_NSTATS);
    eval 'sub CARPDEVNAMSIZ () {16;}' unless defined(&CARPDEVNAMSIZ);
    if(defined(&IFNAMSIZ)) {
	if((defined(&CARPDEVNAMSIZ) ? &CARPDEVNAMSIZ : undef) != (defined(&IFNAMSIZ) ? &IFNAMSIZ : undef)) {
	}
    }
    eval 'sub CARP_STATES () {"INIT", "BACKUP", "MASTER";}' unless defined(&CARP_STATES);
    eval 'sub CARP_MAXSTATE () {2;}' unless defined(&CARP_MAXSTATE);
    eval 'sub CARPCTL_ALLOW () {1;}' unless defined(&CARPCTL_ALLOW);
    eval 'sub CARPCTL_PREEMPT () {2;}' unless defined(&CARPCTL_PREEMPT);
    eval 'sub CARPCTL_LOG () {3;}' unless defined(&CARPCTL_LOG);
    eval 'sub CARPCTL_ARPBALANCE () {4;}' unless defined(&CARPCTL_ARPBALANCE);
    eval 'sub CARPCTL_STATS () {5;}' unless defined(&CARPCTL_STATS);
    eval 'sub CARPCTL_MAXID () {6;}' unless defined(&CARPCTL_MAXID);
    if(defined(&_KERNEL)) {
    }
}
1;
