require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETIPSEC_IPSEC_VAR_H_)) {
    eval 'sub _NETIPSEC_IPSEC_VAR_H_ () {1;}' unless defined(&_NETIPSEC_IPSEC_VAR_H_);
    eval 'sub IPSEC_STAT_IN_POLVIO () {0;}' unless defined(&IPSEC_STAT_IN_POLVIO);
    eval 'sub IPSEC_STAT_OUT_POLVIO () {1;}' unless defined(&IPSEC_STAT_OUT_POLVIO);
    eval 'sub IPSEC_STAT_OUT_NOSA () {2;}' unless defined(&IPSEC_STAT_OUT_NOSA);
    eval 'sub IPSEC_STAT_OUT_NOMEM () {3;}' unless defined(&IPSEC_STAT_OUT_NOMEM);
    eval 'sub IPSEC_STAT_OUT_NOROUTE () {4;}' unless defined(&IPSEC_STAT_OUT_NOROUTE);
    eval 'sub IPSEC_STAT_OUT_INVAL () {5;}' unless defined(&IPSEC_STAT_OUT_INVAL);
    eval 'sub IPSEC_STAT_OUT_BUNDLESA () {6;}' unless defined(&IPSEC_STAT_OUT_BUNDLESA);
    eval 'sub IPSEC_STAT_MBCOALESCED () {7;}' unless defined(&IPSEC_STAT_MBCOALESCED);
    eval 'sub IPSEC_STAT_CLCOALESCED () {8;}' unless defined(&IPSEC_STAT_CLCOALESCED);
    eval 'sub IPSEC_STAT_CLCOPIED () {9;}' unless defined(&IPSEC_STAT_CLCOPIED);
    eval 'sub IPSEC_STAT_MBINSERTED () {10;}' unless defined(&IPSEC_STAT_MBINSERTED);
    eval 'sub IPSEC_STAT_SPDCACHELOOKUP () {11;}' unless defined(&IPSEC_STAT_SPDCACHELOOKUP);
    eval 'sub IPSEC_STAT_SPDCACHEMISS () {12;}' unless defined(&IPSEC_STAT_SPDCACHEMISS);
    eval 'sub IPSEC_STAT_INPUT_FRONT () {13;}' unless defined(&IPSEC_STAT_INPUT_FRONT);
    eval 'sub IPSEC_STAT_INPUT_MIDDLE () {14;}' unless defined(&IPSEC_STAT_INPUT_MIDDLE);
    eval 'sub IPSEC_STAT_INPUT_END () {15;}' unless defined(&IPSEC_STAT_INPUT_END);
    eval 'sub IPSEC_NSTATS () {16;}' unless defined(&IPSEC_NSTATS);
    eval 'sub IPSECCTL_STATS () {1;}' unless defined(&IPSECCTL_STATS);
    eval 'sub IPSECCTL_DEF_POLICY () {2;}' unless defined(&IPSECCTL_DEF_POLICY);
    eval 'sub IPSECCTL_DEF_ESP_TRANSLEV () {3;}' unless defined(&IPSECCTL_DEF_ESP_TRANSLEV);
    eval 'sub IPSECCTL_DEF_ESP_NETLEV () {4;}' unless defined(&IPSECCTL_DEF_ESP_NETLEV);
    eval 'sub IPSECCTL_DEF_AH_TRANSLEV () {5;}' unless defined(&IPSECCTL_DEF_AH_TRANSLEV);
    eval 'sub IPSECCTL_DEF_AH_NETLEV () {6;}' unless defined(&IPSECCTL_DEF_AH_NETLEV);
    if(0) {
	eval 'sub IPSECCTL_INBOUND_CALL_IKE () {7;}' unless defined(&IPSECCTL_INBOUND_CALL_IKE);
    }
    eval 'sub IPSECCTL_AH_CLEARTOS () {8;}' unless defined(&IPSECCTL_AH_CLEARTOS);
    eval 'sub IPSECCTL_AH_OFFSETMASK () {9;}' unless defined(&IPSECCTL_AH_OFFSETMASK);
    eval 'sub IPSECCTL_DFBIT () {10;}' unless defined(&IPSECCTL_DFBIT);
    eval 'sub IPSECCTL_ECN () {11;}' unless defined(&IPSECCTL_ECN);
    eval 'sub IPSECCTL_DEBUG () {12;}' unless defined(&IPSECCTL_DEBUG);
    eval 'sub IPSECCTL_ESP_RANDPAD () {13;}' unless defined(&IPSECCTL_ESP_RANDPAD);
}
1;
