require '_h2ph_pre.ph';

no warnings 'redefine';

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 : 0) == (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : 0)) {
    }
    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 CARPDEVNAMSIZ () {16;}' unless defined(&CARPDEVNAMSIZ);
    if(defined(&IFNAMSIZ)) {
	if((defined(&CARPDEVNAMSIZ) ? &CARPDEVNAMSIZ : 0) != (defined(&IFNAMSIZ) ? &IFNAMSIZ : 0)) {
	}
    }
    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_MAXID () {5;}' unless defined(&CARPCTL_MAXID);
    eval 'sub CARPCTL_NAMES () {{ { 0, 0}, { "allow",  &CTLTYPE_INT }, { "preempt",  &CTLTYPE_INT }, { "log",  &CTLTYPE_INT }, { "arpbalance",  &CTLTYPE_INT }, };}' unless defined(&CARPCTL_NAMES);
    if(defined(&_KERNEL)) {
    }
}
1;
